wok-next view parcellite/receipt @ rev 13092
get-wifi-firmware: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 26 12:04:16 2012 +0200 (2012-06-26) |
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 }