void-packages/srcpkgs/diffutils/template

19 lines
585 B
Bash

# Template file for 'diffutils'
pkgname=diffutils
version=3.3
revision=8
bootstrap=yes
build_style=gnu-configure
short_desc="The GNU diff utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/diffutils"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c
post_configure() {
# Since autoreconf is not run, @mkdir_p@ remains undefined
# in po/Makefile. Patch it.
sed -e "s;mkdir_p = @mkdir_p@;mkdir_p = \${MKDIR_P};" \
-i ${wrksrc}/po/Makefile
}