From d5197ab762eebc1df37d4da29f3d86a4aa8aeb52 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 15 Jun 2010 19:28:47 +0000 Subject: testing/btrfs-progs: new aport Tools for the btrfs https://btrfs.wiki.kernel.org/ --- testing/btrfs-progs/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/btrfs-progs/APKBUILD (limited to 'testing/btrfs-progs') diff --git a/testing/btrfs-progs/APKBUILD b/testing/btrfs-progs/APKBUILD new file mode 100644 index 000000000..675e8c0c4 --- /dev/null +++ b/testing/btrfs-progs/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: +# Maintainer: +pkgname=btrfs-progs +pkgver=0.19 +pkgrel=0 +pkgdesc="Tools for the btrfs" +url="https://btrfs.wiki.kernel.org/" +license="GPL" +depends= +makedepends="util-linux-ng-dev" +install= +subpackages="$pkgname-doc" +source="http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + make 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="5854728d080cc76f21a83bdc99b6ddaa btrfs-progs-0.19.tar.bz2" -- cgit v1.2.3