wok view parcellite/receipt @ rev 18398
merge default
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Sep 19 03:21:48 2015 +0000 (2015-09-19) |
parents | f498b54a20cd |
children | aaa14b79e365 |
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+ xorg-libX11 xorg-libXdamage"
15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
23 ./configure \
24 $CONFIGURE_ARGS &&
25 make && make 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 $install/usr/bin $fs/usr
33 cp -a $stuff/skel $fs/etc
34 chown -R 0.0 $fs
35 }