wok-next diff potrace/receipt @ rev 20532

moc, mypaint: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 26 13:35:23 2018 +0200 (2018-03-26)
parents
children 10df65db91ad
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/potrace/receipt	Mon Mar 26 13:35:23 2018 +0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="potrace"
     1.7 +VERSION="1.14"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Transform bitmaps into vector graphics"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://potrace.sourceforge.net/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$SF_MIRROR/potrace/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="zlib-dev"
    1.18 +SPLIT="potrace-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	./configure \
    1.22 +		--enable-metric \
    1.23 +		--enable-a4 \
    1.24 +		--with-libpotrace \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +genpkg_rules() {
    1.31 +	case $PACKAGE in
    1.32 +		potrace)
    1.33 +			copy @std
    1.34 +			DEPENDS="zlib"
    1.35 +			;;
    1.36 +		*-dev)
    1.37 +			copy @dev
    1.38 +			;;
    1.39 +	esac
    1.40 +}