libparserutils: fix to build/install properly.

This commit is contained in:
davehome 2012-02-23 12:25:30 -07:00
parent 6d6a68fc38
commit 884806b810
3 changed files with 10 additions and 3 deletions

View file

@ -1,5 +1,6 @@
# Template file for 'libparserutils-devel'.
#
revision=1
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
@ -11,5 +12,5 @@ do_install() {
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove "usr/lib/*.a" usr/lib
}

View file

@ -0,0 +1 @@
libc.so.6

View file

@ -1,6 +1,7 @@
# Template build file for 'libnsgif'.
pkgname=libparserutils
version=0.1.1
revision=1
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
short_desc="Library for building efficient parsers, written in C."
maintainer="davehome <davehome@redthumb.info.tm>"
@ -28,9 +29,13 @@ Add_dependency build sed
Add_dependency build perl
do_build() {
make ${makejobs}
make ${makejobs} COMPONENT_TYPE=lib-shared
make ${makejobs} COMPONENT_TYPE=lib-static
}
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
}