wok-next annotate ypserv/receipt @ rev 21707

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