wok-6.x annotate xorg-xclock/receipt @ rev 10352
bash: make it cross compile!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 22:38:05 2011 +0200 (2011-05-22) |
parents | c514cc4854d8 |
children | fae364445e65 |
rev | line source |
---|---|
pankso@262 | 1 # SliTaz package receipt. |
pankso@262 | 2 |
pankso@262 | 3 PACKAGE="xorg-xclock" |
gokhlayeh@6993 | 4 VERSION="1.0.5" |
pankso@262 | 5 CATEGORY="x-window" |
pankso@262 | 6 SHORT_DESC="Simple clock for X." |
pankso@262 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@8267 | 8 DEPENDS="xorg-libxkbfile xorg-libXft xorg-libXmu xorg-libXaw zlib" |
slaxemulator@8267 | 9 BUILD_DEPENDS="xorg-libXft-dev xorg-libXmu-dev xorg-libXaw-dev" |
pankso@262 | 10 SOURCE="xclock" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@262 | 12 WEB_SITE="http://www.x.org/" |
pankso@262 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@262 | 14 |
pankso@262 | 15 # Rules to configure and make the package. |
pankso@262 | 16 compile_rules() |
pankso@262 | 17 { |
pankso@262 | 18 cd $src |
pankso@262 | 19 ./configure \ |
pankso@262 | 20 --prefix=/usr \ |
pankso@262 | 21 --mandir=/usr/share/man \ |
pascal@1470 | 22 $CONFIGURE_ARGS && |
pascal@1470 | 23 make && |
pankso@262 | 24 make DESTDIR=$PWD/_pkg install |
pankso@262 | 25 } |
pankso@262 | 26 |
pankso@262 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@262 | 28 genpkg_rules() |
pankso@262 | 29 { |
pankso@262 | 30 mkdir -p $fs/usr/share |
pankso@262 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@262 | 32 cp -a $_pkg/usr/share/X11 $fs/usr/share |
pankso@262 | 33 } |