wok annotate parcellite/receipt @ rev 21578
created recipe for python-setuptools
author | Hans-G?nter Theisgen |
---|---|
date | Sun May 19 16:00:06 2019 +0100 (2019-05-19) |
parents | f498b54a20cd |
children | aaa14b79e365 |
rev | line source |
---|---|
pankso@637 | 1 # SliTaz package receipt |
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" |
pankso@637 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@637 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6515 | 10 WEB_SITE="http://parcellite.sourceforge.net/" |
slaxemulator@6515 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16381 | 12 HOST_ARCH="i486 arm" |
pankso@637 | 13 |
pankso@12404 | 14 DEPENDS="gtk+ xorg-libX11 xorg-libXdamage" |
pankso@16381 | 15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev" |
pankso@12404 | 16 |
pankso@637 | 17 # Rules to configure and make the package. |
pankso@637 | 18 compile_rules() |
pankso@637 | 19 { |
pascal@12760 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
pascal@12760 | 22 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
pankso@637 | 23 ./configure \ |
pascal@1470 | 24 $CONFIGURE_ARGS && |
pankso@16381 | 25 make && make install |
pankso@637 | 26 } |
pankso@637 | 27 |
pankso@637 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@637 | 29 genpkg_rules() |
pankso@637 | 30 { |
pankso@12404 | 31 mkdir -p $fs/usr/share/applications $fs/etc |
pascal@14999 | 32 cp -a $install/usr/bin $fs/usr |
pankso@12404 | 33 cp -a $stuff/skel $fs/etc |
pankso@12404 | 34 chown -R 0.0 $fs |
pankso@637 | 35 } |