realpath: 1.12 -> 1.15

This commit is contained in:
Thomas Penteker 2009-09-19 01:13:27 +02:00
parent b6a731bc72
commit 7da1129272
2 changed files with 10 additions and 8 deletions

View File

@ -1 +1 @@
7acae33e8f1e62a75a582b0dcdc0f19e realpath_1.12.tar.gz
3351ce6e3d0ce255641c8ca9216a8638 realpath_1.15.tar.gz

View File

@ -1,20 +1,22 @@
# Description: return the canonicalized absolute pathname
# URL: http://packages.debian.org/sid/realpath
# Maintainer: Simon Gloßner, viper at hometux dot de
# URL: http://packages.debian.org/sid/realpath
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Simon Gloßner, viper at hometux dot de
name=realpath
version=1.12
version=1.15
release=1
source=(http://ftp.debian.org/debian/pool/main/r/${name}/${name}_${version}.tar.gz)
build() {
cd $name-$version
make VERSION=$version realpath
cd $name-$version/src
sed -i -e 's/setlocale.*//g' -e 's/bindtextdomain.*//g' -e 's/textdomain.*//g' realpath.c
gcc -DVERSION="${version}" -o realpath realpath.c
mkdir -p $PKG/usr/bin
mkdir -p $PKG/usr/man/man1
install -m 755 realpath $PKG/usr/bin/realpath
install -m 644 man/realpath.1 $PKG/usr/man/man1
install -m 644 ../man/realpath.1 $PKG/usr/man/man1
}