# SliTaz package receipt PACKAGE="parcellite" VERSION="1.2.1" CATEGORY="utilities" SHORT_DESC="Lightweight GTK+ clipboard manager." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="https://parcellite.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="gtk+ xorg-libX11 xorg-libXdamage" BUILD_DEPENDS="xorg-libX11-dev gtk+-dev" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/parcellite/files/parcellite/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/parcellite-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { # Binutils 2.22 break many packages build without LDFLAGS set correctly. export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" # find . -name '*.[ch]*' | xargs sed -i 's|