From 884806b8101160f929aff49fb46eb448deab91fa Mon Sep 17 00:00:00 2001 From: davehome Date: Thu, 23 Feb 2012 12:25:30 -0700 Subject: [PATCH] libparserutils: fix to build/install properly. --- srcpkgs/libparserutils/libparserutils-devel.template | 3 ++- srcpkgs/libparserutils/libparserutils.rshlibs | 1 + srcpkgs/libparserutils/template | 9 +++++++-- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/libparserutils/libparserutils.rshlibs diff --git a/srcpkgs/libparserutils/libparserutils-devel.template b/srcpkgs/libparserutils/libparserutils-devel.template index b42678aaaae..be063de3b88 100644 --- a/srcpkgs/libparserutils/libparserutils-devel.template +++ b/srcpkgs/libparserutils/libparserutils-devel.template @@ -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 } diff --git a/srcpkgs/libparserutils/libparserutils.rshlibs b/srcpkgs/libparserutils/libparserutils.rshlibs new file mode 100644 index 00000000000..631aa1dda40 --- /dev/null +++ b/srcpkgs/libparserutils/libparserutils.rshlibs @@ -0,0 +1 @@ +libc.so.6 diff --git a/srcpkgs/libparserutils/template b/srcpkgs/libparserutils/template index fdcddfc1431..c8d8f2a65eb 100644 --- a/srcpkgs/libparserutils/template +++ b/srcpkgs/libparserutils/template @@ -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 " @@ -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 }