mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Contributor: Celeste <cielesti@protonmail.com>
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
pkgname=libfossil
|
|
pkgver=0.20240902.0305
|
|
_fslhash=20e4e80b87
|
|
pkgrel=0
|
|
pkgdesc="Unofficial Fossil SCM library"
|
|
url="https://fossil.wanderinghorse.net/r/libfossil"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
depends_dev="$pkgname=$pkgver-r$pkgrel"
|
|
makedepends="bash tcl zlib-dev"
|
|
subpackages="$pkgname-apps $pkgname-dev"
|
|
source="https://fossil.wanderinghorse.net/r/libfossil/tarball/$_fslhash/libfossil-$_fslhash.tar.gz"
|
|
builddir="$srcdir/$pkgname-$_fslhash"
|
|
options="!check" # no tests provided
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--no-c++ \
|
|
--no-debug \
|
|
--no-fnc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -Dvm644 include/*.h -t "$pkgdir"/usr/include/
|
|
install -Dvm644 include/fossil-scm/*.h -t "$pkgdir"/usr/include/fossil-scm/
|
|
}
|
|
|
|
apps() {
|
|
pkgdesc="$pkgdesc (command-line apps)"
|
|
depends="$pkgname=$pkgver-r$pkgrel"
|
|
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
ee07b5becdb445db5065edf7550bcee2222853c3a1fcd8a370719cd526336cc389cb334662a313321a8d7fab73f2e07c3f8725cf6f5c7dc0e84064e15e08cc09 libfossil-20e4e80b87.tar.gz
|
|
"
|