realpath: 1.12 -> 1.15
This commit is contained in:
parent
b6a731bc72
commit
7da1129272
@ -1 +1 @@
|
|||||||
7acae33e8f1e62a75a582b0dcdc0f19e realpath_1.12.tar.gz
|
3351ce6e3d0ce255641c8ca9216a8638 realpath_1.15.tar.gz
|
||||||
|
@ -1,20 +1,22 @@
|
|||||||
# Description: return the canonicalized absolute pathname
|
# Description: return the canonicalized absolute pathname
|
||||||
# URL: http://packages.debian.org/sid/realpath
|
# URL: http://packages.debian.org/sid/realpath
|
||||||
# Maintainer: Simon Gloßner, viper at hometux dot de
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
||||||
|
# Packager: Simon Gloßner, viper at hometux dot de
|
||||||
|
|
||||||
name=realpath
|
name=realpath
|
||||||
version=1.12
|
version=1.15
|
||||||
release=1
|
release=1
|
||||||
source=(http://ftp.debian.org/debian/pool/main/r/${name}/${name}_${version}.tar.gz)
|
source=(http://ftp.debian.org/debian/pool/main/r/${name}/${name}_${version}.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version/src
|
||||||
|
|
||||||
make VERSION=$version realpath
|
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/bin
|
||||||
mkdir -p $PKG/usr/man/man1
|
mkdir -p $PKG/usr/man/man1
|
||||||
|
|
||||||
install -m 755 realpath $PKG/usr/bin/realpath
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user