Section: interpreters
Priority: optional
Maintainer: Bdale Garbee <bdale@gag.com>
-Build-Depends: debhelper (>= 4)
+Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.5
Vcs-Git: git://git.gag.com/debian/pforth
Vcs-Browser: http://git.gag.com/?p=debian/pforth
Package: pforth
Architecture: arm armeb armel armhf i386 m68k powerpc powerpcspe s390 sparc hurd-i386 hppa kfreebsd-i386
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
Description: portable Forth interpreter
pForth is a public domain, portable ANS Forth based on a kernel written in
ANSI 'C'. This makes it easy to port pForth to multiple platforms.
export DH_VERBOSE=1
-build: build-stamp
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS += `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
build-stamp:
dh_testdir
mkdir objects
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
- -$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
rm -fr objects
dh_clean
install-stamp: build-stamp
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
install -m0755 pforth `pwd`/debian/pforth/usr/bin/pforth