wok view 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
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 }