wok-next annotate nabi/receipt @ rev 18909

Add gnubg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:29:18 2016 +0100 (2016-02-22)
parents ec066bd77049
children d43bf7aae921
rev   line source
allan316@4064 1 # SliTaz package receipt.
allan316@4064 2
allan316@4064 3 PACKAGE="nabi"
allan316@4064 4 VERSION="0.99.4"
allan316@4064 5 CATEGORY="misc"
allan316@4064 6 SHORT_DESC="powerful GNU XIM, made for entering Hangul"
allan316@4064 7 MAINTAINER="allan316@gmail.com"
pascal@15084 8 LICENSE="GPL2"
allan316@4064 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@4064 10 WEB_SITE="http://nabi.kldp.net"
allan316@4064 11 WGET_URL="http://kldp.net/frs/download.php/5287/$TARBALL"
allan316@4064 12
pascal@15084 13 DEPENDS="libhangul gtk+ cairo xorg-libSM xorg-libICE"
pascal@15084 14 BUILD_DEPENDS="libhangul libhangul-dev gtk+-dev cairo-dev"
pascal@15084 15
allan316@4064 16 # Rules to configure and make the package.
allan316@4064 17 compile_rules()
allan316@4064 18 {
allan316@4064 19 cd $src
allan316@4064 20 ./configure \
allan316@4064 21 --prefix=/usr \
allan316@4064 22 --infodir=/usr/share/info \
allan316@4064 23 --mandir=/usr/share/man \
allan316@4064 24 $CONFIGURE_ARGS &&
pascal@15084 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
pascal@15084 32 cp -a $install/usr/bin $fs/usr
pascal@15084 33 cp -a $install/usr/share $fs/usr
allan316@4064 34 }
allan316@4064 35