wok-next view libhangul/receipt @ rev 20533

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents 4904e3d374a9
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://kldp.net/projects/hangul"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://libhangul.googlecode.com/files/$TARBALL"
14 SPLIT="libhangul-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --datadir=/usr/lib \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libhangul)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/lib/libhangul $fs/usr/lib
32 ;;
33 *-dev)
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.a $fs/usr/lib
36 cp -a $install/usr/lib/*.la $fs/usr/lib
37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 ;;
40 esac
41 }