wok view nabi/receipt @ rev 24228
syslinux: add apple partitions (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 01 11:57:50 2022 +0000 (2022-01-01) |
parents | 64c7a421d3be |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nabi"
4 VERSION="1.0.0"
5 CATEGORY="misc"
6 SHORT_DESC="Powerful GNU XIM, made for entering Hangul."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/libhangul/nabi"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$TARBALL"
14 DEPENDS="cairo gtk+ libhangul xorg-libICE xorg-libSM"
15 BUILD_DEPENDS="automake cairo-dev gtk+-dev libhangul libhangul-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/nabi-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./autogen.sh &&
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share $fs/usr
43 }