wok-next view xpad/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 6befec62b46c |
children | d5aab818505e |
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="gtk2 util-linux-uuid xorg-libICE xorg-libSM"
15 BUILD_DEPENDS="gtk2-dev xorg-libSM-dev intltool"
16 COOKOPTS="!pixmaps"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c
22 ./configure $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/
30 cp -a $install/usr/bin $fs/usr
31 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/
32 }