wok annotate libhangul/receipt @ rev 14296
Up: embryo (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:08:14 2013 +0200 (2013-04-07) |
parents | 9a4df26cc408 |
children | 4904e3d374a9 |
rev | line source |
---|---|
allan316@4064 | 1 # SliTaz package receipt. |
allan316@4064 | 2 |
allan316@4064 | 3 PACKAGE="libhangul" |
pascal@13322 | 4 VERSION="0.1.0" |
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" |
pascal@13324 | 11 WGET_URL="http://libhangul.googlecode.com/files/$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 \ |
pascal@13325 | 21 --datadir=/usr/lib \ |
allan316@4064 | 22 $CONFIGURE_ARGS && |
pascal@13322 | 23 make && make DESTDIR=$DESTDIR 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/lib |
pascal@13322 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13322 | 31 cp -a $install/usr/lib/libhangul $fs/usr/lib |
allan316@4064 | 32 } |
allan316@4064 | 33 |