wok view graphicsmagick/receipt @ rev 25660
ntfsprogs: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 17 11:09:57 2024 +0000 (9 months ago) |
parents | 0fec748fcb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="graphicsmagick"
4 VERSION="1.3.37"
5 CATEGORY="graphics"
6 SHORT_DESC="The swiss army knife of image processing."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.graphicsmagick.org/"
11 SOURCE="GraphicsMagick"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="bzlib gcc-lib-base harfbuzz libgomp util-linux-uuid
16 xorg-libICE xorg-libSM"
17 BUILD_DEPENDS="jpeg-dev util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/graphicsmagick/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install DESTDIR=$DESTDIR
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_folders bin
43 }