wok annotate nabi/receipt @ rev 25148
updated privoxy (3.0.28 -> 3.0.33)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 16:30:00 2022 +0100 (2022-06-29) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
allan316@4064 | 1 # SliTaz package receipt. |
allan316@4064 | 2 |
allan316@4064 | 3 PACKAGE="nabi" |
Hans-G?nter@21508 | 4 VERSION="1.0.0" |
allan316@4064 | 5 CATEGORY="misc" |
Hans-G?nter@21508 | 6 SHORT_DESC="Powerful GNU XIM, made for entering Hangul." |
allan316@4064 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15084 | 8 LICENSE="GPL2" |
Hans-G?nter@21508 | 9 WEB_SITE="https://github.com/libhangul/nabi" |
Hans-G?nter@21508 | 10 |
allan316@4064 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21509 | 12 WGET_URL="$WEB_SITE/archive/$TARBALL" |
allan316@4064 | 13 |
Hans-G?nter@21508 | 14 DEPENDS="cairo gtk+ libhangul xorg-libICE xorg-libSM" |
Hans-G?nter@21508 | 15 BUILD_DEPENDS="automake cairo-dev gtk+-dev libhangul libhangul-dev" |
pascal@15084 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/nabi-\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
allan316@4064 | 23 # Rules to configure and make the package. |
allan316@4064 | 24 compile_rules() |
allan316@4064 | 25 { |
Hans-G?nter@21508 | 26 ./autogen.sh && |
Hans-G?nter@21508 | 27 ./configure \ |
Hans-G?nter@21508 | 28 --prefix=/usr \ |
Hans-G?nter@21508 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21508 | 30 --mandir=/usr/share/man \ |
allan316@4064 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@21508 | 32 make && |
Hans-G?nter@21508 | 33 make DESTDIR=$DESTDIR install |
allan316@4064 | 34 } |
allan316@4064 | 35 |
allan316@4064 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@4064 | 37 genpkg_rules() |
allan316@4064 | 38 { |
allan316@4064 | 39 mkdir -p $fs/usr |
Hans-G?nter@21508 | 40 |
Hans-G?nter@21508 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21508 | 42 cp -a $install/usr/share $fs/usr |
allan316@4064 | 43 } |