summaryrefslogtreecommitdiffstats
path: root/main/util-linux-ng/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-06-10 22:58:40 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-06-10 22:58:40 -0500
commit7b0dda4022f1d3ee029a5f8fb189c4ef7030c59a (patch)
treea4fec3ebc1c2871fb24130e47816abf98a2434dd /main/util-linux-ng/APKBUILD
parente0c43481c6b5b5249058aea5d3aedf707d895095 (diff)
downloadaports-7b0dda4022f1d3ee029a5f8fb189c4ef7030c59a.tar.bz2
aports-7b0dda4022f1d3ee029a5f8fb189c4ef7030c59a.tar.xz
main/util-linux-ng: split blkid out
Diffstat (limited to 'main/util-linux-ng/APKBUILD')
-rw-r--r--main/util-linux-ng/APKBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/main/util-linux-ng/APKBUILD b/main/util-linux-ng/APKBUILD
index 5921a5947..7dcbc606c 100644
--- a/main/util-linux-ng/APKBUILD
+++ b/main/util-linux-ng/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=util-linux-ng
pkgver=2.19.1
-pkgrel=1
+pkgrel=2
pkgdesc="Random collection of Linux utilities"
url="http://kernel.org/~kzak/util-linux/"
arch="all"
@@ -13,7 +13,7 @@ makedepends="zlib-dev sed ncurses-dev"
install=
source="http://www.kernel.org/pub/linux/utils/util-linux-ng/v${pkgver%.*}/util-linux-$pkgver.tar.gz
program-invocation.patch"
-subpackages="$pkgname-doc $pkgname-dev libuuid libblkid sfdisk cfdisk mcookie"
+subpackages="$pkgname-doc $pkgname-dev libuuid libblkid sfdisk cfdisk mcookie blkid"
replaces="e2fsprogs"
_builddir="$srcdir/util-linux-$pkgver"
@@ -57,6 +57,14 @@ dev() {
replaces="e2fsprogs-dev"
}
+blkid() {
+ pkgdesc="block device identificatio tool"
+ replaces="util-linux-ng"
+ depends=
+ mkdir -p "$subpkgdir"/sbin
+ mv "$pkgdir"/sbin/blkid "$subpkgdir"/sbin/
+}
+
libuuid() {
pkgdesc="DCE compatible Universally Unique Identifier library"
depends=
@@ -92,5 +100,6 @@ mcookie() {
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/mcookie "$subpkgdir"/usr/bin/
}
+
md5sums="dd242eeb2ba76e4e55bf2237a50dd2b7 util-linux-2.19.1.tar.gz
079dc713684e01ad48c7e0bb877dc51a program-invocation.patch"