summaryrefslogtreecommitdiffstats
path: root/main/btrfs-progs/APKBUILD
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2013-12-27 00:07:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-27 13:47:10 +0000
commitc78919586e9f9fe1969f153a65b70e195d7e3c41 (patch)
treeba19b70d37f4fe49e115335949b39e07ab407208 /main/btrfs-progs/APKBUILD
parentcf566edf0f4a37f6d0db8106eb2cdab884c41557 (diff)
downloadaports-c78919586e9f9fe1969f153a65b70e195d7e3c41.tar.bz2
aports-c78919586e9f9fe1969f153a65b70e195d7e3c41.tar.xz
main/btrfs-progs: update to 3.12
Added -dev subpackage for new headers and libbtrfs.
Diffstat (limited to 'main/btrfs-progs/APKBUILD')
-rw-r--r--main/btrfs-progs/APKBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD
index f069ba9a3..00c9a0d06 100644
--- a/main/btrfs-progs/APKBUILD
+++ b/main/btrfs-progs/APKBUILD
@@ -1,19 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=btrfs-progs
-pkgver=0.20_rc1
-_ver=${pkgver/_rc/-rc}
+pkgver=3.12
pkgrel=1
pkgdesc="Tools for the btrfs"
url="https://btrfs.wiki.kernel.org/"
arch="all"
license="GPL2"
depends=""
-makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev"
+makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev lzo-dev"
install=
-subpackages="$pkgname-doc"
-source="https://www.kernel.org/pub/linux/kernel/people/mason/btrfs-progs/btrfs-progs-v$_ver.tar.xz"
+subpackages="$pkgname-doc $pkgname-dev"
+source="https://www.kernel.org/pub/linux/kernel/people/mason/btrfs-progs/btrfs-progs-v${pkgver}.tar.xz"
-_builddir="$srcdir"/$pkgname-v$_ver
+_builddir="$srcdir"/$pkgname-v$pkgver
prepare() {
cd "$_builddir"
}
@@ -28,6 +27,11 @@ package() {
make prefix=/usr mandir=/usr/share/man DESTDIR="$pkgdir" install || return 1
}
-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"
+dev() {
+ default_dev || return 1
+ mv "$pkgdir"/usr/lib/*.so* "$subpkgdir"/usr/lib
+}
+
+md5sums="cd96bb73acd864e577cddba5fe310650 btrfs-progs-v3.12.tar.xz"
+sha256sums="097e63561c91c1fbfdf99e7a60ed55b51fa0f057b3875c08413e362c93938cdf btrfs-progs-v3.12.tar.xz"
+sha512sums="655e8d9ecf297281d07312bd19a6ab942f354a370147e0ca46a22e5bcd7485ed0d415247ba21162617a23b7f9def202cab3bb5dc23ccfa96496043b48dfda785 btrfs-progs-v3.12.tar.xz"