mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
dateutils: fix crossbuild
This commit is contained in:
parent
324bbb55bd
commit
97187ee382
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dateutils'
|
# Template file for 'dateutils'
|
||||||
pkgname=dateutils
|
pkgname=dateutils
|
||||||
version=0.3.2
|
version=0.3.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ax_cv_zoneinfo_tzdir=/usr/share/zoneinfo"
|
configure_args="ax_cv_zoneinfo_tzdir=/usr/share/zoneinfo"
|
||||||
short_desc="Nifty command line date and time utilities"
|
short_desc="Nifty command line date and time utilities"
|
||||||
|
@ -10,3 +10,12 @@ license="BSD"
|
||||||
homepage="http://www.fresse.org/dateutils/"
|
homepage="http://www.fresse.org/dateutils/"
|
||||||
distfiles="https://bitbucket.org/hroptatyr/dateutils/downloads/${pkgname}-${version}.tar.xz"
|
distfiles="https://bitbucket.org/hroptatyr/dateutils/downloads/${pkgname}-${version}.tar.xz"
|
||||||
checksum=551620b01c08d5feffb68fde6bb669fe09275dd316a79aeca0efcbe3ec774a3e
|
checksum=551620b01c08d5feffb68fde6bb669fe09275dd316a79aeca0efcbe3ec774a3e
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed -i "/^## check\/generate version files/,/^## check for byteorder utils/d" configure
|
||||||
|
cat > version.mk <<EOF
|
||||||
|
VERSION = $version
|
||||||
|
PACKAGE_VERSION = \$(VERSION)
|
||||||
|
PACKAGE_STRING = \$(PACKAGE) \$(VERSION)
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue