31 lines
730 B
Text
Executable file
31 lines
730 B
Text
Executable file
APP=libgd
|
|
VERSION=2.3.0
|
|
BUILD=1sml
|
|
HOMEPAGE="https://libgd.github.io/"
|
|
DOWNLOAD="https://github.com/libgd/libgd/releases/download/gd-2.3.0/libgd-2.3.0.tar.xz"
|
|
DESC="Library for the dynamic creation of images by programmers"
|
|
REQUIRES="bzip2 util-linux fontconfig openjpeg libx11 libxpm libwebp"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $APP-$VERSION
|
|
|
|
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
|
|
cd $APP-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp COPYING $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
117df01bfdc38cc0caf72ed4d179e08f97d308ffb6ea291d603724f7ad2a703d7cd0da8ebd39f00413a385038cf844d492377d66657c889cd4eed53d98be7272 libgd-2.3.0.tar.lz
|
|
"
|