wok-next view libharu/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
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 }