wok-current view parcellite/receipt @ rev 14415

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