1
0
forked from ports/contrib

tree: updated to 1.7.0. Also fixed CFLAGS usage

This commit is contained in:
Jose V Beneyto 2015-03-15 21:40:17 +01:00
parent 15f633cb10
commit 308675a1ae
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
04e967a3f4108d50cde3b4b0e89e970a tree-1.6.0.tgz
abe3e03e469c542d8e157cdd93f4d8a6 tree-1.7.0.tgz

View File

@ -6,13 +6,16 @@
# Depends on:
name=tree
version=1.6.0
version=1.7.0
release=1
source=(ftp://mama.indstate.edu/linux/$name/$name-$version.tgz)
build () {
cd $name-$version
sed "s|CFLAGS=|CFLAGS=$CFLAGS |" -i Makefile
make
install -D -m 0755 $name $PKG/usr/bin/$name
install -D -m 0644 doc/$name.1 $PKG/usr/man/man1/$name.1
}