wok annotate libtirpc/receipt @ rev 16223
scim: fix post_install chroot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 06:44:58 2014 +0000 (2014-04-01) |
parents | f2b2d2f2961b |
children | ac2ee8823dfa |
rev | line source |
---|---|
pascal@6249 | 1 # SliTaz package receipt. |
pascal@6249 | 2 |
pascal@6249 | 3 PACKAGE="libtirpc" |
pascal@6249 | 4 VERSION="0.2.1" |
pascal@6249 | 5 CATEGORY="system-tools" |
pascal@6249 | 6 SHORT_DESC="Transport-Independent RPC library." |
pascal@6249 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
pascal@6249 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6249 | 10 WEB_SITE="http://libtirpc.sourceforge.net/" |
pascal@6249 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6249 | 12 |
pascal@6249 | 13 # Rules to configure and make the package. |
pascal@6249 | 14 compile_rules() |
pascal@6249 | 15 { |
pascal@6249 | 16 cd $src |
pascal@6249 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6249 | 18 --mandir=/usr/share/man \ |
pascal@6249 | 19 $CONFIGURE_ARGS && |
pascal@6249 | 20 make && |
pascal@15482 | 21 make DESTDIR=$DESTDIR install |
pascal@6249 | 22 } |
pascal@6249 | 23 |
pascal@6249 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6249 | 25 genpkg_rules() |
pascal@6249 | 26 { |
pascal@6249 | 27 mkdir -p $fs/usr/lib |
pascal@15482 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15482 | 29 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@15482 | 30 cp -a $install/etc $fs |
pascal@6249 | 31 } |