wok annotate ypbind-mt/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | |
children | 617dbdeb6f7e |
rev | line source |
---|---|
pascal@5681 | 1 # SliTaz package receipt. |
pascal@5681 | 2 |
pascal@5681 | 3 PACKAGE="ypbind-mt" |
pascal@5681 | 4 VERSION="1.31" |
pascal@5681 | 5 CATEGORY="network" |
pascal@5681 | 6 SHORT_DESC="Yellow pages client daemon" |
pascal@5681 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@5681 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@5681 | 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/" |
pascal@5681 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@5681 | 11 |
pascal@5681 | 12 # Rules to configure and make the package. |
pascal@5681 | 13 compile_rules() |
pascal@5681 | 14 { |
pascal@5681 | 15 cd $src |
pascal@5681 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5681 | 17 --mandir=/usr/share/man \ |
pascal@5681 | 18 $CONFIGURE_ARGS && |
pascal@5681 | 19 make && |
pascal@5681 | 20 make DESTDIR=$PWD/_pkg install |
pascal@5681 | 21 } |
pascal@5681 | 22 |
pascal@5681 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5681 | 24 genpkg_rules() |
pascal@5681 | 25 { |
pascal@5681 | 26 mkdir -p $fs/usr |
pascal@5681 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@5681 | 28 } |