libparserutils: fix to build/install properly.
This commit is contained in:
parent
6d6a68fc38
commit
884806b810
3 changed files with 10 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
# Template file for 'libparserutils-devel'.
|
# Template file for 'libparserutils-devel'.
|
||||||
#
|
#
|
||||||
|
revision=1
|
||||||
short_desc="${sourcepkg} development files"
|
short_desc="${sourcepkg} development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
@ -11,5 +12,5 @@ do_install() {
|
||||||
|
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
vmove "usr/lib/*.a" usr/lib
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/libparserutils/libparserutils.rshlibs
Normal file
1
srcpkgs/libparserutils/libparserutils.rshlibs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
libc.so.6
|
|
@ -1,6 +1,7 @@
|
||||||
# Template build file for 'libnsgif'.
|
# Template build file for 'libnsgif'.
|
||||||
pkgname=libparserutils
|
pkgname=libparserutils
|
||||||
version=0.1.1
|
version=0.1.1
|
||||||
|
revision=1
|
||||||
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
|
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
|
||||||
short_desc="Library for building efficient parsers, written in C."
|
short_desc="Library for building efficient parsers, written in C."
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
@ -28,9 +29,13 @@ Add_dependency build sed
|
||||||
Add_dependency build perl
|
Add_dependency build perl
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs} COMPONENT_TYPE=lib-shared
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-static
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make ${makejobs} PREFIX=/usr DESTDIR=${DESTDIR} install
|
make ${makejobs} COMPONENT_TYPE=lib-shared \
|
||||||
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-static \
|
||||||
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue