wok annotate ypserv/receipt @ rev 10248

Up: nitrogen to 1.5.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 02:17:14 2011 +0000 (2011-05-21)
parents
children c994a5c94f9d
rev   line source
pascal@5679 1 # SliTaz package receipt.
pascal@5679 2
pascal@5679 3 PACKAGE="ypserv"
pascal@5679 4 VERSION="2.23"
pascal@5679 5 CATEGORY="network"
pascal@5679 6 SHORT_DESC="Yellow pages server (v2)."
pascal@5679 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5679 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5679 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
pascal@5679 10 DEPENDS="gdbm"
pascal@5679 11 BUILD_DEPENDS="gdbm-dev"
pascal@5679 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@5679 13
pascal@5679 14 # Rules to configure and make the package.
pascal@5679 15 compile_rules()
pascal@5679 16 {
pascal@5679 17 cd $src
pascal@5679 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@5679 19 --mandir=/usr/share/man \
pascal@5679 20 $CONFIGURE_ARGS &&
pascal@5679 21 make &&
pascal@5679 22 make DESTDIR=$PWD/_pkg install
pascal@5679 23 }
pascal@5679 24
pascal@5679 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5679 26 genpkg_rules()
pascal@5679 27 {
pascal@5679 28 mkdir -p $fs/usr
pascal@5679 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@5679 30 cp -a $_pkg/usr/lib $fs/usr
pascal@5679 31 cp -a $_pkg/usr/include $fs/usr
pascal@5679 32 cp -a $_pkg/var $fs
pascal@5679 33 }