diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-27 13:40:16 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-08-27 13:40:57 +0200 |
commit | f4397b008212b6b3595a28785e60fb91e62f1cfb (patch) | |
tree | 318e79c1ca038036b4175d69476fc5f1c92c98bf /main/util-linux | |
parent | edefd680f694895f1c9cc335381db3c243a59990 (diff) | |
download | aports-f4397b008212b6b3595a28785e60fb91e62f1cfb.tar.bz2 aports-f4397b008212b6b3595a28785e60fb91e62f1cfb.tar.xz |
main/util-linux: subpackages for libfdisk and libsmartcols
fix make dependency for eudev too
Diffstat (limited to 'main/util-linux')
-rw-r--r-- | main/util-linux/APKBUILD | 20 |
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= |