34 lines
798 B
Text
Executable file
34 lines
798 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=libgd
|
|
version=2.3.0
|
|
build=1sml
|
|
homepage="https://libgd.github.io/"
|
|
download="https://github.com/libgd/libgd/releases/download/gd-$version/libgd-$version.tar.xz"
|
|
desc="Library for the dynamic creation of images by programmers"
|
|
requires="bzip2 util-linux fontconfig openjpeg libx11 libxpm libwebp"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
117df01bfdc38cc0caf72ed4d179e08f97d308ffb6ea291d603724f7ad2a703d7cd0da8ebd39f00413a385038cf844d492377d66657c889cd4eed53d98be7272 libgd-2.3.0.tar.lz
|
|
"
|