wok-next view xpad/receipt @ rev 16652
blazekiss: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 14:15:55 2014 +0000 (2014-05-13) |
parents | 1ceb477b8f7e |
children | 145bc1c732ca |
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 # 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 }