mirror of https://github.com/KLayout/klayout.git
Fixed Debian package script.
This commit is contained in:
parent
3acb7b6920
commit
5379f69fb0
|
|
@ -50,9 +50,6 @@ sharedir="usr/share"
|
|||
bindir="usr/bin"
|
||||
libdir="usr/lib/klayout"
|
||||
|
||||
# TODO: is there a better way to produce this path?
|
||||
pylibdir="usr/lib/python3/dist-packages/klayout"
|
||||
|
||||
./build.sh -j2 \
|
||||
-bin $bininstdir \
|
||||
-build $builddir \
|
||||
|
|
@ -85,9 +82,6 @@ cd ..
|
|||
mkdir -p makedeb-tmp/${sharedir}/doc/klayout
|
||||
mkdir -p makedeb-tmp/${sharedir}/applications
|
||||
mkdir -p makedeb-tmp/${sharedir}/pixmaps
|
||||
mkdir -p makedeb-tmp/${libdir}/db_plugins
|
||||
mkdir -p makedeb-tmp/${libdir}/lay_plugins
|
||||
mkdir -p makedeb-tmp/${pylibdir}
|
||||
mkdir -p makedeb-tmp/${bindir}
|
||||
|
||||
cp etc/klayout.desktop makedeb-tmp/${sharedir}/applications
|
||||
|
|
@ -99,10 +93,6 @@ cp COPYRIGHT makedeb-tmp/${sharedir}/doc/klayout/copyright
|
|||
cp -pd $bininstdir/strm* makedeb-tmp/${bindir}
|
||||
cp -pd $bininstdir/klayout makedeb-tmp/${bindir}
|
||||
cp -pd $bininstdir/lib*so* makedeb-tmp/${libdir}
|
||||
cp -pd $bininstdir/db_plugins/lib*so* makedeb-tmp/${libdir}/db_plugins
|
||||
cp -pd $bininstdir/lay_plugins/lib*so* makedeb-tmp/${libdir}/lay_plugins
|
||||
cp -pd $bininstdir/pymod/klayout/*so makedeb-tmp/${pylibdir}
|
||||
cp -pd $bininstdir/pymod/klayout/*py makedeb-tmp/${pylibdir}
|
||||
|
||||
cd makedeb-tmp
|
||||
|
||||
|
|
@ -127,9 +117,6 @@ echo "Modifying control file .."
|
|||
|
||||
strip ${bindir}/*
|
||||
strip ${libdir}/*.so*
|
||||
strip ${pylibdir}/*.so
|
||||
strip ${libdir}/db_plugins/*.so*
|
||||
strip ${libdir}/lay_plugins/*.so*
|
||||
|
||||
size=`du -ck usr | grep total | sed "s/ *total//"`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue