wok-stable annotate libtirpc/receipt @ rev 11559
Add mp3gain form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:13 2011 +0100 (2011-12-25) |
parents | |
children |
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@6249 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@6249 | 9 WEB_SITE="http://libtirpc.sourceforge.net/" |
pascal@6249 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6249 | 11 |
pascal@6249 | 12 # Rules to configure and make the package. |
pascal@6249 | 13 compile_rules() |
pascal@6249 | 14 { |
pascal@6249 | 15 cd $src |
pascal@6249 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@6249 | 17 --mandir=/usr/share/man \ |
pascal@6249 | 18 $CONFIGURE_ARGS && |
pascal@6249 | 19 make && |
pascal@6249 | 20 make DESTDIR=$PWD/_pkg install |
pascal@6249 | 21 } |
pascal@6249 | 22 |
pascal@6249 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@6249 | 24 genpkg_rules() |
pascal@6249 | 25 { |
pascal@6249 | 26 mkdir -p $fs/usr/lib |
pascal@6249 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@6249 | 28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pascal@6249 | 29 cp -a $_pkg/etc $fs |
pascal@6249 | 30 } |