aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lua-tar
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/lua-tar
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/lua-tar')
-rw-r--r--unmaintained/lua-tar/APKBUILD47
-rw-r--r--unmaintained/lua-tar/enable-pic.patch11
2 files changed, 58 insertions, 0 deletions
diff --git a/unmaintained/lua-tar/APKBUILD b/unmaintained/lua-tar/APKBUILD
new file mode 100644
index 0000000000..f13d417876
--- /dev/null
+++ b/unmaintained/lua-tar/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=lua-tar
+pkgver=0.0
+pkgrel=0
+pkgdesc="Lua tar"
+url="http://luaforge.net/projects/luatar/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="lua-dev libtar-dev bzip2-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://files.luaforge.net/releases/luatar/luatar/luatar-$pkgver/luatar-$pkgver.tar.gz
+ enable-pic.patch"
+
+_builddir="$srcdir"/luatar-$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 HAVE_LIBTAR=1 DEBUG=0 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -m644 -D tar.lua \
+ $pkgdir/usr/share/lua/5.1/tar.lua || return 1
+ install -m755 -D ltar.so \
+ $pkgdir/usr/lib/lua/5.1/ltar.so || return 1
+}
+
+md5sums="d85e342e65c41e98daf285ef280e71ec luatar-0.0.tar.gz
+de6b512d8216b5ff03a2439963c51bd6 enable-pic.patch"
+sha256sums="5fafa306425f17996a9288c828b41f94c8eb17d0a01f541b3b221e4e9cc2a398 luatar-0.0.tar.gz
+44794ae4ddd1e4873a3b885607dd14015b9eed5a023740547f3e61d294347024 enable-pic.patch"
+sha512sums="11077a7c8806041654dc75dac0dac8c49497ff8ea55031f86c3bec7266624a164c403899f1bd8a41eeb06e076e0386927685b3c4eb600ff31e17c42c038b9acb luatar-0.0.tar.gz
+d1680dd9fbc96d3f58349f69820df0f879ad139703086e7934f60cbdeadb649ac744a9d3c9257273a088a3895e899b780d2eca5278096ea623277fd5b1d59600 enable-pic.patch"
diff --git a/unmaintained/lua-tar/enable-pic.patch b/unmaintained/lua-tar/enable-pic.patch
new file mode 100644
index 0000000000..ab234e2cea
--- /dev/null
+++ b/unmaintained/lua-tar/enable-pic.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.orig
++++ b/Makefile
+@@ -13,7 +13,7 @@
+ DEPS = $(SRCS:.c=.d)
+
+ CC = gcc
+-CFLAGS = -O2 -Wall
++CFLAGS = -O2 -Wall -fPIC
+ LDFLAGS = -s
+ LIBS =
+ DLEXT = so