wok annotate parcellite/receipt @ rev 21958

code2 -> codec2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 10 16:08:31 2019 +0200 (2019-10-10)
parents 17e313b5b9c1
children 080c1dff8494
rev   line source
pankso@637 1 # SliTaz package receipt
pankso@637 2
pankso@637 3 PACKAGE="parcellite"
Hans-G?nter@21659 4 VERSION="1.2.1"
pascal@741 5 CATEGORY="utilities"
Hans-G?nter@21659 6 SHORT_DESC="Lightweight GTK+ clipboard manager."
pankso@637 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@21659 9 WEB_SITE="http://parcellite.sourceforge.net/"
Hans-G?nter@21659 10
pankso@637 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6515 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
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
Hans-G?nter@21659 17 HOST_ARCH="i486 arm"
Hans-G?nter@21659 18
pankso@637 19 # Rules to configure and make the package.
pankso@637 20 compile_rules()
pankso@637 21 {
pascal@12760 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@21659 24 # find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
pankso@637 25 ./configure \
pascal@1470 26 $CONFIGURE_ARGS &&
Hans-G?nter@21659 27 make &&
Hans-G?nter@21659 28 make install
pankso@637 29 }
pankso@637 30
pankso@637 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@637 32 genpkg_rules()
pankso@637 33 {
Hans-G?nter@21659 34 mkdir -p $fs/usr/share/applications
Hans-G?nter@21659 35 mkdir -p $fs/etc
Hans-G?nter@21659 36
Hans-G?nter@21659 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21659 38 cp -a $stuff/skel $fs/etc
Hans-G?nter@21659 39
pankso@12404 40 chown -R 0.0 $fs
pankso@637 41 }