blob: 12008a9cf6e2eb94f43bc35a5ded89e6ed4e4d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
set -e
DEBVERSION=`cat /etc/debian_version`
case $DEBVERSION in
testing/unstable|woody)
#make ghost
./configure --with-ghost --without-cups --without-gimp
make
mkdir -p deb
cd deb
apt-get source gs libjpeg62
mv libjpeg6b-6b libjpeg
patch -p4 < ../src/ghost/debian-patch
cd gs-5.10
cp ../../src/ghost/debian-patch-stp debian/patches/stp
mkdir -p contrib/stp
cp ../../src/ghost/README contrib/stp/README.stp
cp ../../src/ghost/gdevstp* contrib/stp
cp ../../src/ghost/devs.mak.addon-5.10 contrib/stp
fakeroot dpkg-buildpackage
;;
*)
echo "Debian release $DEBVERSION not yet supported."
exit 1
;;
esac
exit 0
|