WIP: fixed deb package script and preparations for Ubuntu-18

This commit is contained in:
Matthias Koefferlein 2018-06-21 00:21:41 +02:00
parent 0d6da0e49d
commit 1b05878234
1 changed files with 5 additions and 1 deletions

View File

@ -21,6 +21,9 @@ case $target in
ubuntu16)
depends="libqt4-designer (>= 4.8.6), libqt4-xml (>= 4.8.6), libqt4-sql (>= 4.8.6), libqt4-network (>= 4.8.6), libqtcore4 (>= 4.8.6), libqtgui4 (>= 4.8.6), zlib1g (>= 1.2.8), libruby2.3 (>= 2.3.1), libpython3.5 (>= 3.5.1), libstdc++6 (>= 4.6.3), libc6 (>= 2.15)"
;;
ubuntu18)
depends="libqt4-designer (>= 4.8.7), libqt4-xml (>= 4.8.7), libqt4-sql (>= 4.8.7), libqt4-network (>= 4.8.7), libqtcore4 (>= 4.8.7), libqtgui4 (>= 4.8.7), zlib1g (>= 1.2.11), libruby2.5 (>= 2.5.1), libpython3.6 (>= 3.6.5), libstdc++6 (>= 8), libc6 (>= 2.27)"
;;
*)
echo "Unknown target '$target' (given as first argument)"
exit 1
@ -141,7 +144,8 @@ gzip -n --best ${sharedir}/doc/klayout/changelog
gzip -n --best ${sharedir}/doc/klayout/changelog.Debian
# lintian complains about exec bits set
find ./usr -name "lib*.so.*" -exec chmod 644 "{}" ";"
find ./usr -name "*.so.*" -exec chmod 644 "{}" ";"
find ./usr -name "*.so" -exec chmod 644 "{}" ";"
find ./usr -type f -exec md5sum "{}" ";" >md5sums
chmod 644 md5sums