wok-next rev 20208
Up: tzdata (2017c), udns (0.4, v2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 04 13:38:21 2017 +0200 (2017-11-04) |
parents | ccb92f8ccaf6 |
children | dbe3234b8bf2 |
files | tzdata/receipt udns-dev/receipt udns/receipt |
line diff
1.1 --- a/tzdata/receipt Sat Nov 04 12:51:03 2017 +0200 1.2 +++ b/tzdata/receipt Sat Nov 04 13:38:21 2017 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="tzdata" 1.7 -VERSION="2017b" 1.8 +VERSION="2017c" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Time Zone Database" 1.11 MAINTAINER="al.bobylev@gmail.com" 1.12 @@ -29,9 +29,7 @@ 1.13 cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO 1.14 zic -d $ZONEINFO -p America/New_York 1.15 1.16 - docdir=$install/usr/share/doc/tzdata-$VERSION 1.17 - mkdir -p $docdir 1.18 - cp CONTRIBUTING LICENSE NEWS README Theory $docdir 1.19 + cook_pick_docs CONTRIBUTING LICENSE NEWS README Theory 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg.
2.1 --- a/udns-dev/receipt Sat Nov 04 12:51:03 2017 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,19 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="udns-dev" 2.7 -VERSION="0.1" 2.8 -CATEGORY="development" 2.9 -SHORT_DESC="Syncronous and asyncronous DNS resolver, development files." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -LICENSE="LGPL2.1" 2.12 -WEB_SITE="http://www.corpit.ru/mjt/udns.html" 2.13 -WANTED="udns" 2.14 - 2.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 -genpkg_rules() 2.17 -{ 2.18 - mkdir -p $fs/usr/lib $fs/usr/include 2.19 - cp -a $src/libudns*a $fs/usr/lib 2.20 - cp -a $src/udns.h $fs/usr/include 2.21 -} 2.22 -
3.1 --- a/udns/receipt Sat Nov 04 12:51:03 2017 +0200 3.2 +++ b/udns/receipt Sat Nov 04 13:38:21 2017 +0200 3.3 @@ -1,32 +1,45 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="udns" 3.8 -VERSION="0.1" 3.9 +VERSION="0.4" 3.10 CATEGORY="network" 3.11 -SHORT_DESC="Syncronous and asyncronous DNS resolver." 3.12 +SHORT_DESC="Syncronous and asyncronous DNS resolver" 3.13 MAINTAINER="pascal.bellard@slitaz.org" 3.14 LICENSE="LGPL2.1" 3.15 -TARBALL="${PACKAGE}-$VERSION.tar.gz" 3.16 -WEB_SITE="http://www.corpit.ru/mjt/$PACKAGE.html" 3.17 -WGET_URL="http://www.corpit.ru/mjt/$PACKAGE/$TARBALL" 3.18 -TAGS="network DNS" 3.19 +WEB_SITE="http://www.corpit.ru/mjt/udns.html" 3.20 3.21 -# Rules to configure and make the package. 3.22 -compile_rules() 3.23 -{ 3.24 - cd $src 3.25 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.26 +WGET_URL="http://www.corpit.ru/mjt/udns/$TARBALL" 3.27 + 3.28 +SPLIT="udns-dev" 3.29 + 3.30 +compile_rules() { 3.31 # GCC 4.5 fix 3.32 sed -i 's/"$@" >/$@ >/' configure.lib 3.33 - bash ./configure && make staticlib sharedlib rblcheck_s dnsget_s 3.34 + 3.35 + ./configure \ 3.36 + --enable-ipv6 && 3.37 + make staticlib sharedlib rblcheck_s dnsget_s || return 1 3.38 + 3.39 + install -Dm0755 dnsget_s $install/usr/bin/dnsget 3.40 + install -Dm0755 rblcheck_s $install/usr/bin/rblcheck 3.41 + install -Dm0755 libudns.so.0 $install/usr/lib/libudns.so.0 3.42 + ln -s libudns.so.0 $install/usr/lib/libudns.so 3.43 + install -Dm0644 libudns.a $install/usr/lib/libudns.a 3.44 + install -Dm0644 udns.h $install/usr/include/udns.h 3.45 + 3.46 + cook_pick_manpages dnsget.1 rblcheck.1 udns.3 3.47 + cook_pick_docs NOTES TODO NEWS 3.48 } 3.49 3.50 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.51 -genpkg_rules() 3.52 -{ 3.53 - mkdir -p $fs/usr/lib $fs/usr/bin 3.54 - cp -a $src/libudns.so.0 $fs/usr/lib 3.55 - ln -s /usr/lib/libudns.so.0 $fs/usr/lib/libudns.so 3.56 - cp -a $src/dnsget_s $fs/usr/bin/dnsget 3.57 - cp -a $src/rblcheck_s $fs/usr/bin/rblcheck 3.58 +genpkg_rules() { 3.59 + case $PACKAGE in 3.60 + udns) 3.61 + copy @std 3.62 + TAGS="network DNS" 3.63 + ;; 3.64 + *-dev) 3.65 + copy @dev 3.66 + ;; 3.67 + esac 3.68 } 3.69 -