wok-next view libgd/receipt @ rev 19938

compiz-ccsm: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 15 17:46:43 2017 +0200 (2017-10-15)
parents daa754d4b004
children 46e497b9cae2
line source
1 # SliTaz package receipt.
3 PACKAGE="libgd"
4 VERSION="2.2.4"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GITHUB/libgd/libgd/tarball/gd-$VERSION"
15 DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \
16 xorg-libXau xorg-libXdmcp xorg-libXpm"
17 BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev \
18 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool gettext \
19 fontconfig-dev"
21 # Cross compilation use some build host tools
22 case "$ARCH" in
23 i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
24 arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./bootstrap.sh &&
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 copy bin/ *.so*
41 # split
42 rm $fs/usr/bin/gdlib-config
43 }