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