wok rev 22325
updated yp-tools (2.12 -> 4.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 07:49:52 2019 +0100 (2019-11-15) |
parents | 7c5249848026 |
children | 2850fe3df53d |
files | yp-tools/receipt |
line diff
1.1 --- a/yp-tools/receipt Thu Nov 14 17:27:25 2019 +0100 1.2 +++ b/yp-tools/receipt Fri Nov 15 07:49:52 2019 +0100 1.3 @@ -1,22 +1,27 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="yp-tools" 1.7 -VERSION="2.12" 1.8 +VERSION="4.2.3" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Yellow pages tools." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://github.com/thkukuk/yp-tools" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/" 1.17 -WGET_URL="$WEB_SITE/$TARBALL" 1.18 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.19 + 1.20 +BUILD_DEPENDS="autoconf" 1.21 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - cd $src 1.26 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.27 - --mandir=/usr/share/man \ 1.28 - $CONFIGURE_ARGS && 1.29 + ./autogen.sh && 1.30 + ./configure \ 1.31 + --prefix=/usr \ 1.32 + --infodir=/usr/share/info \ 1.33 + --mandir=/usr/share/man \ 1.34 + $CONFIGURE_ARGS && 1.35 make && 1.36 make DESTDIR=$DESTDIR install 1.37 } 1.38 @@ -25,7 +30,8 @@ 1.39 genpkg_rules() 1.40 { 1.41 mkdir -p $fs/usr 1.42 - cp -a $install/usr/sbin $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/var $fs 1.45 + 1.46 + cp -a $install/usr/sbin $fs/usr 1.47 + cp -a $install/usr/bin $fs/usr 1.48 + cp -a $install/var $fs 1.49 }