wok-current view libhangul/receipt @ rev 24866

updated lv2 (1.16.0 -> 1.18.2)
author Hans-G?nter Theisgen
date Wed Mar 30 17:00:58 2022 +0100 (2022-03-30)
parents 3cda55aed22c
children 00e3b45c063b
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="http://libhangul.googlecode.com/files/$TARBALL"
13 DEPENDS=""
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE/tags 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --datadir=/usr/lib \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/libhangul $fs/usr/lib
41 }