outils: update to 0.4.

This commit is contained in:
Christian Neukirchen 2016-03-25 21:08:02 +01:00
parent d0daa424d0
commit 9ba9639479
1 changed files with 3 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'outils'
pkgname=outils
version=0.3
revision=2
version=0.4
revision=1
build_style=gnu-makefile
make_install_args="install install-calendars"
makedepends="libressl-devel"
@ -12,13 +12,7 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC, BSD"
homepage="https://github.com/chneukirchen/outils"
distfiles="https://github.com/chneukirchen/${pkgname}/archive/v${version}.tar.gz"
checksum=de4c947f8b71513c01a07e7f8e0958a891d3484cea0485d29ec531fa75042d64
pre_build() {
# Use <stdint.h> types everywhere
find src -type f -exec sed -i "{}" -e "s;u_int;uint;g" -e "s;u_char;uint8_t;g" \;
sed -i src/liboutils/sha1.c -e "s;uint i;uint32_t i;"
}
checksum=197eb6dfb47e0de5bcd1a99d316378206749e45f6144ecdf5b55cc9f286caad7
do_build() {
make ${makejobs} CC="$CC" CFLAGS="$CFLAGS"