26 lines
692 B
Bash
26 lines
692 B
Bash
# Template file for 'libdiff'
|
|
pkgname=libdiff
|
|
version=0.1.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
short_desc="Library to generate arbitrary sequence diffs"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/kristapsdz/libdiff"
|
|
distfiles="https://kristaps.bsd.lv/libdiff/snapshots/libdiff-${version}.tar.gz"
|
|
checksum=2012d2eae9ecaf9717c77ecefd9bdff4e38f485d8b9ad8f916cff1fdf1151512
|
|
|
|
do_configure() {
|
|
local _libc=glibc
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) _libc=musl ;;
|
|
esac
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
cp "${FILESDIR}/configure.$_libc" configure.local
|
|
fi
|
|
./configure PREFIX=/usr MANDIR=/usr/share/man
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|