wok-next view libgd/receipt @ rev 21270
up openssl 1.1.1a to 1.1.1d
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:17:15 2019 +0000 (2019-12-07) |
parents | 5669e8b3be70 |
children |
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://libgd.github.io/"
10 REPOLOGY="gd"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GITHUB/libgd/libgd/tarball/gd-$VERSION"
15 BUILD_DEPENDS="automake libtool libx11-dev zlib-dev libpng-dev \
16 freetype-dev fontconfig-dev libjpeg-turbo-dev libxpm-dev tiff-dev \
17 libwebp-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 ./bootstrap.sh &&
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libgd)
31 copy @std
32 DEPENDS="fontconfig freetype libjpeg-turbo libpng libwebp libtiff \
33 libxpm zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libgd fontconfig-dev freetype-dev libjpeg-turbo-dev \
38 libpng-dev libwebp-dev tiff-dev libx11-dev libxpm-dev \
39 zlib-dev"
40 ;;
41 esac
42 }