wok-next view ypserv/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d6378d455338 |
children | 0ed3f456a542 |
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="gdbm portmap"
38 }