wok-6.x view xpad/receipt @ rev 14203

linux-libre: fix check_modules.sh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 14 10:38:19 2013 +0100 (2013-03-14)
parents d5ed16c0df59
children 2b9f96603415
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 WEB_SITE="https://launchpad.net/xpad"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="https://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL"
11 HANDBOOK_URL="http://www.slitaz.org/doc/handbook/utilities.html#xpad"
13 DEPENDS="gtk+ util-linux-uuid xorg-libICE xorg-libSM"
14 BUILD_DEPENDS="gtk+-dev xorg-libSM-dev wget"
15 GENERIC_PIXMAPS="no"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '/#include <glib\/glist.h>/d' src/xpad-undo.c
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/icons/hicolor/48x48/apps/
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $stuff/xpad.png $fs/usr/share/icons/hicolor/48x48/apps/
31 }