diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-04 08:17:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-04 08:17:18 +0000 |
commit | a2519b3165a8b72045b94e3b79a919bb1999c4c4 (patch) | |
tree | fb22d31d15d78c85014099a35517ebca431a0ded | |
parent | 7cde0706f4d64fe1c31b3ac055062bd5ecedbb18 (diff) | |
download | aports-a2519b3165a8b72045b94e3b79a919bb1999c4c4.tar.bz2 aports-a2519b3165a8b72045b94e3b79a919bb1999c4c4.tar.xz |
main/btrfs-progs: upgrade to 4.0
-rw-r--r-- | main/btrfs-progs/APKBUILD | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD index 8d3faed07c..49d0e7fca8 100644 --- a/main/btrfs-progs/APKBUILD +++ b/main/btrfs-progs/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Ćukasz Jendrysik <scadu@yandex.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=btrfs-progs -pkgver=3.18.2 +pkgver=4.0 pkgrel=0 pkgdesc="Tools for the btrfs" url="https://btrfs.wiki.kernel.org/" @@ -9,7 +9,8 @@ arch="all" license="GPL2" depends="" makedepends="util-linux-dev bash attr-dev acl-dev e2fsprogs-dev zlib-dev - lzo-dev asciidoc xmlto linux-headers" + lzo-dev asciidoc xmlto linux-headers + autoconf automake libtool" install= subpackages="$pkgname-doc $pkgname-dev" source="https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${pkgver}.tar.xz @@ -24,11 +25,19 @@ prepare() { *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done + ./autogen.sh } build() { cd "$_builddir" - DISABLE_BACKTRACE=1 make CFLAGS="$CFLAGS" prefix=/usr || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + --disable-backtrace \ + || return 1 + make || return 1 } package() { @@ -41,12 +50,12 @@ dev() { mv "$pkgdir"/usr/lib/*.so* "$subpkgdir"/usr/lib } -md5sums="1059a9f7e444be704cfaccc0df128265 btrfs-progs-v3.18.2.tar.xz +md5sums="38e79509adc689ca7a88860b91954a02 btrfs-progs-v4.0.tar.xz a79fe97241a26ec2a4be9fc566fa8e29 includes.patch 13aae8338d103c1bdfab26ee324cfe20 musl-compat.patch" -sha256sums="dd8ddb4d201e5ffd32a15ed0e1f33fbc2c8fb16383f1519a9fae136698c2dfec btrfs-progs-v3.18.2.tar.xz +sha256sums="179cf1acc1b0061548b8f1d9cf973a8338bf96f192cecad99ecdace9ae065a1f btrfs-progs-v4.0.tar.xz dc66938029c887fd29e69ce53f8acc8ac0f01fa49fede3b08c00f2f7acdb1f2a includes.patch 6ef4d5633aa715095610de3045187ba39daaf5518629eb4e6ef4e143fb486531 musl-compat.patch" -sha512sums="7fd125eeedabd54178f5198ac09c364b6772125124adcdb2620515a51c331307205ae06ff81375a49ebc62650d537c6f9eed2b63bf1f7e97b9ff047cda8a2cc4 btrfs-progs-v3.18.2.tar.xz +sha512sums="895d6c27bd82c4b320c705c32613b28e601f316c0881080d8c376d0045162eaab6c91431dee73b391fc608e6d7c16f3a744ef6b9c85adb4beaa4376fbbe36d9a btrfs-progs-v4.0.tar.xz 2040092c94096da283ca69ec0dd910ebd5329840df86e607226cc054e8b29112720c798b63f9630e35ed28c7c057bb433b09d8aec8df8c4793a6f1ecaa8be846 includes.patch c7634159e591bf969dad8fa51d48668c999de8efc8cb6ff26b7a047b27a8cd18b1a93494dbf6d584afcbc6e3f40ae98ea3a33d188ee16b06ad7eb564efccde9a musl-compat.patch" |