wok-next view parcellite/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c4e53a39395a |
children | d5aab818505e |
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="gtk2 xorg-libX11 xorg-libXdamage"
14 BUILD_DEPENDS="xorg-libX11-dev gtk2-dev intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
22 ./configure \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/applications $fs/etc
31 cp -a $install/usr/bin $fs/usr
32 cp -a $stuff/skel $fs/etc
33 chown -R 0.0 $fs
34 }