summaryrefslogtreecommitdiffstats
path: root/extra/libmng/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libmng/Pkgfile')
-rwxr-xr-xextra/libmng/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/libmng/Pkgfile b/extra/libmng/Pkgfile
index c4405edae..ef8dbc9e0 100755
--- a/extra/libmng/Pkgfile
+++ b/extra/libmng/Pkgfile
@@ -12,8 +12,10 @@ source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz)
build() {
cd $name-$version
- cp makefiles/makefile.linux Makefile
- mkdir -p $PKG/usr/{include,lib}
+ ln -s makefiles/configure.in .
+ ln -s makefiles/Makefile.am .
+ autoreconf --force --install
+ ./configure --prefix=/usr
make
- make prefix=$PKG/usr install
+ make DESTDIR=$PKG install
}