wok-stable view xpad/receipt @ rev 12368
xpad: fix receipt (thanks ernia too)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 02 22:12:19 2013 +0000 (2013-01-02) |
parents | c5c7f18d90eb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xpad"
4 VERSION="4.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Desktop note pad using GTK+ toolkit."
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-ng-uuid xorg-libICE xorg-libSM"
14 BUILD_DEPENDS="gtk+-dev xorg-libSM-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/^.*GTK_WINDOW_TOPLEVEL,//' src/xpad-pad.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
29 cp -a $_pkg/usr/bin $fs/usr
30 }