wok-next annotate 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
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@21020 15 SPLIT="$PACKAGE-dev"
al@19868 16
al@20577 17 compile_rules() {
al@19868 18 touch include/config.h.in
al@19868 19 aclocal &&
al@19868 20 libtoolize &&
al@19868 21 automake --add-missing &&
al@19868 22 autoconf &&
al@20577 23
al@19868 24 ./configure $CONFIGURE_ARGS &&
al@20577 25 fix libtool &&
al@19868 26 make &&
al@19868 27 make DESTDIR=$install install
al@19868 28 }
al@19868 29
al@20577 30 genpkg_rules() {
al@19868 31 case $PACKAGE in
al@19868 32 libharu)
al@19868 33 copy @std
al@19868 34 DEPENDS="libpng16 zlib"
al@19868 35 ;;
al@19868 36 *-dev)
al@19868 37 copy @dev
al@19868 38 DEPENDS="libharu libpng16-dev zlib-dev"
al@19868 39 ;;
al@19868 40 esac
al@19868 41 }