wok-next annotate potrace/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 | f48456621a9d |
children |
rev | line source |
---|---|
al@20224 | 1 # SliTaz package receipt v2. |
al@20224 | 2 |
al@20224 | 3 PACKAGE="potrace" |
al@20648 | 4 VERSION="1.15" |
al@20224 | 5 CATEGORY="graphics" |
al@20224 | 6 SHORT_DESC="Transform bitmaps into vector graphics" |
al@20224 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20224 | 8 LICENSE="GPL" |
al@20224 | 9 WEB_SITE="http://potrace.sourceforge.net/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/potrace.html" |
al@20224 | 11 |
al@20224 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20224 | 13 WGET_URL="$SF_MIRROR/potrace/$TARBALL" |
al@20224 | 14 |
al@20224 | 15 BUILD_DEPENDS="zlib-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@20224 | 17 |
al@20224 | 18 compile_rules() { |
al@20224 | 19 ./configure \ |
al@20648 | 20 --disable-static \ |
al@20224 | 21 --enable-metric \ |
al@20224 | 22 --enable-a4 \ |
al@20224 | 23 --with-libpotrace \ |
al@20224 | 24 $CONFIGURE_ARGS && |
al@20604 | 25 fix libtool && |
al@20224 | 26 make && |
al@20224 | 27 make install |
al@20224 | 28 } |
al@20224 | 29 |
al@20224 | 30 genpkg_rules() { |
al@20224 | 31 case $PACKAGE in |
al@20224 | 32 potrace) |
al@20224 | 33 copy @std |
al@20224 | 34 DEPENDS="zlib" |
al@20224 | 35 ;; |
al@20224 | 36 *-dev) |
al@20224 | 37 copy @dev |
al@20224 | 38 ;; |
al@20224 | 39 esac |
al@20224 | 40 } |