working on deb creation

This commit is contained in:
dschmenk 2013-09-20 08:57:17 -07:00
parent aaf022fe69
commit be12a16587
4 changed files with 21 additions and 10 deletions

View File

@ -6,11 +6,19 @@ DISTDIR=./$(DIST)
a2pi:
$(MAKE) -C src
clean:
-rm *.tar.gz
$(MAKE) -C src clean
install:
$(MAKE) -C src install
dist:
-rm -rf $(DISTDIR)
mkdir $(DISTDIR)
-chmod 777 $(DISTDIR)
-cp * $(DISTDIR)
cp -R ./debian $(DISTDIR)
cp -R ./docs $(DISTDIR)
cp -R ./share $(DISTDIR)
cp -R ./src $(DISTDIR)

13
debian/control vendored
View File

@ -2,19 +2,20 @@ Source: a2pi
Section: unknown
Priority: extra
Maintainer: David Schmenk <dschmenk@apple2pie>
Build-Depends: debhelper (>= 8.0.0)
Build-Depends: debhelper (>= 8.0.0), libfuse-dev (>= 2.9.0)
Standards-Version: 3.9.3
Homepage: <insert the upstream URL, if relevant>
Homepage: http://schmenk.is-a-geek.com
#Vcs-Git: git://git.debian.org/collab-maint/a2pi.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/a2pi.git;a=summary
Package: a2pi
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse2 (>= 2.9.0)
Description: Apple II Pi daemon and utilites
Apple II Pi is a suite of programs to integrate an Apple II with
the Raspberry Pi.
Package: a2pi-doc
Architecture: all
Description: documentation for a2pi
<insert long description, indented with spaces>
Apple II Pi documentaton and sample code.

1
debian/rules vendored
View File

@ -19,3 +19,4 @@ export DH_OPTIONS
%:
dh $@

View File

@ -1,5 +1,6 @@
DESTDIR=/usr/local/bin
SHAREDIR=/usr/share/a2pi
DESTDIR=/usr/local
BINDIR=$(DESTDIR)/bin
SHAREDIR=$(DESTDIR)/share/a2pi
BIN=a2pid a2joy a2joymou a2joypad a2mon a2term fusea2pi dskread dskwrite bload brun
A2PIDEFS=-DSETSERCLK
@ -15,10 +16,10 @@ clean:
-rm $(BIN) *~ *.tar.gz
install:
cp $(BIN) a2mount $(DESTDIR)
cp $(BIN) a2mount $(BINDIR)
-mkdir $(SHAREDIR)
cp ../share/* $(SHAREDIR)
$(BASH) ./a2pi-setup.sh
uninstall:
cd $(DESTDIR); rm $(BIN) a2mount
cd $(BINDIR); rm $(BIN) a2mount