diff options
author | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-03 13:05:13 +0100 |
commit | 66c326b6d65388e9f1003715ad9675505f01f9d2 (patch) | |
tree | 40d7355cccfa3464902cf339a563e744c28a7101 /repo/gd/gd.xibuild | |
parent | fccdaa986f67f820df2914bef851d5fed77abac8 (diff) |
added porting from alpine linux
Diffstat (limited to 'repo/gd/gd.xibuild')
-rw-r--r-- | repo/gd/gd.xibuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/gd/gd.xibuild b/repo/gd/gd.xibuild new file mode 100644 index 0000000..65651e7 --- /dev/null +++ b/repo/gd/gd.xibuild @@ -0,0 +1,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 +} + |