wok-next view ypserv/receipt @ rev 20767
mediawiki: up (1.30.0); mt-daapd, nagios: tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 12:12:40 2018 +0300 (2018-06-06) |
parents | d43bf7aae921 |
children | d5aab818505e |
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=$DESTDIR 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="gdbm portmap"
38 }