wok-current view parcellite/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (20 months ago) |
parents | 080c1dff8494 |
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://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 }