Commit deafe204 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/util-linux: split out findmnt package

parent d60da5b9
......@@ -8,12 +8,12 @@ case $pkgver in
*.*) _v=$pkgver;;
esac
pkgrel=0
pkgrel=1
pkgdesc="Random collection of Linux utilities"
url="http://kernel.org/~kzak/util-linux/"
arch="all"
license="GPL2 GPL2+ LGPL2+ BSD Public Domain"
depends=
depends="findmnt"
# use GNU sed til bb sed is fixed. Also GNU tar is needed
makedepends="zlib-dev sed ncurses-dev tar autoconf automake libtool python-dev linux-headers"
install=
......@@ -22,7 +22,7 @@ source="http://www.kernel.org/pub/linux/utils/util-linux/v${_v}/util-linux-$pkgv
ttydefaults.h
"
subpackages="$pkgname-doc $pkgname-dev libuuid libblkid libmount
libsmartcols libfdisk sfdisk cfdisk
libsmartcols libfdisk sfdisk cfdisk findmnt:_findmnt
mcookie blkid py-libmount:_py"
replaces="e2fsprogs util-linux-ng"
......@@ -138,6 +138,13 @@ mcookie() {
mv "$pkgdir"/usr/bin/mcookie "$subpkgdir"/usr/bin/
}
_findmnt() {
pkgdesc="findmnt from util-linux"
replaces=""
mkdir -p "$subpkgdir"/bin
mv "$pkgdir"/bin/findmnt "$subpkgdir"/bin
}
_py() {
pkgdesc="python bindings to libmount"
mkdir -p "$subpkgdir"/usr/lib
......
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