Mail archive
alpine-aports

[alpine-aports] [PATCH] main/e2fsprogs: libraries moved to -libs subpackage. libcomm_err development scripts and data moved from main package to -dev subpackage

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Thu, 10 Dec 2015 17:26:36 +0200

---
 main/e2fsprogs/APKBUILD | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index d33a73d..87b2c3f 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
_at_@ -1,7 +1,8 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=e2fsprogs
 pkgver=1.42.13
-pkgrel=0
+pkgrel=1
 pkgdesc="Standard Ext2/3/4 filesystem utilities"
 url="http://e2fsprogs.sourceforge.net"
 arch="all"
_at_@ -10,7 +11,7 @@ depends=
 install=
 depends_dev="util-linux-dev"
 makedepends="$depends_dev linux-headers"
-subpackages="$pkgname-dev $pkgname-doc libcom_err"
+subpackages="$pkgname-dev $pkgname-doc libcom_err $pkgname-libs"
 source="http://downloads.sourceforge.net/sourceforge/e2fsprogs/e2fsprogs-$pkgver.tar.gz"
 
 
_at_@ -48,6 +49,16 @@ package() {
 	make -j1 LDCONFIG=: DESTDIR="${pkgdir}" install install-libs || return 1
 }
 
+dev() {
+	default_dev
+	mkdir -p "$subpkgdir"/usr/bin
+	mkdir -p "$subpkgdir"/usr/share
+	mv "$pkgdir"/usr/bin/compile_et "$pkgdir"/usr/bin/mk_cmds \
+		"$subpkgdir"/usr/bin/
+	mv "$pkgdir"/usr/share/et "$pkgdir"/usr/share/ss \
+		"$subpkgdir"/usr/share
+}
+
 libcom_err() {
 	depends=
 	replaces="e2fsprogs"
-- 
2.6.3
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Dec 10 2015 - 17:26:36 GMT