--- beef-0.0.6.orig/Makefile +++ beef-0.0.6/Makefile @@ -3,9 +3,9 @@ CC = gcc CFLAGS = -Wall -ansi -pedantic -O2 -PREFIX = /usr -MANDIR = /usr/share/man/man1 -DOCDIR = /usr/share/doc/beef +PREFIX = $(DESTDIR)/usr +MANDIR = $(DESTDIR)/usr/share/man/man1 +DOCDIR = $(DESTDIR)/usr/share/doc/beef TARGETS = src/main.o src/new_cell.o src/load.o src/eval.o \ src/tape_dump.o src/code_dump.o --- beef-0.0.6.orig/debian/dirs +++ beef-0.0.6/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/doc +usr/share/man/man1 --- beef-0.0.6.orig/debian/control +++ beef-0.0.6/debian/control @@ -0,0 +1,26 @@ +Source: beef +Section: devel +Priority: extra +Maintainer: Andrea Bolognani +Build-Depends: debhelper (>= 5.0.0) +Standards-Version: 3.7.3 +Homepage: http://www.kiyuko.org/beef + +Package: beef +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: flexible Brainfuck interpreter + beef is a Brainfuck interpreter, a program which executes Brainfuck + code on the fly. + . + Its behavior is configurable using command-line options. This enables + you to run most Brainfuck programs, even ones written for other + interpreters/compilers without modifications. + . + beef is not affected by some historical Brainfuck limitations. For + example, the length of the memory tape's only limit is the amount of + memory your computer has. + . + beef's aim is not to be incredibly small or optimized (although it is + quite fast), but to be a flexible and pleasant-to-work-with + interpreter. --- beef-0.0.6.orig/debian/rules +++ beef-0.0.6/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# export DH_VERBOSE=1 + +CFLAGS = -Wall -ansi -pedantic +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) install DESTDIR="$(CURDIR)/debian/beef" + rm -f "$(CURDIR)/debian/beef/usr/share/doc/beef/COPYING.gz" + +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + $(MAKE) clean + dh_clean + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- beef-0.0.6.orig/debian/watch +++ beef-0.0.6/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kiyuko.org/beef /beef/download/(.*) --- beef-0.0.6.orig/debian/changelog +++ beef-0.0.6/debian/changelog @@ -0,0 +1,36 @@ +beef (0.0.6-2) unstable; urgency=low + + * Added watch file + * Added support for DEB_BUILD_OPTIONS (noopt) + * Don't ignore `$(MAKE) clean' errors anymore + * Bumped Standards-Version to 3.7.3 (no changes needed) + * Moved Homepage to the proper control field + * Changed debian/copyright to comply with the proposed machine-interpretable + copyright format (with some modifications) + + -- Andrea Bolognani Sun, 17 Feb 2008 23:51:57 +0100 + +beef (0.0.6-1) unstable; urgency=low + + * New upstream release + * Bumped Standards-Version to 3.7.2 + * Improved long description + * Added Homepage pseudo-field + * Sponsored package by Neil McGovern + - Proofread and updated long description to better English + + -- Andrea Bolognani Thu, 1 Feb 2007 19:58:12 +0100 + +beef (0.0.5-1) unstable; urgency=low + + * New upstream release + * Added copyright notice for the packaging work + + -- Andrea Bolognani Wed, 29 Mar 2006 09:44:35 +0100 + +beef (0.0.4-1) unstable; urgency=low + + * Initial release. Closes: #355179 + + -- Andrea Bolognani Fri, 10 Mar 2006 16:02:20 +0100 + --- beef-0.0.6.orig/debian/compat +++ beef-0.0.6/debian/compat @@ -0,0 +1 @@ +5 --- beef-0.0.6.orig/debian/copyright +++ beef-0.0.6/debian/copyright @@ -0,0 +1,21 @@ +Upstream-Author: KiyuKo +Dowloaded-From: http://www.kiyuko.org/beef + +Debianized-By: Andrea Bolognani +Debianization-Date: Fri, 10 Mar 2006 16:02:20 +0100 + +Files: * +Copyright: © 2005-2007 KiyuKo +License: GPL-2+ + This program 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; either version 2, or (at your option) any + later version. + +Files: debian/* +Copyright: © 2006-2008 Andrea Bolognani +License: GPL-2+ + The Debian packaging is under the same license as the package itself. + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License version 2 can be found in `/usr/share/common-licenses/GPL-2'.