wok view ypserv/receipt @ rev 16958
Add mate-common-dev and mate-desktop-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Jul 28 20:21:05 2014 -0300 (2014-07-28) |
parents | 6b1be3598c12 |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.linux-nis.org/"
11 WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
13 DEPENDS="gdbm portmap"
14 BUILD_DEPENDS="gdbm-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/confpost.patch
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $fs/etc/init.d
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 cp -a $install/usr/include $fs/usr
34 cp -a $install/var $fs
36 # Copy config files
37 for file in ypserv.conf timezone netmasks netgroup
38 do
39 cp -a $src/etc/$fle $fs/
40 done
42 # Copy initscript
43 cp $stuff/ypserv $fs/etc/init.d
45 # Copy and fix security file
46 cp $src/etc/securenets $fs/var/yp
47 sed -i 's/^0.0.0.0/#0.0.0.0/' $fs/var/yp/securenets
48 }