2015-01-27 09:25:14 +00:00
|
|
|
# Template file for 'dateutils'
|
|
|
|
pkgname=dateutils
|
2015-03-12 13:50:43 +00:00
|
|
|
version=0.3.2
|
2015-03-12 14:33:45 +00:00
|
|
|
revision=2
|
2015-01-27 09:25:14 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="ax_cv_zoneinfo_tzdir=/usr/share/zoneinfo"
|
|
|
|
short_desc="Nifty command line date and time utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="http://www.fresse.org/dateutils/"
|
|
|
|
distfiles="https://bitbucket.org/hroptatyr/dateutils/downloads/${pkgname}-${version}.tar.xz"
|
2015-03-12 13:50:43 +00:00
|
|
|
checksum=551620b01c08d5feffb68fde6bb669fe09275dd316a79aeca0efcbe3ec774a3e
|
2015-03-12 14:33:45 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|