diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-01 07:31:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-01 07:31:26 +0000 |
commit | 9a784d2c51d4796622fc4b9e5ce6a1c99510071c (patch) | |
tree | 178c8c4047fcc417628010ffc82cc0778027244a /main/util-linux | |
parent | f8a81607259eb1e5396b0dc7af3f46f75624dcfa (diff) | |
download | aports-9a784d2c51d4796622fc4b9e5ce6a1c99510071c.tar.bz2 aports-9a784d2c51d4796622fc4b9e5ce6a1c99510071c.tar.xz |
main/util-linux: split out libmount to subpackage
Diffstat (limited to 'main/util-linux')
-rw-r--r-- | main/util-linux/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/main/util-linux/APKBUILD b/main/util-linux/APKBUILD index d3c3e4d14f..5ed17576c1 100644 --- a/main/util-linux/APKBUILD +++ b/main/util-linux/APKBUILD @@ -8,7 +8,7 @@ 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" @@ -21,7 +21,8 @@ source="http://www.kernel.org/pub/linux/utils/util-linux/v${_v}/util-linux-$pkgv fix-setenv-usage.patch ttydefaults.h " -subpackages="$pkgname-doc $pkgname-dev libuuid libblkid sfdisk cfdisk mcookie blkid" +subpackages="$pkgname-doc $pkgname-dev libuuid libblkid libmount sfdisk cfdisk + mcookie blkid" replaces="e2fsprogs util-linux-ng" _builddir="$srcdir/util-linux-$pkgver" @@ -90,10 +91,17 @@ libuuid() { libblkid() { pkgdesc="Block device identification library from util-linux" depends= - mkdir -p "$subpkgdir"/lib + mkdir -p "$subpkgdir"/lib mv "$pkgdir"/lib/libblkid* "$subpkgdir"/lib/ } +libmount() { + pkgdesc="Block device identification library from util-linux" + depends= + mkdir -p "$subpkgdir"/lib + mv "$pkgdir"/lib/libmount.so.* "$subpkgdir"/lib/ +} + sfdisk() { pkgdesc="Partition table manipulator from util-linux" depends= |