mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 03:47:13 +08:00
31 lines
853 B
Bash
31 lines
853 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=gd
|
|
pkgver=2.0.36RC1
|
|
pkgrel=4
|
|
pkgdesc="Library for the dynamic creation of images by programmers"
|
|
arch=('x86_64')
|
|
url="http://www.libgd.org/"
|
|
license=('custom')
|
|
depends=('perl' 'libpng>=1.4.0' 'fontconfig' 'libjpeg-turbo')
|
|
options=('!libtool')
|
|
source=("http://www.chakra-linux.org/sources/gd/${pkgname}-${pkgver}.tar.bz2"
|
|
'libpng14.patch')
|
|
md5sums=('e876979ca3130623a4e7866d9579171a'
|
|
'7921556f4960e8d66cf4fb67ea7101b5')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
patch -p1 -i ${srcdir}/libpng14.patch
|
|
./configure --prefix=/usr --without-xpm
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
} |