aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-02 18:11:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-02 18:11:39 +0000
commit23b803a485604e7ac8d6f7ff7202658f01b8c450 (patch)
treed8538f80a6a89e5c72e2f645a29f36ad815271e7 /main
parente5e14011187647338e1df1e71312998eff9bdb36 (diff)
downloadaports-23b803a485604e7ac8d6f7ff7202658f01b8c450.tar.bz2
aports-23b803a485604e7ac8d6f7ff7202658f01b8c450.tar.xz
main/util-linux-ng: split out mcookie
Diffstat (limited to 'main')
-rw-r--r--main/util-linux-ng/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/util-linux-ng/APKBUILD b/main/util-linux-ng/APKBUILD
index 98b38fc7db..5921a59476 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=0
+pkgrel=1
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"
+subpackages="$pkgname-doc $pkgname-dev libuuid libblkid sfdisk cfdisk mcookie"
replaces="e2fsprogs"
_builddir="$srcdir/util-linux-$pkgver"
@@ -72,7 +72,7 @@ libblkid() {
}
sfdisk() {
- pkgdesk="Partition table manipulator from util-linux-ng"
+ pkgdesc="Partition table manipulator from util-linux-ng"
depends=
mkdir -p "$subpkgdir"/sbin
mv "$pkgdir"/sbin/sfdisk "$subpkgdir"/sbin/
@@ -80,11 +80,17 @@ sfdisk() {
cfdisk() {
- pkgdesk="Curses based partition table manipulator from util-linux-ng"
+ pkgdesc="Curses based partition table manipulator from util-linux-ng"
depends=
mkdir -p "$subpkgdir"/sbin
mv "$pkgdir"/sbin/cfdisk "$subpkgdir"/sbin/
}
+mcookie() {
+ pkgdesc="mcookie from util-linux-ng"
+ replaces="util-linux-ng"
+ 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"