aboutsummaryrefslogtreecommitdiffstats
path: root/main/e2fsprogs
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2015-12-10 17:26:36 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-11 10:06:38 +0000
commit858932ce436f9fc7752c95feeeb3c15243941af2 (patch)
treeb08f9a578322169d5540fb191b3d5aabbdb30515 /main/e2fsprogs
parent8e7d0b9a40ba0be9270ec11a82bd26bc979f1779 (diff)
downloadaports-858932ce436f9fc7752c95feeeb3c15243941af2.tar.bz2
aports-858932ce436f9fc7752c95feeeb3c15243941af2.tar.xz
main/e2fsprogs: libraries moved to -libs subpackage. libcomm_err development scripts and data moved from main package to -dev subpackage
Diffstat (limited to 'main/e2fsprogs')
-rw-r--r--main/e2fsprogs/APKBUILD15
1 files changed, 13 insertions, 2 deletions
diff --git a/main/e2fsprogs/APKBUILD b/main/e2fsprogs/APKBUILD
index d33a73d9c8..87b2c3f47e 100644
--- a/main/e2fsprogs/APKBUILD
+++ b/main/e2fsprogs/APKBUILD
@@ -1,7 +1,8 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@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"
@@ -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"
@@ -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"