wok-stable view xorg-xclock/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents c514cc4854d8
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xclock"
4 VERSION="1.0.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Simple clock for X."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg-libxkbfile xorg-libXft xorg-libXmu xorg-libXaw zlib"
9 BUILD_DEPENDS="xorg-libXft-dev xorg-libXmu-dev xorg-libXaw-dev"
10 SOURCE="xclock"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
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 }