wok view parcellite/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (20 months ago)
parents 080c1dff8494
children 29df00e1e19d
line source
1 # SliTaz package receipt
3 PACKAGE="parcellite"
4 VERSION="1.2.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Lightweight GTK+ clipboard manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://parcellite.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ xorg-libX11 xorg-libXdamage"
15 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/parcellite/files/parcellite/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/parcellite-||;s|.tar.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
31 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
32 # find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
33 ./configure \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/applications
43 mkdir -p $fs/etc
45 cp -a $install/usr/bin $fs/usr
46 cp -a $stuff/skel $fs/etc
48 chown -R 0.0 $fs
49 }