wok-next annotate parcellite/receipt @ rev 13779

fix bug32 : change config file to use $HOME var
author border
date Thu Jan 03 23:37:47 2013 -0500 (2013-01-03)
parents a6692a318d25
children 2b9f96603415
rev   line source
pankso@637 1 # SliTaz package receipt
pankso@637 2
pankso@637 3 PACKAGE="parcellite"
slaxemulator@7752 4 VERSION="0.9.3"
pascal@741 5 CATEGORY="utilities"
pankso@637 6 SHORT_DESC="Lightweight GTK+ clipboard manager"
pankso@637 7 MAINTAINER="pankso@slitaz.org"
pankso@637 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6515 9 WEB_SITE="http://parcellite.sourceforge.net/"
slaxemulator@6515 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@637 11
pankso@12404 12 DEPENDS="gtk+ xorg-libX11 xorg-libXdamage"
pascal@12571 13 BUILD_DEPENDS="xorg-dev gtk+-dev intltool autoconf automake"
pankso@12404 14
pankso@637 15 # Rules to configure and make the package.
pankso@637 16 compile_rules()
pankso@637 17 {
pankso@637 18 cd $src
pascal@12760 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12760 20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
pascal@12760 21 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
pankso@637 22 ./configure \
pankso@637 23 --prefix=/usr \
pascal@1470 24 $CONFIGURE_ARGS &&
pankso@12404 25 make && make DESTDIR=$PWD/_pkg install
pankso@637 26 }
pankso@637 27
pankso@637 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@637 29 genpkg_rules()
pankso@637 30 {
pankso@12404 31 mkdir -p $fs/usr/share/applications $fs/etc
pankso@637 32 cp -a $_pkg/usr/bin $fs/usr
pankso@12404 33 cp -a $stuff/skel $fs/etc
pankso@12404 34 chown -R 0.0 $fs
pankso@637 35 }