blob: ed7396ea0f1b7cbe64f989964d9594f50541a56d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=libgdiplus
pkgver=3.12
pkgrel=0
pkgdesc="An Open Source Implementation of the GDI+ API"
url="http://www.mono-project.com"
arch="all"
license="LGPL"
depends=""
depends_dev="tiff-dev cairo-dev libexif-dev glib-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.mono-project.com/sources/libgdiplus/libgdiplus-$pkgver.tar.gz"
_builddir="$srcdir"/libgdiplus-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="b8fd78c2adce16498354c2476a248d98 libgdiplus-3.12.tar.gz"
sha256sums="e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9 libgdiplus-3.12.tar.gz"
sha512sums="12c58e7ad99e5aa7caf19f64f47bddd399648292f3c2b9ade64e9051b0495bb8772af8ca9cdb6cb664d20c845d7136f028e10e659548bffd35e7604548bb8743 libgdiplus-3.12.tar.gz"
|