wok-next diff gcolor2/receipt @ rev 20348
ploticus (2.42)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 18 17:19:51 2017 +0100 (2017-11-18) |
parents | ebc54aeac200 |
children | a5d7827e08cf |
line diff
1.1 --- a/gcolor2/receipt Fri Nov 21 04:28:49 2014 +0200 1.2 +++ b/gcolor2/receipt Sat Nov 18 17:19:51 2017 +0100 1.3 @@ -1,26 +1,23 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="gcolor2" 1.8 VERSION="0.4" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="Light and simple color selector." 1.11 +SHORT_DESC="Light and simple color selector" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://gcolor2.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://gcolor2.sourceforge.net/" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 -GENERIC_PIXMAPS="no" 1.20 1.21 -DEPENDS="gtk+" 1.22 -SUGGESTED="xorg-rgb" 1.23 -BUILD_DEPENDS="gtk+-dev file" 1.24 +BUILD_DEPENDS="gfortran intltool perl-xml-parser gtk+-dev file" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - patch -p1 -i $stuff/gcolor2.patch 1.30 cp $stuff/*.po* $src/po 1.31 - sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in 1.32 + sed -i 's|@CATALOGS@|ru.gmo|' po/Makefile.in.in 1.33 1.34 ./configure $CONFIGURE_ARGS && 1.35 make && 1.36 @@ -30,7 +27,11 @@ 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - mkdir -p $fs/usr 1.41 - cp -a $install/usr/bin $fs/usr 1.42 + copy bin/ 1.43 + GENERIC_PIXMAPS="no" 1.44 + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ libffi \ 1.45 + libharfbuzz liblzma libpng16 libxml2 pango pcre util-linux-blkid \ 1.46 + util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp \ 1.47 + xorg-libXext xorg-libXrender xorg-libxcb xorg-pixman zlib" 1.48 + SUGGESTED="xorg-rgb" 1.49 } 1.50 -