wok-next annotate nabi/receipt @ rev 5800
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 14:18:18 2010 +0200 (2010-07-11) |
parents | 5b44af8c1257 |
children | 3032e1d97d20 |
rev | line source |
---|---|
allan316@4064 | 1 # SliTaz package receipt. |
allan316@4064 | 2 |
allan316@4064 | 3 PACKAGE="nabi" |
allan316@4064 | 4 VERSION="0.99.4" |
allan316@4064 | 5 CATEGORY="misc" |
allan316@4064 | 6 SHORT_DESC="powerful GNU XIM, made for entering Hangul" |
allan316@4064 | 7 MAINTAINER="allan316@gmail.com" |
pankso@5337 | 8 DEPENDS="libhangul gtk+ cairo xorg-libSM xorg-libICE" |
allan316@4064 | 9 BUILD_DEPENDS="libhangul libhangul-dev" |
allan316@4064 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4064 | 11 WEB_SITE="http://nabi.kldp.net" |
allan316@4064 | 12 WGET_URL="http://kldp.net/frs/download.php/5287/$TARBALL" |
allan316@4064 | 13 |
allan316@4064 | 14 # Rules to configure and make the package. |
allan316@4064 | 15 compile_rules() |
allan316@4064 | 16 { |
allan316@4064 | 17 cd $src |
allan316@4064 | 18 ./configure \ |
allan316@4064 | 19 --prefix=/usr \ |
allan316@4064 | 20 --infodir=/usr/share/info \ |
allan316@4064 | 21 --mandir=/usr/share/man \ |
allan316@4064 | 22 $CONFIGURE_ARGS && |
allan316@4064 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@4064 | 24 } |
allan316@4064 | 25 |
allan316@4064 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4064 | 27 genpkg_rules() |
allan316@4064 | 28 { |
allan316@4064 | 29 mkdir -p $fs/usr |
allan316@4064 | 30 cp -a $_pkg/usr/bin $fs/usr |
allan316@4064 | 31 cp -a $_pkg/usr/share $fs/usr |
allan316@4064 | 32 } |
allan316@4064 | 33 |