wok annotate libsigsegv/receipt @ rev 17145

libnxml: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 12:55:03 2014 +0200 (2014-09-10)
parents b35689fc665a
children 77a6f66653ab
rev   line source
paul@4578 1 # SliTaz package receipt.
paul@4578 2
paul@4578 3 PACKAGE="libsigsegv"
paul@7799 4 VERSION="2.9"
paul@4578 5 CATEGORY="development"
paul@4578 6 SHORT_DESC="Library for handling page faults in user mode."
paul@4578 7 MAINTAINER="paul@slitaz.org"
pascal@15482 8 LICENSE="GPL2"
paul@4578 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4578 10 WEB_SITE="http://www.gnu.org/software/libsigsegv/"
paul@4578 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@4578 12
pascal@15482 13 DEPENDS=""
pascal@15482 14
paul@4578 15 # Rules to configure and make the package.
paul@4578 16 compile_rules()
paul@4578 17 {
paul@4578 18 cd $src
paul@4578 19 ./configure \
paul@4578 20 --prefix=/usr \
paul@4578 21 --infodir=/usr/share/info \
paul@4578 22 --mandir=/usr/share/man \
paul@4578 23 $CONFIGURE_ARGS &&
pascal@15482 24 make && make DESTDIR=$DESTDIR install
paul@4578 25 }
paul@4578 26
paul@4578 27 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4578 28 genpkg_rules()
paul@4578 29 {
paul@4578 30 mkdir -p $fs/usr/lib
pascal@15482 31 cp -a $install/usr/lib $fs/usr
pascal@15482 32 cp -a $install/usr/include $fs/usr
paul@4578 33 }
paul@4578 34