aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-03-22 15:04:23 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-03-26 10:11:43 +0000
commit3388cf5f81e2d4cc1ef065d621b52b6ee06b29c5 (patch)
treeacdb73d6ebfdfcfc37200c269129a3a410ae0af3 /main
parent279436c41016beb7c2a4086f601dc67a3d9b886c (diff)
downloadaports-3388cf5f81e2d4cc1ef065d621b52b6ee06b29c5.tar.gz
aports-3388cf5f81e2d4cc1ef065d621b52b6ee06b29c5.tar.bz2
aports-3388cf5f81e2d4cc1ef065d621b52b6ee06b29c5.tar.xz
main/ntfs-3g: upgrade to 2016.2.22, split to subpackages (libs, progs)
Diffstat (limited to 'main')
-rw-r--r--main/ntfs-3g/APKBUILD27
1 files changed, 18 insertions, 9 deletions
diff --git a/main/ntfs-3g/APKBUILD b/main/ntfs-3g/APKBUILD
index 51ce04e2ce..74531bee35 100644
--- a/main/ntfs-3g/APKBUILD
+++ b/main/ntfs-3g/APKBUILD
@@ -1,21 +1,22 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ntfs-3g
-pkgver=2015.3.14
+_pkgreal=ntfs-3g_ntfsprogs
+pkgver=2016.2.22
pkgrel=0
-pkgdesc="A userspace ntfs driver with write support"
+pkgdesc="Stable, full-featured, read-write NTFS driver"
url="http://www.tuxera.com/community/ntfs-3g-download/"
arch="all"
license="GPL"
depends=
makedepends="attr-dev util-linux-dev linux-headers"
-subpackages="$pkgname-doc $pkgname-dev"
-source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz
+subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-progs"
+source="http://tuxera.com/opensource/$_pkgreal-$pkgver.tgz
musl-fixes.patch
"
-_builddir="$srcdir"/ntfs-3g_ntfsprogs-$pkgver
-
+_builddir="$srcdir"/$_pkgreal-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
@@ -44,9 +45,17 @@ package() {
make -j1 DESTDIR="$pkgdir" LDCONFIG=: install || return 1
}
-md5sums="8cd57768310e3b2be39b3191d808e241 ntfs-3g_ntfsprogs-2015.3.14.tgz
+progs() {
+ pkgdesc="Stable, full-featured, read-write NTFS userspace utilities"
+ mkdir -p "$subpkgdir"/sbin
+ mv "$pkgdir"/usr "$pkgdir"/lib "$subpkgdir"/
+ mv "$pkgdir"/sbin/mkfs.ntfs "$subpkgdir"/sbin
+ rm -fr "$subpkgdir"/lib "$subpkgdir"/usr/lib
+}
+
+md5sums="ccbe8672d0f757bd0c975b50aa4c512e ntfs-3g_ntfsprogs-2016.2.22.tgz
cdfca9f0d20ef96ec60e072ffe4fd061 musl-fixes.patch"
-sha256sums="97f996015d8316d4a272bd2629978e5e97072dd3cc148ce39802f8037c6538f2 ntfs-3g_ntfsprogs-2015.3.14.tgz
+sha256sums="d7b72c05e4b3493e6095be789a760c9f5f2b141812d5b885f3190c98802f1ea0 ntfs-3g_ntfsprogs-2016.2.22.tgz
f60f15b5650ada189d880ffea0e199869b3d5e855913d353cab8b0b7ebc47ae4 musl-fixes.patch"
-sha512sums="9744dee814e89a97050bc8beb76f1a7d8a585e7d7740e8041e393c6912c93e49803f9b41af84e8315b3162e58b19ca8d155d435395cb07ecaa7de9caaf2af441 ntfs-3g_ntfsprogs-2015.3.14.tgz
+sha512sums="dbd36fadd2881db1d17fdbf5d2b4e50bbe11dc9dd0ad4917e7f8bc4032c2287346143756ce8754df0d46ce9209f2c0c41b626cad929d76a9bc881712c7101c15 ntfs-3g_ntfsprogs-2016.2.22.tgz
5b4680956f11c75ee3122923f36b840e2a0a38e6cebecbe7be4a02f4423746f8b7d7a89b16d7a9bea62e64534d20e87503beb582273af38d458b946387e85a02 musl-fixes.patch"