wok-next view ypserv/receipt @ rev 11109

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