mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/fossil: upgrade to 2.3 and modernize abuild
This commit is contained in:
parent
690fc9580f
commit
2e266d9aad
@ -1,8 +1,8 @@
|
||||
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=fossil
|
||||
pkgver=2.2
|
||||
pkgrel=1
|
||||
pkgver=2.3
|
||||
pkgrel=0
|
||||
pkgdesc="Simple, high-reliability, distributed software configuration management"
|
||||
url="http://www.fossil-scm.org"
|
||||
arch="all"
|
||||
@ -10,8 +10,8 @@ license="BSD"
|
||||
depends=""
|
||||
makedepends="libressl-dev zlib-dev sqlite-dev"
|
||||
source="http://www.fossil-scm.org/index.html/uv/$pkgname-src-$pkgver.tar.gz"
|
||||
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
@ -19,14 +19,13 @@ build() {
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--json \
|
||||
--disable-internal-sqlite \
|
||||
|| return 1
|
||||
make TCC="${CC:-gcc} $CFLAGS" || return 1
|
||||
--disable-internal-sqlite
|
||||
make TCC="${CC:-gcc} $CFLAGS"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
|
||||
install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname
|
||||
}
|
||||
|
||||
sha512sums="1a1aedf3f9883a64f9f98c9a01857f5fb69cff0be23817016a4bc405b2efc85f21ac86a771d5e7314128e3fabc21444ac717017cf0935241fd4af964b7c086e0 fossil-src-2.2.tar.gz"
|
||||
sha512sums="41f87a9f79b87895b1972d2866b27205da34076eb35200b60fd38f1921162bf9099a71caac4063c04b919484208b39c7184dff661dc0b5ca7716d8edd11462cc fossil-src-2.3.tar.gz"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user