wok annotate yp-tools/receipt @ rev 22346
Up sdcc (3.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 23:42:49 2019 +0100 (2019-11-17) |
parents | 86790a278e70 |
children | d443265acbc1 |
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 |
Hans-G?nter@22325 | 14 BUILD_DEPENDS="autoconf" |
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 } |