aboutsummaryrefslogtreecommitdiffstats
path: root/community/lha
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-11-03 10:34:34 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-11-03 10:34:34 +0000
commite8649e37da615e0a34e650f84371bc6136c975af (patch)
tree1a6fc73c0e1600336d3e9cba7f7e4276abe37eb6 /community/lha
parent2efce9de01002f2fe7581dfec8833d9c41c14dd2 (diff)
downloadaports-e8649e37da615e0a34e650f84371bc6136c975af.tar.bz2
aports-e8649e37da615e0a34e650f84371bc6136c975af.tar.xz
community/lha: moved from main
Diffstat (limited to 'community/lha')
-rw-r--r--community/lha/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/lha/APKBUILD b/community/lha/APKBUILD
new file mode 100644
index 0000000000..d408b5e054
--- /dev/null
+++ b/community/lha/APKBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+pkgname=lha
+pkgver=1.14i
+pkgrel=2
+pkgdesc="Compression and archive utility for LH-7 format archives"
+url="http://www.infor.kanazawa-it.ac.jp/~ishii/lhaunix/"
+arch="all"
+license="custom"
+subpackages="$pkgname-doc"
+depends=""
+makedepends=""
+install=
+source="http://osdn.dl.sourceforge.jp/lha/22231/$pkgname-$pkgver-ac20050924p1.tar.gz"
+
+_builddir="$srcdir/$pkgname-$pkgver-ac20050924p1"
+prepare() {
+ cd "$_builddir"
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make "DESTDIR=$pkgdir" install
+ #install -D -m755 $srcdir/lha $pkgdir/usr/bin/lha
+}
+
+md5sums="9f52430410928ba4390a73a41a36d56f lha-1.14i-ac20050924p1.tar.gz"