got it working \o/

This commit is contained in:
Gwenhael Le Moine 2010-03-19 13:28:31 +07:00
parent 37501795e5
commit 4ea0388b58

View file

@ -61,19 +61,20 @@ PREFIX=/usr
# Configuration # Configuration
( cd $TMP/$PRGNAM-$VERSION ( cd $TMP/$PRGNAM-$VERSION
sed -i "s|lib/|lib$LIBSUFFIX/|g" $(grep -l "lib/" * -r) sed -i "s|lib/|lib$LIBSUFFIX/|g" $(grep -l "lib/" * -r)
[ ! -e configure ] && autoreconf [ ! -e configure ] && ./autogen.sh #autoreconf
./configure \ ./configure \
--prefix=$PREFIX \ --prefix=$PREFIX \
--mandir=$PREFIX/man \ --mandir=$PREFIX/man \
--infodir=$PREFIX/info \ --infodir=$PREFIX/info \
--libdir=$PREFIX/lib$LIBSUFFIX --libdir=$PREFIX/lib$LIBSUFFIX \
--libexecdir=$PREFIX/libexec
) )
# Building # Building
( cd $TMP/$PRGNAM-$VERSION ( cd $TMP/$PRGNAM-$VERSION
make make libdir=$PREFIX/lib$LIBSUFFIX
make doc make libdir=$PREFIX/lib$LIBSUFFIX doc
make more make libdir=$PREFIX/lib$LIBSUFFIX more
) )
# Installation # Installation