wok annotate libhangul/receipt @ rev 20058
Up slitaz-base-files (331), slitaz-boot-scripts (443).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 02:02:47 2017 +0300 (2017-09-12) |
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 |