di: updated to 4.34

This commit is contained in:
Jose V Beneyto 2013-02-12 12:22:30 +01:00
parent 5201836c22
commit 367875d153
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
f324ec49888c6c642c998ee8c3a8ce21 di-4.31.tar.gz
d116a6bb04ac39213f07f1e5318b5ea9 di-4.34.tar.gz

View File

@ -4,13 +4,19 @@
# Packager: Jose V Beneyto, sepen at crux dot nu
name=di
version=4.31
version=4.34
release=1
source=(http://www.gentoo.com/$name/$name-$version.tar.gz)
build() {
cd $name-$version
sed -e 's|#error|//#error|' \
-e 's|"config.h"|"config.h"\n#include <string.h>|' \
-i C/$name.h
make
install -D -m 0755 C/$name $PKG/usr/bin/$name
ln -s $name $PKG/usr/bin/mi
install -D -m 0644 $name.1 $PKG/usr/man/man1/$name.1