wok annotate ypserv/receipt @ rev 23269
updated oxygen-gtk (1.4.5 -> 1.4.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 28 12:49:07 2020 +0100 (2020-03-28) |
parents | 6b1be3598c12 |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@5679 | 1 # SliTaz package receipt. |
pascal@5679 | 2 |
pascal@5679 | 3 PACKAGE="ypserv" |
slaxemulator@11872 | 4 VERSION="2.27" |
pascal@5679 | 5 CATEGORY="network" |
pascal@5679 | 6 SHORT_DESC="Yellow pages server (v2)." |
pascal@5679 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
slaxemulator@11872 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@11872 | 10 WEB_SITE="http://www.linux-nis.org/" |
pascal@15362 | 11 WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL" |
pascal@15362 | 12 |
erjo@11349 | 13 DEPENDS="gdbm portmap" |
pascal@5679 | 14 BUILD_DEPENDS="gdbm-dev" |
pascal@5679 | 15 |
pascal@5679 | 16 # Rules to configure and make the package. |
pascal@5679 | 17 compile_rules() |
pascal@5679 | 18 { |
pascal@5679 | 19 cd $src |
slaxemulator@11872 | 20 patch -Np1 -i $stuff/confpost.patch |
slaxemulator@11872 | 21 ./configure \ |
slaxemulator@11872 | 22 $CONFIGURE_ARGS && |
pascal@5679 | 23 make && |
slaxemulator@11872 | 24 make DESTDIR=$DESTDIR install |
pascal@5679 | 25 } |
pascal@5679 | 26 |
pascal@5679 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5679 | 28 genpkg_rules() |
pascal@5679 | 29 { |
erjo@11349 | 30 mkdir -p $fs/usr $fs/etc/init.d |
pascal@15362 | 31 cp -a $install/usr/sbin $fs/usr |
pascal@15362 | 32 cp -a $install/usr/lib $fs/usr |
pascal@15362 | 33 cp -a $install/usr/include $fs/usr |
pascal@15362 | 34 cp -a $install/var $fs |
erjo@11349 | 35 |
erjo@11349 | 36 # Copy config files |
erjo@11349 | 37 for file in ypserv.conf timezone netmasks netgroup |
erjo@11349 | 38 do |
erjo@11349 | 39 cp -a $src/etc/$fle $fs/ |
erjo@11349 | 40 done |
erjo@11349 | 41 |
erjo@11349 | 42 # Copy initscript |
erjo@11349 | 43 cp $stuff/ypserv $fs/etc/init.d |
erjo@11349 | 44 |
erjo@11349 | 45 # Copy and fix security file |
erjo@11349 | 46 cp $src/etc/securenets $fs/var/yp |
erjo@11349 | 47 sed -i 's/^0.0.0.0/#0.0.0.0/' $fs/var/yp/securenets |
pascal@5679 | 48 } |