diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/lua-zlib | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/lua-zlib')
-rw-r--r-- | community/lua-zlib/ChangeLog | 42 | ||||
-rw-r--r-- | community/lua-zlib/PKGBUILD | 42 |
2 files changed, 84 insertions, 0 deletions
diff --git a/community/lua-zlib/ChangeLog b/community/lua-zlib/ChangeLog new file mode 100644 index 000000000..881a6885b --- /dev/null +++ b/community/lua-zlib/ChangeLog @@ -0,0 +1,42 @@ +2010-02-18 Dwayne Bent <dbb.0@liqd.org> + + * PKGBUILD: + Actually build the library + [b994a1eae8e4] [tip] + +2010-02-15 Dwayne Bent <dbb.1@liqd.org> + + * .hgtags: + Added tag v20100215-1 for changeset 82cf8c12f58d + [5e6e628919ec] + + * ChangeLog, PKGBUILD: + Added ChangeLog + [82cf8c12f58d] [v20100215-1] + + * PKGBUILD: + Install license file + [470c65e1d08b] + + * PKGBUILD: + Updated email address + [cf9fdc7b9cc5] + + * PKGBUILD: + Change package name to reflect the type of package this actually is + [39b61ef661d7] + + * PKGBUILD: + Clean up PKGBUILD + [183b11d1286e] + +2009-11-26 Dwayne Bent <dbb.0@liqd.org> + + * .hgtags: + Added tag v20091125-1 for changeset 8e6cc75fb38b + [72c8c117a64c] + + * Makefile, PKGBUILD: + Initial commit + [8e6cc75fb38b] [v20091125-1] + diff --git a/community/lua-zlib/PKGBUILD b/community/lua-zlib/PKGBUILD new file mode 100644 index 000000000..17a34d721 --- /dev/null +++ b/community/lua-zlib/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 93359 2013-07-02 09:43:15Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=(lua-zlib lua51-zlib) +pkgbase=lua-zlib +pkgver=20130702 +pkgrel=1 +url="http://github.com/brimworks/lua-zlib" +pkgdesc='Simple streaming interface to zlib for Lua.' +arch=('i686' 'x86_64') +license=('MIT') +makedepends=('cmake' 'lua' 'lua51' 'zlib' 'git') +conflicts=('lua-lzlib') +#source=("lua-zlib-$pkgver.zip::https://github.com/brimworks/lua-zlib/zipball/v$pkgver") +source=("git://github.com/brimworks/lua-zlib.git") +md5sums=('SKIP') + +build() { + cp -a $srcdir/lua-zlib $srcdir/lua51-zlib + + cd $srcdir/lua-zlib + gcc -o zlib.so -O2 -fPIC -shared lua_zlib.c -llua -lz + + cd $srcdir/lua51-zlib + gcc -o zlib.so -O2 -fPIC -shared -I/usr/include/lua5.1 lua_zlib.c -llua5.1 -lz +} + +package_lua-zlib() { + depends=('zlib' 'lua') + + cd $srcdir/lua-zlib + install -Dm0755 zlib.so $pkgdir/usr/lib/lua/5.2/zlib.so + install -Dm644 "README" "$pkgdir/usr/share/licenses/$pkgname/README" +} + +package_lua51-zlib() { + depends=('zlib' 'lua51') + + cd $srcdir/lua51-zlib + install -Dm0755 zlib.so $pkgdir/usr/lib/lua/5.1/zlib.so + install -D -m644 "README" "$pkgdir/usr/share/licenses/$pkgname/README" +} |