wok-next annotate gcolor2/receipt @ rev 18635

mediainfo: add build depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 10:38:59 2015 +0200 (2015-11-27)
parents b800f0edb469
children 0e8dadf052b9
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gcolor2"
pankso@43 4 VERSION="0.4"
pankso@207 5 CATEGORY="graphics"
pankso@43 6 SHORT_DESC="Light and simple color selector."
pankso@43 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@43 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@43 10 WEB_SITE="http://gcolor2.sourceforge.net/"
pankso@43 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@17368 12 GENERIC_PIXMAPS="no"
pankso@43 13
al@17368 14 DEPENDS="gtk+"
al@17368 15 SUGGESTED="xorg-rgb"
al@17368 16 BUILD_DEPENDS="gtk+-dev file"
pascal@15000 17
pankso@43 18 # Rules to configure and make the package.
pankso@43 19 compile_rules()
pankso@43 20 {
al@17368 21 patch -p1 -i $stuff/gcolor2.patch
al@17368 22 cp $stuff/*.po* $src/po
al@17368 23 sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
al@17368 24
al@17368 25 ./configure $CONFIGURE_ARGS &&
pascal@1465 26 make &&
pascal@15000 27 make DESTDIR=$DESTDIR install
pankso@43 28 }
pankso@43 29
pankso@43 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 31 genpkg_rules()
pankso@43 32 {
al@17368 33 mkdir -p $fs/usr
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pankso@43 35 }
pankso@43 36