wok-next view ypserv/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ypserv"
4 VERSION="2.27"
5 CATEGORY="network"
6 SHORT_DESC="Yellow pages server (v2)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.linux-nis.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gdbm-dev"
16 compile_rules() {
17 ./configure \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$install install || return 1
22 # Copy config files
23 mkdir -p $install/etc/
24 cp etc/ypserv.conf etc/timezone etc/netmasks etc/netgroup \
25 $install/etc/
27 # Copy initscript
28 install -Dm755 $stuff/ypserv $install/etc/init.d/ypserv
30 # Copy and fix security file
31 cp $src/etc/securenets $install/var/yp/
32 sed -i 's/^0.0.0.0/#0.0.0.0/' $install/var/yp/securenets
33 }
35 genpkg_rules() {
36 copy @std @dev
37 DEPENDS="libgdbm portmap"
38 }