diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/mdadm/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/mdadm/PKGBUILD')
-rw-r--r-- | abs/core-testing/mdadm/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core-testing/mdadm/PKGBUILD b/abs/core-testing/mdadm/PKGBUILD new file mode 100644 index 0000000..13c5c98 --- /dev/null +++ b/abs/core-testing/mdadm/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# Maintainer: Judd Vinet <jvinet@zeroflux.org> +pkgname=mdadm +pkgver=2.6.4 +pkgrel=10 +pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as Software RAID" +arch=(i686 x86_64) +license=('GPL') +url="http://www.cse.unsw.edu.au/~neilb/source/mdadm/" +groups=('base') +depends=('glibc') +backup=('etc/mdadm.conf') +source=(ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/mdadm-$pkgver.tar.bz2 \ + mdadm mdadm.conf raid-partitions_install raid-partitions_hook) +replaces=('raidtools') +md5sums=('b616697aecc870d5d580bd6e010472a3' + '6df172c8f77b280018cf87eb3d313f29' + '0ce4c0f9770bf582a71228053566359d' + '9de7e423ec9c6766b5f5d39915929003' + '09d72c714b40b6fa1e8eab04c1dabd42') + +build() { + cd $startdir/src/$pkgname-$pkgver + make || return 1 + make INSTALL=/bin/install DESTDIR=$startdir/pkg install + install -D -m644 ../mdadm.conf $startdir/pkg/etc/mdadm.conf + install -D -m755 ../mdadm $startdir/pkg/etc/rc.d/mdadm + install -D -m644 ../raid-partitions_install $startdir/pkg/lib/initcpio/install/raid-partitions + install -D -m644 ../raid-partitions_hook $startdir/pkg/lib/initcpio/hooks/raid-partitions + # a static binary is required for Arch's initrd + rm mdadm + make LDFLAGS+=-static || return 1 + install -D -m755 mdadm $startdir/pkg/sbin/mdadm.static +} |