wok-next view libgd/receipt @ rev 20634
oxine: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 27 12:51:30 2018 +0200 (2018-04-27) |
parents | dd145c435e4b |
children | 342b30daff76 |
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="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 }