wok view xpad/receipt @ rev 24486
updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 16:54:18 2022 +0100 (2022-02-18) |
parents | 2b9f96603415 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xpad"
4 VERSION="4.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Sticky note application for X"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://launchpad.net/xpad"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL"
12 HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad"
14 DEPENDS="gtk+ util-linux-uuid xorg-libICE xorg-libSM"
15 BUILD_DEPENDS="gtk+-dev xorg-libSM-dev wget"
16 GENERIC_PIXMAPS="no"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Latest version is/!d;s|.*is ||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c
29 ./configure $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/
37 cp -a $install/usr/bin $fs/usr
38 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/
39 }