aboutsummaryrefslogtreecommitdiffstats
path: root/main/e2fsprogs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/e2fsprogs/APKBUILD')
-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"