create-buildsupport-deb.sh 468 Bytes
Newer Older
Maxime Perrotin's avatar
Maxime Perrotin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/bash
mkdir -p deb/buildsupport/DEBIAN
mkdir -p deb/buildsupport/usr/bin
echo 'Package: buildsupport
Version: 1.0
Section: base
Priority: optional
Architecture: all
Depends: libgnat-4.9
Maintainer: Maxime Perrotin
Description: Taste low-level command for code generation
Homepage: http://taste.tuxfamily.org' > deb/buildsupport/DEBIAN/control
cp buildsupport deb/buildsupport/usr/bin
cd deb
dpkg-deb --build buildsupport
mv buildsupport.deb ..
cd ..
rm -rf deb