wok-next diff tidy/receipt @ rev 20404
Up cookutils (1019)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 14:34:32 2017 +0200 (2017-12-07) |
parents | d805d3de4546 |
children | 10df65db91ad |
line diff
1.1 --- a/tidy/receipt Wed May 01 01:06:46 2013 +0000 1.2 +++ b/tidy/receipt Thu Dec 07 14:34:32 2017 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="tidy" 1.8 VERSION="cvs_20101110" 1.9 @@ -7,14 +7,13 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="MIT" 1.12 WEB_SITE="http://tidy.sourceforge.net/" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WGET_URL="http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/$TARBALL" 1.16 1.17 -DEPENDS="glibc-base" 1.18 +SPLIT="tidy-dev" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 ./configure \ 1.25 --disable-debug \ 1.26 --disable-static \ 1.27 @@ -25,10 +24,9 @@ 1.28 make install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 - mkdir -p $fs/usr/lib 1.35 - cp -a $install/usr/bin $fs/usr 1.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.37 +genpkg_rules() { 1.38 + case $PACKAGE in 1.39 + tidy) copy @std;; 1.40 + *-dev) copy @dev;; 1.41 + esac 1.42 }