wok-next annotate libhangul/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 | |
children | 0e0742b57299 |
rev | line source |
---|---|
allan316@4064 | 1 # SliTaz package receipt. |
allan316@4064 | 2 |
allan316@4064 | 3 PACKAGE="libhangul" |
allan316@4064 | 4 VERSION="0.0.9" |
allan316@4064 | 5 CATEGORY="misc" |
allan316@4064 | 6 SHORT_DESC="library for Hangul" |
allan316@4064 | 7 MAINTAINER="allan316@gmail.com" |
allan316@4064 | 8 DEPENDS="" |
allan316@4064 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@4064 | 10 WEB_SITE="http://kldp.net/projects/hangul" |
allan316@4064 | 11 WGET_URL="http://kldp.net/download.php/4943/$TARBALL" |
allan316@4064 | 12 |
allan316@4064 | 13 # Rules to configure and make the package. |
allan316@4064 | 14 compile_rules() |
allan316@4064 | 15 { |
allan316@4064 | 16 cd $src |
allan316@4064 | 17 ./configure \ |
allan316@4064 | 18 --prefix=/usr \ |
allan316@4064 | 19 --infodir=/usr/share/info \ |
allan316@4064 | 20 --mandir=/usr/share/man \ |
allan316@4064 | 21 $CONFIGURE_ARGS && |
allan316@4064 | 22 make && make DESTDIR=$PWD/_pkg install |
allan316@4064 | 23 } |
allan316@4064 | 24 |
allan316@4064 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4064 | 26 genpkg_rules() |
allan316@4064 | 27 { |
allan316@4064 | 28 mkdir -p $fs/usr/lib |
allan316@4064 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@4064 | 30 cp -a $_pkg/usr/lib/libhangul $fs/usr/lib |
allan316@4064 | 31 } |
allan316@4064 | 32 |