diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-05-12 08:42:57 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2013-05-12 08:42:57 +0200 |
commit | 043cc5f234f5ca907436031e5dabb869bac01bea (patch) | |
tree | ef52cb010d18099055d644b4e77313a87fc7a9dc /main/btrfs-progs | |
parent | 2da9957909187b4b927e8d38ead0f8c03780c232 (diff) | |
download | aports-043cc5f234f5ca907436031e5dabb869bac01bea.tar.bz2 aports-043cc5f234f5ca907436031e5dabb869bac01bea.tar.xz |
testing/btrfs-progs: move to main
Diffstat (limited to 'main/btrfs-progs')
-rw-r--r-- | main/btrfs-progs/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD new file mode 100644 index 0000000000..7b5e4d1e68 --- /dev/null +++ b/main/btrfs-progs/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=btrfs-progs +pkgver=0.20_rc1 +_ver=${pkgver/_rc/-rc} +pkgrel=0 +pkgdesc="Tools for the btrfs" +url="https://btrfs.wiki.kernel.org/" +arch="all" +license="GPL" +depends= +makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev" +install= +subpackages="$pkgname-doc" +source="https://www.kernel.org/pub/linux/kernel/people/mason/btrfs-progs/btrfs-progs-v$_ver.tar.xz" + +_builddir="$srcdir"/$pkgname-v$_ver +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make CFLAGS="$CFLAGS" prefix=/usr || return 1 +} + +package() { + cd "$_builddir" + make prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="b152503b9f1a9f577293fa37b1312310 btrfs-progs-v0.20-rc1.tar.xz" +sha256sums="ba969a90b4ae53fca9ba179469d47d194a29f25254612a91c6a12b473f94ee13 btrfs-progs-v0.20-rc1.tar.xz" +sha512sums="92f7a1b7c2c8c7f8be6d7dcb284b97251a97893b201353de28e28f65b01a8517bdf576a0b02e7f8f30f9b8056c0b2985998c0f87c6e9da236899488133a862de btrfs-progs-v0.20-rc1.tar.xz" |