void-packages/srcpkgs/reiserfsprogs/template

27 lines
762 B
Bash

# Template file for 'reiserfsprogs'
pkgname=reiserfsprogs
version=3.6.24
revision=2
build_style=gnu-configure
hostmakedepends="automake pkg-config"
makedepends="libuuid-devel"
short_desc="Reiserfs utilities"
maintainer="Alexander Mamay <alexander@mamay.su>"
license="GPL-2"
homepage="https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/"
distfiles="${KERNEL_SITE}/kernel/people/jeffm/${pkgname}/v${version}/${pkgname}-${version}.tar.xz"
checksum=7e44fefe557d68a642191428210f3d64d80283b9ad0e45c24130f6ce936b0760
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" musl-obstack" ;;
esac
CFLAGS="-fgnu89-inline"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) patch -p0 < ${FILESDIR}/musl-configure_ac.patch
esac
autoreconf -if
}