void-packages/srcpkgs/reiserfsprogs/template
Jürgen Buchmüller 13eb9de30b reiserfsprogs: try to fix musl libc
The modified source based on reiserfscore/prints.c is included in
files/prints.c to make it easily possible to apply fixes and create
a new diff against the original.

First test on a Void Linux musl box seem to indicate success.
There is still a chance of the prints.c conversion missing some aspects.
2015-09-10 19:50:05 +02:00

24 lines
737 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
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) patch -p0 < ${FILESDIR}/musl-configure_ac.patch
esac
autoreconf -if
}