wok-next diff libspectre/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 | 8609b5c4b762 |
children | 5841522533ec |
line diff
1.1 --- a/libspectre/receipt Fri May 09 20:45:01 2014 +0300 1.2 +++ b/libspectre/receipt Thu Nov 16 16:28:30 2017 +0100 1.3 @@ -1,27 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libspectre" 1.8 -VERSION="0.2.7" 1.9 +VERSION="0.2.8" 1.10 CATEGORY="office" 1.11 SHORT_DESC="libspectre is a small library for rendering Postscript documents" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="GPL2" 1.14 -WEB_SITE="http://www.freedesktop.org/wiki/Software/libspectre" 1.15 +WEB_SITE="https://www.freedesktop.org/wiki/Software/libspectre/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WGET_URL="http://libspectre.freedesktop.org/releases/$TARBALL" 1.19 +WGET_URL="https://libspectre.freedesktop.org/releases/$TARBALL" 1.20 1.21 -DEPENDS="ghostscript" 1.22 -BUILD_DEPENDS="ghostscript-dev" 1.23 +BUILD_DEPENDS="ghostscript-dev cairo-dev" 1.24 +SPLIT="libspectre-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 ./configure $CONFIGURE_ARGS && make && make install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr/lib 1.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 +genpkg_rules() { 1.39 + case $PACKAGE in 1.40 + libspectre) 1.41 + copy @std 1.42 + DEPENDS="ghostscript" 1.43 + ;; 1.44 + *-dev) 1.45 + copy @dev 1.46 + ;; 1.47 + esac 1.48 }