wok-next diff chmlib/receipt @ rev 20334
Remove linux-uml & lxpanel-plugin-multiload
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 16 16:28:30 2017 +0100 (2017-11-16) |
parents | eb8067417980 |
children | 835b3b8ce6ac |
line diff
1.1 --- a/chmlib/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/chmlib/receipt Thu Nov 16 16:28:30 2017 +0100 1.3 @@ -1,31 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="chmlib" 1.8 VERSION="0.40" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="library for dealing with CHM format or windows help files" 1.11 +SHORT_DESC="Library for reading Microsoft ITSS/CHM format files" 1.12 MAINTAINER="allan316@gmail.com" 1.13 LICENSE="LGPL2.1" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://www.jedrea.com/chmlib" 1.16 +WEB_SITE="http://www.jedrea.com/chmlib/" 1.17 + 1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 WGET_URL="http://www.jedrea.com/chmlib/$TARBALL" 1.20 -TAGS="CHM windows" 1.21 1.22 -DEPENDS="" 1.23 +SPLIT="chmlib-dev" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - cd $src 1.29 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.30 - --mandir=/usr/share/man $CONFIGURE_ARGS 1.31 - make 1.32 - make DESTDIR=$DESTDIR install 1.33 +compile_rules() { 1.34 + ./configure $CONFIGURE_ARGS && make && make install || return 1 1.35 + 1.36 + cook_pick_docs README 1.37 } 1.38 1.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 -genpkg_rules() 1.41 -{ 1.42 - mkdir -p $fs/usr/lib 1.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib/ 1.44 +genpkg_rules() { 1.45 + case $PACKAGE in 1.46 + chmlib) 1.47 + copy @std 1.48 + TAGS="CHM windows" 1.49 + ;; 1.50 + *-dev) 1.51 + copy @dev 1.52 + ;; 1.53 + esac 1.54 }