mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/libgdiplus: new aport
This commit is contained in:
parent
fdbca71c9e
commit
77656c449b
50
testing/libgdiplus/APKBUILD
Normal file
50
testing/libgdiplus/APKBUILD
Normal file
@ -0,0 +1,50 @@
|
||||
# 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
|
||||
rm -f "$pkgdir"/usr/lib/*.la
|
||||
}
|
||||
|
||||
md5sums="b8fd78c2adce16498354c2476a248d98 libgdiplus-3.12.tar.gz"
|
||||
sha256sums="e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9 libgdiplus-3.12.tar.gz"
|
||||
sha512sums="12c58e7ad99e5aa7caf19f64f47bddd399648292f3c2b9ade64e9051b0495bb8772af8ca9cdb6cb664d20c845d7136f028e10e659548bffd35e7604548bb8743 libgdiplus-3.12.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user