mirror of https://github.com/CIRCL/Circlean
add some script to build pdf2html on arm
parent
e7dc87023a
commit
38f934d91a
|
@ -4,5 +4,6 @@ apt-get update
|
|||
apt-get dist-upgrade
|
||||
apt-get autoremove
|
||||
apt-get install libreoffice
|
||||
|
||||
dpkg -i libpoppler28_0.20.5-3_armhf.deb libpoppler-private-dev_0.20.5-3_armhf.deb \
|
||||
pdf2htmlex_0.8-1~git201303011406r3bc73-0ubuntu1_armhf.deb
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
# change locales to en_US.UTF-8
|
||||
dpkg-reconfigure locales
|
||||
|
||||
apt-get update
|
||||
apt-get dist-upgrade
|
||||
apt-get autoremove
|
||||
# System stuff to build
|
||||
apt-get install git devscripts cmake debhelper
|
||||
# Deps of pdf2htmlEX
|
||||
echo "deb http://ftp.de.debian.org/debian experimental" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
apt-get install libfontforge-dev libpng12-dev libspiro-dev python-dev
|
||||
apt-get install -t experimental libpoppler-dev libpoppler-private-dev
|
||||
|
||||
cd /root
|
||||
git clone https://github.com/coolwanglu/pdf2htmlEX.git
|
|
@ -46,6 +46,8 @@ else
|
|||
exit
|
||||
fi
|
||||
|
||||
# only needed at first chroot, but it does not hurt.
|
||||
#resize2fs /dev/loop1
|
||||
|
||||
cp /usr/bin/qemu*arm* ${CHROOT_PATH}/usr/bin/
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /root/pdf2htmlEX
|
||||
git pull
|
||||
dpkg-buildpackage -rfakeroot -uc -b
|
||||
ls ../*deb
|
||||
ls /var/cache/apt/archives/libpoppler*
|
||||
|
Loading…
Reference in New Issue