wok-next annotate libhangul/receipt @ rev 13324
libhangul: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 03 09:39:24 2012 +0200 (2012-09-03) |
parents | 0e0742b57299 |
children | 4d4c60f7bf10 |
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 \ |
allan316@4064 | 21 $CONFIGURE_ARGS && |
pascal@13322 | 22 make && make DESTDIR=$DESTDIR 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 |
pascal@13322 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13322 | 30 cp -a $install/usr/lib/libhangul $fs/usr/lib |
allan316@4064 | 31 } |
allan316@4064 | 32 |