wok-next diff libtar/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 8d6f480bf664 |
children | a3c581bf52b8 |
line diff
1.1 --- a/libtar/receipt Sun Nov 10 17:13:06 2013 +0000 1.2 +++ b/libtar/receipt Tue Mar 27 12:50:45 2018 +0200 1.3 @@ -1,22 +1,20 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libtar" 1.8 VERSION="1.2.11" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="C library for manipulating POSIX tar files." 1.11 +SHORT_DESC="C library for manipulating POSIX tar files" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="http://www.feep.net/libtar/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.feep.net/libtar/" 1.18 WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="zlib" 1.21 BUILD_DEPENDS="zlib-dev" 1.22 +SPLIT="libtar-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 +compile_rules() { 1.29 ./configure \ 1.30 --prefix=/usr \ 1.31 --infodir=/usr/share/info \ 1.32 @@ -25,10 +23,14 @@ 1.33 make && make DESTDIR=$DESTDIR install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr 1.40 - cp -a $install/usr/bin $fs/usr 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + libtar) 1.44 + copy @std 1.45 + DEPENDS="zlib" 1.46 + ;; 1.47 + *-dev) 1.48 + copy @dev 1.49 + ;; 1.50 + esac 1.51 } 1.52 -