wok annotate libhangul/receipt @ rev 18285
smbbox: update depends
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Aug 10 11:38:27 2015 -0400 (2015-08-10) |
parents | 4d4c60f7bf10 |
children | eeba7ab1dffe |
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" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
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 |
pascal@14714 | 13 DEPENDS="" |
pascal@14714 | 14 |
allan316@4064 | 15 # Rules to configure and make the package. |
allan316@4064 | 16 compile_rules() |
allan316@4064 | 17 { |
allan316@4064 | 18 cd $src |
allan316@4064 | 19 ./configure \ |
allan316@4064 | 20 --prefix=/usr \ |
allan316@4064 | 21 --infodir=/usr/share/info \ |
allan316@4064 | 22 --mandir=/usr/share/man \ |
pascal@13325 | 23 --datadir=/usr/lib \ |
allan316@4064 | 24 $CONFIGURE_ARGS && |
pascal@13322 | 25 make && make DESTDIR=$DESTDIR install |
allan316@4064 | 26 } |
allan316@4064 | 27 |
allan316@4064 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4064 | 29 genpkg_rules() |
allan316@4064 | 30 { |
allan316@4064 | 31 mkdir -p $fs/usr/lib |
pascal@13322 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13322 | 33 cp -a $install/usr/lib/libhangul $fs/usr/lib |
allan316@4064 | 34 } |
allan316@4064 | 35 |