fix hunspell lib name ; rm uninstall binary

This commit is contained in:
Gwenhael Le Moine 2010-10-08 23:35:32 +07:00
parent 0197d5ead0
commit 5add2a846d

View file

@ -34,6 +34,7 @@ cd $APP_NAME-$VERSION
# configuration # configuration
sed -i "s|/usr/local/textroom/doc|/usr/doc/$APP_NAME-$VERSION|" textroom.pro sed -i "s|/usr/local/textroom/doc|/usr/doc/$APP_NAME-$VERSION|" textroom.pro
sed -i "s|usr/local|usr|g" textroom.pro sed -i "s|usr/local|usr|g" textroom.pro
sed -i 's|lhunspell|lhunspell-1.2|g' textroom.pro
qmake qmake
# compilation # compilation
@ -43,6 +44,8 @@ make -j3 PREFIX=$PREFIX
make install INSTALL_ROOT=$PKG make install INSTALL_ROOT=$PKG
mv $PKG/root/.local/applications $PKG/usr/share/ mv $PKG/root/.local/applications $PKG/usr/share/
rm -fr $PKG/root rm -fr $PKG/root
#no need for this
rm -f $PKG/usr/bin/textroom-uninstall
# correction # correction
cd $PKG cd $PKG