wok-current annotate yp-tools/receipt @ rev 25411

updated winetricks (20200412 -> 20220411)
author Hans-G?nter Theisgen
date Thu Aug 04 07:24:24 2022 +0100 (2022-08-04)
parents d443265acbc1
children
rev   line source
pascal@5680 1 # SliTaz package receipt.
pascal@5680 2
pascal@5680 3 PACKAGE="yp-tools"
Hans-G?nter@22325 4 VERSION="4.2.3"
pascal@5680 5 CATEGORY="network"
pascal@5680 6 SHORT_DESC="Yellow pages tools."
pascal@5680 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15362 8 LICENSE="GPL2"
Hans-G?nter@22325 9 WEB_SITE="https://github.com/thkukuk/yp-tools"
Hans-G?nter@22325 10
pascal@5680 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22325 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
Hans-G?nter@22325 13
pascal@23623 14 BUILD_DEPENDS="libtool"
pascal@5680 15
pascal@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@5680 22 # Rules to configure and make the package.
pascal@5680 23 compile_rules()
pascal@5680 24 {
Hans-G?nter@22325 25 ./autogen.sh &&
Hans-G?nter@22325 26 ./configure \
Hans-G?nter@22325 27 --prefix=/usr \
Hans-G?nter@22325 28 --infodir=/usr/share/info \
Hans-G?nter@22325 29 --mandir=/usr/share/man \
Hans-G?nter@22325 30 $CONFIGURE_ARGS &&
pascal@5680 31 make &&
pascal@15362 32 make DESTDIR=$DESTDIR install
pascal@5680 33 }
pascal@5680 34
pascal@5680 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5680 36 genpkg_rules()
pascal@5680 37 {
pascal@5680 38 mkdir -p $fs/usr
Hans-G?nter@22325 39
Hans-G?nter@22325 40 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22325 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22325 42 cp -a $install/var $fs
pascal@5680 43 }