dateutils: fix crossbuild
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user