aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/util-linux/APKBUILD20
1 files changed, 17 insertions, 3 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD
index 99d2a31613..2836c389f4 100644
--- a/main/util-linux/APKBUILD
+++ b/main/util-linux/APKBUILD
@@ -8,20 +8,21 @@ 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=
# 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"
+makedepends="zlib-dev sed ncurses-dev tar autoconf automake libtool python-dev linux-headers eudev-dev"
install=
options="suid"
source="http://www.kernel.org/pub/linux/utils/util-linux/v${_v}/util-linux-$pkgver.tar.xz
ttydefaults.h
"
-subpackages="$pkgname-doc $pkgname-dev libuuid libblkid libmount sfdisk cfdisk
+subpackages="$pkgname-doc $pkgname-dev libuuid libblkid libmount
+ libsmartcols libfdisk sfdisk cfdisk
mcookie blkid py-libmount:_py"
replaces="e2fsprogs util-linux-ng"
@@ -104,6 +105,19 @@ libmount() {
mv "$pkgdir"/lib/libmount.so.* "$subpkgdir"/lib/
}
+libsmartcols() {
+ pkgdesc="Formatting library for ls-like programs."
+ depends=
+ mkdir -p "$subpkgdir"/lib
+ mv "$pkgdir"/lib/libsmartcols.so.* "$subpkgdir"/lib/
+}
+
+libfdisk() {
+ pkgdesc="Partitioning library for fdisk-like programs"
+ depends=
+ mkdir -p "$subpkgdir"/lib
+ mv "$pkgdir"/lib/libfdisk.so.* "$subpkgdir"/lib/
+}
sfdisk() {
pkgdesc="Partition table manipulator from util-linux"
depends=