wok-6.x view parcellite/receipt @ rev 12861

Up: sqlite to 3.7.12.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu May 24 20:50:37 2012 +0000 (2012-05-24)
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 }