wok-next view libgd/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 0ec6086e21d6 |
children | df20b2110f7e |
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="automake libtool xorg-libX11-dev zlib-dev libpng16-dev \
15 freetype-dev fontconfig-dev libjpeg-turbo-dev xorg-libXpm-dev tiff-dev \
16 libwebp-dev"
17 SPLIT="libgd-dev"
19 compile_rules() {
20 ./bootstrap.sh &&
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgd)
30 copy @std
31 DEPENDS="fontconfig freetype libjpeg-turbo libpng16 libwebp tiff \
32 xorg-libXpm zlib"
33 ;;
34 *-dev)
35 copy @dev
36 DEPENDS="libgd fontconfig-dev freetype-dev libjpeg-turbo-dev \
37 libpng16-dev libwebp-dev tiff-dev xorg-libX11-dev xorg-libXpm-dev \
38 zlib-dev"
39 ;;
40 esac
41 }