summaryrefslogtreecommitdiffstats
path: root/libtool/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libtool/Pkgfile')
-rwxr-xr-xlibtool/Pkgfile23
1 files changed, 11 insertions, 12 deletions
diff --git a/libtool/Pkgfile b/libtool/Pkgfile
index 42be332a9..fce6e3c70 100755
--- a/libtool/Pkgfile
+++ b/libtool/Pkgfile
@@ -4,19 +4,18 @@
# Packager: thierryn1 at hispeed dot ch
name=libtool
-version=2.4
-
+version=2.4.2
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz )
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
-cd $name-*
-./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
-make
-make DESTDIR=$PKG install
-if [ -f $PKG/usr/share/info/dir ]; then
- rm $PKG/usr/share/info/dir
-fi
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+ make DESTDIR=$PKG install
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
}