wok-next view libharu/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 25deb7c6df08
children 5669e8b3be70
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="$PACKAGE-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 }