wok-next view ypserv/receipt @ rev 20555
Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 17:43:57 2018 +0300 (2018-04-06) |
parents | 617dbdeb6f7e |
children | d6378d455338 |
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 patch -Np1 -i $stuff/confpost.patch
18 ./configure \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install || return 1
23 # Copy config files
24 mkdir -p $install/etc/
25 cp etc/ypserv.conf etc/timezone etc/netmasks etc/netgroup \
26 $install/etc/
28 # Copy initscript
29 install -Dm755 $stuff/ypserv $install/etc/init.d/ypserv
31 # Copy and fix security file
32 cp $src/etc/securenets $install/var/yp/
33 sed -i 's/^0.0.0.0/#0.0.0.0/' $install/var/yp/securenets
34 }
36 genpkg_rules() {
37 copy @std @dev
38 DEPENDS="gdbm portmap"
39 }