From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/gd/gd.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/gd/gd.xibuild (limited to 'repo/gd/gd.xibuild') 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 +} + -- cgit v1.2.1