wok-6.x annotate parcellite/receipt @ rev 24489

updated dmidecode (3.2 -> 3.3)
author Hans-G?nter Theisgen
date Fri Feb 18 17:31:24 2022 +0100 (2022-02-18)
parents aaa14b79e365
children 7dd01dedad38
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
pascal@24396 19 # What is the latest version available today?
pascal@24396 20 current_version()
pascal@24396 21 {
pascal@24396 22 wget -O - https://sourceforge.net/projects/parcellite/files/parcellite/ 2>/dev/null | \
pascal@24396 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 24 sed '/scope="row/!d;s|.*/parcellite-||;s|.tar.*||;q'
pascal@24396 25 }
pascal@24396 26
pankso@637 27 # Rules to configure and make the package.
pankso@637 28 compile_rules()
pankso@637 29 {
pascal@12760 30 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@17670 31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
Hans-G?nter@21659 32 # find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
pankso@637 33 ./configure \
pascal@1470 34 $CONFIGURE_ARGS &&
Hans-G?nter@21659 35 make &&
Hans-G?nter@21659 36 make install
pankso@637 37 }
pankso@637 38
pankso@637 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@637 40 genpkg_rules()
pankso@637 41 {
Hans-G?nter@21659 42 mkdir -p $fs/usr/share/applications
Hans-G?nter@21659 43 mkdir -p $fs/etc
Hans-G?nter@21659 44
Hans-G?nter@21659 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21659 46 cp -a $stuff/skel $fs/etc
Hans-G?nter@21659 47
pankso@12404 48 chown -R 0.0 $fs
pankso@637 49 }