summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 05:22:25 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 05:22:25 -0500
commit01a93eab1836ce9ec64288b2f68ed9681ca6cf2a (patch)
treebb35d83988a8ce37bc9d4229d107f9367246f8ac /user
parent9125c5b6e4cff962f1ebe59aabc675db9d70051f (diff)
downloadpackages-01a93eab1836ce9ec64288b2f68ed9681ca6cf2a.tar.gz
packages-01a93eab1836ce9ec64288b2f68ed9681ca6cf2a.tar.bz2
packages-01a93eab1836ce9ec64288b2f68ed9681ca6cf2a.tar.xz
packages-01a93eab1836ce9ec64288b2f68ed9681ca6cf2a.zip
user/libart-lgpl: pull in, modernise
Diffstat (limited to 'user')
-rw-r--r--user/libart-lgpl/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libart-lgpl/APKBUILD b/user/libart-lgpl/APKBUILD
new file mode 100644
index 000000000..e234aeced
--- /dev/null
+++ b/user/libart-lgpl/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer:
+pkgname=libart-lgpl
+pkgver=2.3.21
+pkgrel=6
+pkgdesc="Library for high-performance 2D graphics"
+url="http://www.levien.com/libart/"
+arch="all"
+options="!check" # No test suite.
+license="LGPL-2.0+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="https://download.gnome.org/sources/libart_lgpl/2.3/libart_lgpl-$pkgver.tar.bz2"
+
+builddir="$srcdir"/libart_lgpl-$pkgver
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="8a632a6a4da59e5e8c02ec2f5a57e36d182b325b46513765425e5f171ff9ae326af1b133725beba28f7e76654309e001aee9bace727b5b4c8589405256a3c020 libart_lgpl-2.3.21.tar.bz2"