aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mtd-utils
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2017-01-14 01:23:31 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-01-16 07:11:41 +0000
commita56d8f7e63c3601b05e7b2b30a5428cb5861f153 (patch)
tree3e9202620a34315764191a41d9f7e5b3241abcab /testing/mtd-utils
parent2d6473f71605603ced5e534fb683dadac3e37fe7 (diff)
downloadaports-a56d8f7e63c3601b05e7b2b30a5428cb5861f153.tar.bz2
aports-a56d8f7e63c3601b05e7b2b30a5428cb5861f153.tar.xz
testing/mtd-utils: Move from unmaintained. Upgrade to 2.0.0. Modernize.
It remains maintainerless for now. Maybe someone will volunteer.
Diffstat (limited to 'testing/mtd-utils')
-rw-r--r--testing/mtd-utils/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/mtd-utils/APKBUILD b/testing/mtd-utils/APKBUILD
new file mode 100644
index 0000000000..4582db88ab
--- /dev/null
+++ b/testing/mtd-utils/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer:
+pkgname=mtd-utils
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="Utilities for handling MTD devices, and for dealing with FTL, NFTL JFFS2, etc."
+url="http://www.linux-mtd.infradead.org/"
+arch="all"
+license="GPL2"
+makedepends="linux-headers lzo-dev util-linux-dev zlib-dev acl-dev"
+subpackages="$pkgname-doc"
+source="ftp://ftp.infradead.org/pub/mtd-utils/$pkgname-$pkgver.tar.bz2"
+
+builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ || return 1
+ make \
+ || return 1
+}
+
+package() {
+ cd "$builddir"
+ make install -j1 \
+ DESTDIR="$pkgdir" \
+ || return 1
+}
+
+md5sums="70b80fccdfc1b536a91deefb91f4e2be mtd-utils-2.0.0.tar.bz2"
+sha256sums="20a377aa86af4c102e930b0d0bb9859e3a10aeb16445f6a1273989b206a717c8 mtd-utils-2.0.0.tar.bz2"
+sha512sums="52d3fab58d254fd672f53b3f1868b19ca572a8f257fc86519d7afc7979776afa37c0f21d63cc9e9cdc2e342f1cfb2d077b07847f18f6484dc660077ee347f2fb mtd-utils-2.0.0.tar.bz2"