diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-02 18:02:59 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-06-02 18:02:59 +0000 |
commit | b7d7e6463401eda3bd05e26c74b355e63345e564 (patch) | |
tree | d340e899cdbb6bbc885cf5f16390bd43a7b48708 /testing | |
parent | 1c5eeb6a33ab593e22a43bb7b36fe3e1021bf731 (diff) | |
download | aports-b7d7e6463401eda3bd05e26c74b355e63345e564.tar.bz2 aports-b7d7e6463401eda3bd05e26c74b355e63345e564.tar.xz |
main/lua-cjson: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lua-cjson/APKBUILD | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/testing/lua-cjson/APKBUILD b/testing/lua-cjson/APKBUILD deleted file mode 100644 index 2126d959a..000000000 --- a/testing/lua-cjson/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=lua-cjson -pkgver=1.0.4 -pkgrel=0 -pkgdesc="fast JSON parsing and encoding support for Lua" -url="http://www.kyne.com.au/~mark/software/lua-cjson.php" -arch="all" -license="MIT" -depends="" -makedepends="lua-dev" -install="" -subpackages="" -source="http://www.kyne.com.au/~mark/software/lua-cjson-$pkgver.tar.gz" - -_builddir="$srcdir"/lua-cjson-$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" - make CFLAGS_EXTRA= PREFIX=/usr|| return 1 -} - -package() { - cd "$_builddir" - make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib/*.la -} - -md5sums="9b04196a37f724c7530794248f8e1f96 lua-cjson-1.0.4.tar.gz" |