summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-15 19:28:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-15 19:28:47 +0000
commitd5197ab762eebc1df37d4da29f3d86a4aa8aeb52 (patch)
treec17c1d2c45f7951f89d9dd7d56c5789d123793b2
parentc8934f2a5def2afcc9e2b99dd45ebadda279d0e9 (diff)
downloadaports-d5197ab762eebc1df37d4da29f3d86a4aa8aeb52.tar.bz2
aports-d5197ab762eebc1df37d4da29f3d86a4aa8aeb52.tar.xz
testing/btrfs-progs: new aport
Tools for the btrfs https://btrfs.wiki.kernel.org/
-rw-r--r--testing/btrfs-progs/APKBUILD34
1 files changed, 34 insertions, 0 deletions
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"