wok-current view libhangul/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
parents | |
children | 0e0742b57299 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libhangul"
4 VERSION="0.0.9"
5 CATEGORY="misc"
6 SHORT_DESC="library for Hangul"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://kldp.net/projects/hangul"
11 WGET_URL="http://kldp.net/download.php/4943/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/libhangul $fs/usr/lib
31 }