wok-next diff ypserv/receipt @ rev 19509

syslinux: create /etc/slitaz-version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 21 09:32:06 2016 +0100 (2016-11-21)
parents 6b1be3598c12
children d43bf7aae921
line diff
     1.1 --- a/ypserv/receipt	Mon Feb 27 18:17:35 2012 -0500
     1.2 +++ b/ypserv/receipt	Mon Nov 21 09:32:06 2016 +0100
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Yellow pages server (v2)."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://www.linux-nis.org/"
    1.10 +WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
    1.11 +
    1.12  DEPENDS="gdbm portmap"
    1.13  BUILD_DEPENDS="gdbm-dev"
    1.14 -WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18 @@ -26,10 +28,10 @@
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr $fs/etc/init.d
    1.22 -	cp -a $_pkg/usr/sbin $fs/usr
    1.23 -	cp -a $_pkg/usr/lib $fs/usr
    1.24 -	cp -a $_pkg/usr/include $fs/usr
    1.25 -	cp -a $_pkg/var $fs
    1.26 +	cp -a $install/usr/sbin $fs/usr
    1.27 +	cp -a $install/usr/lib $fs/usr
    1.28 +	cp -a $install/usr/include $fs/usr
    1.29 +	cp -a $install/var $fs
    1.30  	
    1.31  	# Copy config files
    1.32  	for  file in ypserv.conf timezone netmasks netgroup