wok annotate parcellite/receipt @ rev 15015

zile: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 14:28:31 2013 +0000 (2013-08-11)
parents ed506ef90549
children f498b54a20cd
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"
pascal@14999 8 LICENSE="GPL3"
pankso@637 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6515 10 WEB_SITE="http://parcellite.sourceforge.net/"
slaxemulator@6515 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@637 12
pankso@12404 13 DEPENDS="gtk+ xorg-libX11 xorg-libXdamage"
pascal@12571 14 BUILD_DEPENDS="xorg-dev gtk+-dev intltool autoconf automake"
pankso@12404 15
pankso@637 16 # Rules to configure and make the package.
pankso@637 17 compile_rules()
pankso@637 18 {
pankso@637 19 cd $src
pascal@12760 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12760 21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
pascal@12760 22 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
pankso@637 23 ./configure \
pankso@637 24 --prefix=/usr \
pascal@1470 25 $CONFIGURE_ARGS &&
pascal@14999 26 make && make DESTDIR=$DESTDIR install
pankso@637 27 }
pankso@637 28
pankso@637 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@637 30 genpkg_rules()
pankso@637 31 {
pankso@12404 32 mkdir -p $fs/usr/share/applications $fs/etc
pascal@14999 33 cp -a $install/usr/bin $fs/usr
pankso@12404 34 cp -a $stuff/skel $fs/etc
pankso@12404 35 chown -R 0.0 $fs
pankso@637 36 }