blob: e043dae4483cc0ff0e6901fd7041ef4f2227811a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#! /bin/sh
TMPDIR=PACKAGE-BUILD
VERSION=`grep -e "^VERSION =" version.make | sed "s/^.*= //"`
mkdir -p "$TMPDIR"
darcs get . "$TMPDIR/objective-cl-${VERSION}"
cd "$TMPDIR"
rm -rf `find objective-cl-${VERSION} -name '_darcs'`
cp -a ../Documentation "objective-cl-${VERSION}/"
cd "objective-cl-${VERSION}"
autoreconf
chmod +x debian/rules
cd ..
tar czf "cl-objective-cl_${VERSION}.orig.tar.gz" "objective-cl-${VERSION}"
cd "objective-cl-${VERSION}"
#dpkg-buildpackage -rfakeroot
debuild
cd ..
rm -rf "objective-cl-${VERSION}"
cd ..
|