wok-next view parcellite/receipt @ rev 21568

updated crosstool-ng (1.20.0 -> 1.24.0)
author Hans-G?nter Theisgen
date Mon Jun 22 16:28:58 2020 +0100 (2020-06-22)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="parcellite"
4 VERSION="0.9.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Lightweight GTK+ clipboard manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://parcellite.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libx11-dev gtk2-dev intltool"
16 compile_rules() {
17 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
19 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 mkdir -p $fs/usr/share/applications $fs/etc
28 cp -a $install/usr/bin $fs/usr
29 cp -a $stuff/skel $fs/etc
30 chown -R 0.0 $fs
31 DEPENDS="gtk2 libx11 libxdamage"
32 }