wok annotate graphicsmagick/receipt @ rev 25040
cups-filters: use standard c++14
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 27 07:47:27 2022 +0100 (2022-05-27) |
parents | 932cd974e081 |
children | 6b33f9da53d4 |
rev | line source |
---|---|
pascal@19970 | 1 # SliTaz package receipt. |
pascal@19970 | 2 |
pascal@19970 | 3 PACKAGE="graphicsmagick" |
Hans-G?nter@24621 | 4 VERSION="1.3.37" |
pascal@19970 | 5 CATEGORY="graphics" |
pascal@19970 | 6 SHORT_DESC="The swiss army knife of image processing." |
pascal@19970 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19970 | 8 LICENSE="MIT" |
Hans-G?nter@20999 | 9 WEB_SITE="http://www.graphicsmagick.org/" |
Hans-G?nter@20999 | 10 |
Hans-G?nter@20999 | 11 SOURCE="GraphicsMagick" |
pascal@19970 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@19970 | 13 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@19970 | 14 |
Hans-G?nter@24621 | 15 DEPENDS="bzlib gcc-lib-base harfbuzz libgomp util-linux-uuid |
Hans-G?nter@22879 | 16 xorg-libICE xorg-libSM" |
Hans-G?nter@24621 | 17 BUILD_DEPENDS="jpeg-dev util-linux-uuid-dev" |
pascal@19970 | 18 |
pascal@24403 | 19 # What is the latest version available today? |
pascal@24403 | 20 current_version() |
pascal@24403 | 21 { |
pascal@24403 | 22 wget -O - https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/ 2>/dev/null | \ |
pascal@24403 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 24 sed '/scope="row/!d;s|.*/graphicsmagick/||;s|/.*||;q' |
pascal@24403 | 25 } |
pascal@24403 | 26 |
pascal@19970 | 27 # Rules to configure and make the package. |
pascal@19970 | 28 compile_rules() |
pascal@19970 | 29 { |
Hans-G?nter@20999 | 30 ./configure \ |
Hans-G?nter@20999 | 31 --prefix=/usr \ |
Hans-G?nter@20999 | 32 --infodir=/usr/share/info \ |
Hans-G?nter@20999 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@20999 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22879 | 35 make && |
Hans-G?nter@24621 | 36 make install DESTDIR=$DESTDIR |
pascal@19970 | 37 } |
pascal@19970 | 38 |
pascal@19970 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19970 | 40 genpkg_rules() |
pascal@19970 | 41 { |
Hans-G?nter@24621 | 42 cook_copy_folders bin |
pascal@19970 | 43 } |