diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-28 03:27:16 +0000 |
commit | 462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch) | |
tree | 11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/lua-cyrussasl | |
parent | 748e32a3a886569b58a27003e85b76be5746153d (diff) |
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/lua-cyrussasl')
-rw-r--r-- | pcr/lua-cyrussasl/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/lua-cyrussasl/lua-cyrussasl.patch | 35 |
2 files changed, 0 insertions, 68 deletions
diff --git a/pcr/lua-cyrussasl/PKGBUILD b/pcr/lua-cyrussasl/PKGBUILD deleted file mode 100644 index bc2fa8a32..000000000 --- a/pcr/lua-cyrussasl/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Dwayne Bent <dbb.1@liqd.org> - -pkgname=lua-cyrussasl -pkgver=1.0.0 -pkgrel=2 -pkgdesc="Lua bindings for Cyrus SASL library." -arch=('i686' 'x86_64' 'mips64el') -url="http://github.com/JorjBauer/lua-cyrussasl" -license=('BSD') -makedepends=('lua51' 'libsasl') -source=( - "lua-cyrussasl-$pkgver.tar.gz::https://github.com/JorjBauer/lua-cyrussasl/tarball/v$pkgver" - "lua-cyrussasl.patch" -) -md5sums=('40c94c06441e1e47640d81b125742969' - '838d383edc30f059ddae44cd564e0b82') - -build() { - cd $srcdir/*-lua-cyrussasl-* - patch -Np1 -i ${srcdir}/lua-cyrussasl.patch - make -} - -package() { - mkdir -p "$pkgdir/usr/lib/lua/5.1" - mkdir -p "$pkgdir/usr/share/licenses/lua-cyrussasl" - - cd $srcdir/*-lua-cyrussasl-* - - make DESTDIR=${pkgdir} install - install -m644 "LICENSE" "$pkgdir/usr/share/licenses/lua-cyrussasl/LICENSE" -} - diff --git a/pcr/lua-cyrussasl/lua-cyrussasl.patch b/pcr/lua-cyrussasl/lua-cyrussasl.patch deleted file mode 100644 index e119ccb3b..000000000 --- a/pcr/lua-cyrussasl/lua-cyrussasl.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- lua-cyrussasl.orig/Makefile 2010-07-06 12:01:15.000000000 -0500 -+++ lua-cyrussasl/Makefile 2013-02-17 17:07:33.896240233 -0500 -@@ -4,12 +4,18 @@ - #LUAPATH=/usr/share/lua/5.1 - #CPATH=/usr/lib/lua/5.1 - -+# Linux (Arch Linux) -+CFLAGS=-g -O2 -fpic -I/usr/include/lua5.1 -+LDFLAGS=-O -shared -fpic -lsasl2 -+LUAPATH=/usr/share/lua/5.1 -+CPATH=/usr/lib/lua/5.1 -+ - # MacOS --CFLAGS=-g -Wall -O2 --LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 --MACOSX_VERSION=10.5 --LUAPATH=/usr/local/share/lua/5.1 --CPATH=/usr/local/lib/lua/5.1 -+#CFLAGS=-g -Wall -O2 -+#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2 -+#MACOSX_VERSION=10.5 -+#LUAPATH=/usr/local/share/lua/5.1 -+#CPATH=/usr/local/lib/lua/5.1 - - ######################################################### - # -@@ -28,7 +34,7 @@ - all: $(TARGET) - - install: $(TARGET) -- cp $(TARGET) $(CPATH) -+ cp $(TARGET) $(DESTDIR)$(CPATH) - - clean: - rm -f *.o *.so *~ |