--- smake-1.2a23.orig/debian/control
+++ smake-1.2a23/debian/control
@@ -0,0 +1,14 @@
+Source: smake
+Section: devel
+Priority: optional
+Maintainer: Joerg Jaspert <joerg@debian.org>
+Build-Depends: debhelper (>> 4.0.0)
+Standards-Version: 3.6.1
+
+Package: smake
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Schily make. Portable, extensible make
+ A portable make program optimized to be used with 'makefiles'.
+ smake includes special automake features that allow to do 
+ easy portable compilation.
--- smake-1.2a23.orig/debian/rules
+++ smake-1.2a23/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export DH_COMPAT=4
+
+COPTX = -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+COPTX += -O0
+else
+COPTX += -O2
+endif
+
+
+build:
+	dh_testdir
+# The following really goes and compiles a small bootstrap smake and then uses that to do
+# a real smake build.
+	$(MAKE) all COPTX='$(COPTX)' INS_BASE=/usr
+
+clean:
+	dh_testdir
+	dh_testroot
+	-./.clean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install INS_BASE=$(CURDIR)/debian/smake/usr MANDIR=share/man
+	-rm -rf $(CURDIR)/debian/smake/usr/{include,lib}
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- smake-1.2a23.orig/debian/dirs
+++ smake-1.2a23/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share
--- smake-1.2a23.orig/debian/docs
+++ smake-1.2a23/debian/docs
@@ -0,0 +1,4 @@
+README.gmake
+README.linux
+README.SSPM
+AN-*
--- smake-1.2a23.orig/debian/changelog
+++ smake-1.2a23/debian/changelog
@@ -0,0 +1,40 @@
+smake (1.2a23-0.backports.org.1) unstable; urgency=low
+
+  * recompiled for http://www.backports.org/
+
+ -- Norbert Tretkowski <tretkowski@inittab.de>  Wed, 21 Jul 2004 13:30:05 +0200
+
+smake (1.2a23-1) unstable; urgency=low
+
+  * New upstream release
+  * Bug fix: "Compilation failures don't stop compilation",
+    thanks to Andrew Moise (Closes: #239707).
+
+ -- Joerg Jaspert <joerg@debian.org>  Sun, 11 Jul 2004 22:21:45 +0200
+
+smake (1.2a22-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon,  1 Mar 2004 00:38:58 +0100
+
+smake (1.2a18-3) unstable; urgency=low
+
+  * Argh. Use += to add things to a variable in a makefile.
+
+ -- Joerg Jaspert <joerg@debian.org>  Mon, 18 Nov 2002 18:04:50 +0100
+
+smake (1.2a18-2) unstable; urgency=low
+
+  * Dont modify COPTOPT or COPTS, use only COPTX.
+  * Set INS_BASE at build time to /usr, at install time to the
+    package-built-dir.
+
+ -- Joerg Jaspert <joerg@debian.org>  Tue, 12 Nov 2002 17:07:43 +0100
+
+smake (1.2a18-1) unstable; urgency=low
+
+  * Initial Release (closes: #167210)
+
+ -- Joerg Jaspert <joerg@debian.org>  Fri,  8 Nov 2002 14:24:52 +0100
+
--- smake-1.2a23.orig/debian/copyright
+++ smake-1.2a23/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Joerg Jaspert <joerg@debian.org> on
+Tue,  5 Nov 2002 23:54:16 +0100.
+
+It was downloaded from ftp://ftp.berlios.de/pub/schily/smake/alpha/
+
+Upstream Author: Joerg Schilling <schilling@fokus.gmd.de>
+
+Copyright:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- smake-1.2a23.orig/debian/README.Debian
+++ smake-1.2a23/debian/README.Debian
@@ -0,0 +1,10 @@
+smake for Debian
+----------------
+
+smake is optimized for the 'makefiles' system. For examples see the
+star or cdrtools package until the makefiles package gets packaged for
+Debian. (I intend to do it in the near future). Or fetch makefiles
+yourself from ftp://ftp.fokus.gmd.de/pub/unix/makefiles if you don't want
+to wait so long. :)
+
+ -- Joerg Jaspert <joerg@debian.org>, Tue,  5 Nov 2002 23:54:16 +0100
--- smake-1.2a23.orig/debian/smake.links
+++ smake-1.2a23/debian/smake.links
@@ -0,0 +1 @@
+usr/share/doc/smake/AN-1.2a23 usr/share/doc/smake/changelog
