Commit 4856ff22 authored by Natanael Copa's avatar Natanael Copa

main/abuild: upgrade to 2.0_rc9

this includes feature for setting descrition/version on repos
parent fff186bf
From f24e997104849f4a7cf9e2f73a3cc66a83624fcb Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 31 Aug 2009 09:12:04 +0000
Subject: [PATCH] abuild: strip versions from dependencies when building recursively
---
abuild.in | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/abuild.in b/abuild.in
index b718a67..23c9f96 100755
--- a/abuild.in
+++ b/abuild.in
@@ -712,7 +712,11 @@ depparse_aports() {
}
deptrace() {
- local deps="$@"
+ local deps= i=
+ # strip versions from deps
+ for i in "$@"; do
+ deps="$deps ${i%[<>=]*}"
+ done
[ -z "$deps" ] && return 0
( depparse_aports
if [ -z "$upgrade" ]; then
--
1.6.4
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgdesc="Script to build Alpine Packages"
pkgname=abuild
pkgver=2.0_rc8
pkgrel=1
pkgver=2.0_rc9
pkgrel=0
url=http://git.alpinelinux.org/cgit/abuild/
source="http://git.alpinelinux.org/cgit/abuild/snapshot/abuild-$pkgver.tar.bz2
0001-abuild-strip-versions-from-dependencies-when-buildin.patch
"
depends="fakeroot file sudo pax-utils openssl apk-tools"
makedepends="openssl-dev pkgconfig"
......@@ -13,11 +12,9 @@ license=GPL-2
build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 -i ../0001-abuild-strip-versions-from-dependencies-when-buildin.patch || return 1
make install DESTDIR="$pkgdir"
install -m 644 abuild.conf "$pkgdir"/etc/abuild.conf
}
md5sums="869b37120781d7295a5fdea783086d8b abuild-2.0_rc8.tar.bz2
60d2a6c0b7b3a33ed4adf3c7154e5c01 0001-abuild-strip-versions-from-dependencies-when-buildin.patch"
md5sums="025f8dfa4114cf6432fdf52f14c2fc5c abuild-2.0_rc9.tar.bz2"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment