wok-next diff ypserv/receipt @ rev 13920

Up pktstat (1.8.5)
author Paul Issott <paul@slitaz.org>
date Fri Jan 25 20:30:21 2013 +0000 (2013-01-25)
parents c994a5c94f9d
children 617dbdeb6f7e
line diff
     1.1 --- a/ypserv/receipt	Tue Nov 29 01:25:59 2011 +0100
     1.2 +++ b/ypserv/receipt	Fri Jan 25 20:30:21 2013 +0000
     1.3 @@ -1,25 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ypserv"
     1.7 -VERSION="2.23"
     1.8 +VERSION="2.27"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Yellow pages server (v2)."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://www.kernel.org/pub/linux/utils/net/NIS/"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.linux-nis.org/"
    1.16  DEPENDS="gdbm portmap"
    1.17  BUILD_DEPENDS="gdbm-dev"
    1.18 -WGET_URL="$WEB_SITE/$TARBALL"
    1.19 +WGET_URL="$WEB_SITE/download/$PACKAGE/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.26 -	--mandir=/usr/share/man \
    1.27 -	$CONFIGURE_ARGS &&
    1.28 +	patch -Np1 -i $stuff/confpost.patch
    1.29 +	./configure \
    1.30 +		$CONFIGURE_ARGS &&
    1.31  	make &&
    1.32 -	make DESTDIR=$PWD/_pkg install
    1.33 +	make DESTDIR=$DESTDIR install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.