wok-6.x annotate libhangul/receipt @ rev 24765

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (2022-03-18)
parents 3cda55aed22c
children 00e3b45c063b
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@13324 11 WGET_URL="http://libhangul.googlecode.com/files/$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