wok-6.x view graphicsmagick/receipt @ rev 24408

ncurses-dev: copy pkgconfig
author Hans-G?nter Theisgen
date Wed Feb 09 14:18:05 2022 +0100 (2022-02-09)
parents a5d5850f11c2
children 0fec748fcb52
line source
1 # SliTaz package receipt.
3 PACKAGE="graphicsmagick"
4 VERSION="1.3.34"
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="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|.*href="|"https://sourceforge.net|;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 DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }