wok-next view libgd/receipt @ rev 20407

Up miniupnp (2.0.20171212)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 18 12:55:43 2017 +0100 (2017-12-18)
parents f463de72afe3
children dd145c435e4b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgd"
4 VERSION="2.2.5"
5 CATEGORY="graphics"
6 SHORT_DESC="Library for the dynamic creation of images"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.libgd.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GITHUB/libgd/libgd/tarball/gd-$VERSION"
14 BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev \
15 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool gettext \
16 fontconfig-dev"
17 BUILD_DEPENDS="automake libtool xorg-libX11-dev zlib-dev libpng16-dev \
18 freetype-dev fontconfig-dev libjpeg-turbo-dev xorg-libXpm-dev tiff-dev \
19 libwebp-dev"
20 SPLIT="libgd-dev"
22 compile_rules() {
23 ./bootstrap.sh &&
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgd)
30 copy @std
31 DEPENDS="bzlib fontconfig freetype glib libharfbuzz libjpeg-turbo \
32 liblzma libpng16 libwebp libxml2 pcre tiff xorg-libX11 xorg-libXau \
33 xorg-libXdmcp xorg-libXpm xorg-libxcb zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libgd bzip2-dev fontconfig-dev freetype-dev glib-dev \
38 harfbuzz-dev libjpeg-turbo-dev libpng16-dev libwebp-dev \
39 libxml2-dev pcre-dev tiff-dev xorg-libX11-dev xorg-libXau-dev \
40 xorg-libXdmcp-dev xorg-libXpm-dev xorg-libxcb-dev xz-dev zlib-dev"
41 ;;
42 esac
43 }