wok view libhangul/receipt @ rev 25787

qps: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 07:22:41 2024 +0000 (3 months ago)
parents 00e3b45c063b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libhangul"
4 VERSION="0.1.0"
5 CATEGORY="misc"
6 SHORT_DESC="library for Hangul"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/libhangul/libhangul"
11 WGET_URL="https://github.com/libhangul/libhangul/archive/refs/tags/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="automake gettext"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|AM_GNU_GETTEXT_VERSION(.*|AM_GNU_GETTEXT_VERSION(0.20)|' configure.ac
27 ./autogen.sh
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --datadir=/usr/lib \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/libhangul $fs/usr/lib
43 }