wok-next view libgd/receipt @ rev 19701
tcptrack: remove -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 10:57:18 2017 +0200 (2017-04-26) |
parents | 5446046a1c29 |
children | f463de72afe3 |
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 cook_copy_folders bin
41 cook_copy_files *.so*
42 # split
43 rm $fs/usr/bin/gdlib-config
44 }