wok annotate yp-tools/receipt @ rev 23757

fusecloop/extract_compressed_fs: fix v2 convertion
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 17:31:45 2020 +0000 (2020-05-02)
parents 28641e299609
children 5ea0ce1cecc0
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@5680 16 # Rules to configure and make the package.
pascal@5680 17 compile_rules()
pascal@5680 18 {
Hans-G?nter@22325 19 ./autogen.sh &&
Hans-G?nter@22325 20 ./configure \
Hans-G?nter@22325 21 --prefix=/usr \
Hans-G?nter@22325 22 --infodir=/usr/share/info \
Hans-G?nter@22325 23 --mandir=/usr/share/man \
Hans-G?nter@22325 24 $CONFIGURE_ARGS &&
pascal@5680 25 make &&
pascal@15362 26 make DESTDIR=$DESTDIR install
pascal@5680 27 }
pascal@5680 28
pascal@5680 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5680 30 genpkg_rules()
pascal@5680 31 {
pascal@5680 32 mkdir -p $fs/usr
Hans-G?nter@22325 33
Hans-G?nter@22325 34 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22325 35 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22325 36 cp -a $install/var $fs
pascal@5680 37 }