wok-next annotate parcellite/receipt @ rev 21119
libarchive: depends on libzstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 03:39:08 2019 +0200 (2019-01-14) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pankso@637 | 2 |
pankso@637 | 3 PACKAGE="parcellite" |
slaxemulator@7752 | 4 VERSION="0.9.3" |
pascal@741 | 5 CATEGORY="utilities" |
pankso@637 | 6 SHORT_DESC="Lightweight GTK+ clipboard manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="http://parcellite.sourceforge.net/" |
al@21020 | 10 |
pankso@637 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6515 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@637 | 13 |
al@21078 | 14 BUILD_DEPENDS="libx11-dev gtk2-dev intltool" |
pankso@12404 | 15 |
al@21020 | 16 compile_rules() { |
pascal@12760 | 17 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pascal@12760 | 19 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
al@21020 | 20 |
al@21020 | 21 ./configure $CONFIGURE_ARGS && |
al@21020 | 22 make && |
al@21020 | 23 make install |
pankso@637 | 24 } |
pankso@637 | 25 |
al@21020 | 26 genpkg_rules() { |
pankso@12404 | 27 mkdir -p $fs/usr/share/applications $fs/etc |
pascal@14999 | 28 cp -a $install/usr/bin $fs/usr |
pankso@12404 | 29 cp -a $stuff/skel $fs/etc |
pankso@12404 | 30 chown -R 0.0 $fs |
al@21078 | 31 DEPENDS="gtk2 libx11 libxdamage" |
pankso@637 | 32 } |