wok-next view xorg-xclock/receipt @ rev 1564
vanessa_adt: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 13 14:51:37 2008 +0000 (2008-10-13) |
parents | a8e90ba27401 |
children | 170168df8ad1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xclock"
4 VERSION="1.0.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple clock for X."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg xorg-libxkbfile"
9 BUILD_DEPENDS="xorg-dev xorg-libXft-dev"
10 SOURCE="xclock"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/X11 $fs/usr/share
33 }