wok-next view libharu/receipt @ rev 20736
netatalk-dev: update depends
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 20:07:48 2018 +0300 (2018-05-29) |
parents | 417f77dae192 |
children | d5aab818505e |
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 compile_rules() {
18 touch include/config.h.in
19 aclocal &&
20 libtoolize &&
21 automake --add-missing &&
22 autoconf &&
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libharu)
33 copy @std
34 DEPENDS="libpng16 zlib"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libharu libpng16-dev zlib-dev"
39 ;;
40 esac
41 }