summaryrefslogtreecommitdiff
path: root/repo/gd/gd.xibuild
blob: 65651e77f884f1d1e29fcaf0096b971dec1d98a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

NAME="gd"
DESC="Library for the dynamic creation of images by programmers"

MAKEDEPS=" libjpeg-turbo libpng libwebp freetype2 zlib"

PKG_VER=2.3.3
SOURCE="https://github.com/libgd/libgd/releases/download/gd-$PKG_VER/libgd-$PKG_VER.tar.xz"

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--without-fontconfig \
		--disable-werror
	make
}

check() {
	TMPDIR=/tmp make check
}

package() {
	make DESTDIR="$PKG_DEST" install
}