wok view parcellite/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 29df00e1e19d |
children |
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://sourceforge.net/projects/parcellite/"
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }