aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-imlib2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-27 09:35:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-27 09:35:58 +0000
commit7959f3704ef6711fa17f343b9561d0f8d141248c (patch)
tree98bd9f0a9152380383785533091ce3f8774145b6 /main/lua-imlib2
parent476f68f71c848a4a885fe02a8986231420510e08 (diff)
downloadaports-7959f3704ef6711fa17f343b9561d0f8d141248c.tar.bz2
aports-7959f3704ef6711fa17f343b9561d0f8d141248c.tar.xz
main/lua-imlib2: moved from testing
Diffstat (limited to 'main/lua-imlib2')
-rw-r--r--main/lua-imlib2/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/main/lua-imlib2/APKBUILD b/main/lua-imlib2/APKBUILD
new file mode 100644
index 0000000000..6e95117757
--- /dev/null
+++ b/main/lua-imlib2/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-imlib2
+pkgver=0.1
+pkgrel=0
+pkgdesc="A LUA binding to the Imlib2 image manipulation library"
+url="http://asbradbury.org/projects/lua-imlib2/"
+license="MIT"
+depends=
+makedepends="lua-dev imlib2-dev"
+install=
+source="http://luaforge.net/frs/download.php/3042/lua-imlib2-$pkgver.tar.gz"
+
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -D limlib2.so "$pkgdir"/usr/lib/lua/5.1/limlib2.so
+ install -D imlib2.lua "$pkgdir"/usr/share/lua/5.1/imlib2.lua
+}
+
+md5sums="f90d5d70ea8af6b66ee2e3071a08ec00 lua-imlib2-0.1.tar.gz"