wok-next annotate libharu/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | |
children | 25deb7c6df08 |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
al@19868 | 2 |
al@19868 | 3 PACKAGE="libharu" |
al@19868 | 4 VERSION="2.3.0" |
al@19868 | 5 CATEGORY="libs" |
al@19868 | 6 SHORT_DESC="C library for generating PDF documents" |
al@19868 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19868 | 8 LICENSE="zlib/libpng" |
al@19868 | 9 WEB_SITE="https://github.com/libharu/libharu" |
al@19868 | 10 |
al@19868 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19868 | 12 WGET_URL="https://github.com/libharu/libharu/archive/RELEASE_${VERSION//./_}.tar.gz" |
al@19868 | 13 |
al@19868 | 14 BUILD_DEPENDS="automake libtool zlib-dev libpng16-dev" |
al@19868 | 15 SPLIT="libharu-dev" |
al@19868 | 16 |
al@19868 | 17 # Rules to configure and make the package. |
al@19868 | 18 compile_rules() |
al@19868 | 19 { |
al@19868 | 20 touch include/config.h.in |
al@19868 | 21 aclocal && |
al@19868 | 22 libtoolize && |
al@19868 | 23 automake --add-missing && |
al@19868 | 24 autoconf && |
al@19868 | 25 ./configure $CONFIGURE_ARGS && |
al@19868 | 26 make && |
al@19868 | 27 make DESTDIR=$install install |
al@19868 | 28 } |
al@19868 | 29 |
al@19868 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19868 | 31 genpkg_rules() |
al@19868 | 32 { |
al@19868 | 33 case $PACKAGE in |
al@19868 | 34 libharu) |
al@19868 | 35 copy @std |
al@19868 | 36 DEPENDS="libpng16 zlib" |
al@19868 | 37 ;; |
al@19868 | 38 *-dev) |
al@19868 | 39 copy @dev |
al@19868 | 40 DEPENDS="libharu libpng16-dev zlib-dev" |
al@19868 | 41 ;; |
al@19868 | 42 esac |
al@19868 | 43 } |