|
|
|
@ -94,7 +94,7 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--disable-geolocation \ |
|
|
|
|
--with-gnu-ld |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Compile GTK2 version |
|
|
|
|
# (distclean is not enough) |
|
|
|
@ -110,11 +110,14 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--enable-spellcheck \ |
|
|
|
|
--disable-geolocation \ |
|
|
|
|
--with-gnu-ld \ |
|
|
|
|
--with-gtk=2.0 |
|
|
|
|
--with-gtk=2.0 \ |
|
|
|
|
--disable-webkit2 |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
rmdir $PKG/usr/libexec |
|
|
|
|
# Strip binaries |
|
|
|
|
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \ |
|
|
|
|
xargs strip --strip-unneeded 2>/dev/null |
|
|
|
|
|
|
|
|
|
# Install the documentation |
|
|
|
|
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION |
|
|
|
|