wok annotate libhangul/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents b569b85b0fb9
children 150e1482d1b2
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"
pascal@14714 8 LICENSE="LGPL2.1"
allan316@4064 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22864 10 WEB_SITE="https://github.com/libhangul/libhangul"
pascal@24978 11 WGET_URL="http://kldp.net/hangul/release/3442-$TARBALL"
allan316@4064 12
pascal@14714 13 DEPENDS=""
pascal@14714 14
pascal@24308 15 # What is the latest version available today?
pascal@24308 16 current_version()
pascal@24308 17 {
pascal@24308 18 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 19 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 20 }
pascal@24308 21
allan316@4064 22 # Rules to configure and make the package.
allan316@4064 23 compile_rules()
allan316@4064 24 {
allan316@4064 25 cd $src
allan316@4064 26 ./configure \
allan316@4064 27 --prefix=/usr \
allan316@4064 28 --infodir=/usr/share/info \
allan316@4064 29 --mandir=/usr/share/man \
pascal@13325 30 --datadir=/usr/lib \
allan316@4064 31 $CONFIGURE_ARGS &&
pascal@13322 32 make && make DESTDIR=$DESTDIR install
allan316@4064 33 }
allan316@4064 34
allan316@4064 35 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@4064 36 genpkg_rules()
allan316@4064 37 {
allan316@4064 38 mkdir -p $fs/usr/lib
pascal@13322 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13322 40 cp -a $install/usr/lib/libhangul $fs/usr/lib
allan316@4064 41 }
allan316@4064 42