wok-current annotate ypbind-mt/receipt @ rev 12803
linux: dep on kmod for i486 and handle arm ARCH
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 00:04:09 2012 +0200 (2012-05-19) |
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 } |