Commit 858932ce authored by Valery Kartel's avatar Valery Kartel Committed by Natanael Copa

main/e2fsprogs: libraries moved to -libs subpackage. libcomm_err development...

main/e2fsprogs: libraries moved to -libs subpackage. libcomm_err development scripts and data moved from main package to -dev subpackage
parent 8e7d0b9a
# 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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment