# package source
dpkg-buildpackage -S -us -uc
# install needed packages for build up a ncurses/cdk application
-sudo apt-get -y install libcdk5 libcdk5-dev
+sudo apt-get -y install libcdk5nc6 libcdk5-dev
# package binary of current architecture
dpkg-buildpackage -us -uc
-# build for i386 on a amd64 machine
-if [ "$(uname -m)" == "x86_64" ]; then
- # install needed packages for build up a ncurses/cdk application
- sudo apt-get -y install libcdk5:i386 libcdk5-dev:i386
- # package binary of current architecture
- export CC="gcc -m32"
- dpkg-buildpackage -us -uc -a i386
- unset CC
-fi
popd
Package: shgen
Architecture: any
-Depends: libc6 (>= 2.4), libcdk5 (>= 5.0)
+Depends: libc6 (>= 2.4), libcdk5nc6 (>= 5.0)
Description: Console shell script generator.
Ncurses based shell script generator for execution in a console.