wok-next view libharu/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents
children 25deb7c6df08
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libharu"
4 VERSION="2.3.0"
5 CATEGORY="libs"
6 SHORT_DESC="C library for generating PDF documents"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="https://github.com/libharu/libharu"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libharu/libharu/archive/RELEASE_${VERSION//./_}.tar.gz"
14 BUILD_DEPENDS="automake libtool zlib-dev libpng16-dev"
15 SPLIT="libharu-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 touch include/config.h.in
21 aclocal &&
22 libtoolize &&
23 automake --add-missing &&
24 autoconf &&
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 libharu)
35 copy @std
36 DEPENDS="libpng16 zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="libharu libpng16-dev zlib-dev"
41 ;;
42 esac
43 }