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: a2pi:
$(MAKE) -C src $(MAKE) -C src
clean:
-rm *.tar.gz
$(MAKE) -C src clean
install:
$(MAKE) -C src install
dist: dist:
-rm -rf $(DISTDIR) -rm -rf $(DISTDIR)
mkdir $(DISTDIR) mkdir $(DISTDIR)
-chmod 777 $(DISTDIR) -chmod 777 $(DISTDIR)
-cp * $(DISTDIR) -cp * $(DISTDIR)
cp -R ./debian $(DISTDIR)
cp -R ./docs $(DISTDIR) cp -R ./docs $(DISTDIR)
cp -R ./share $(DISTDIR) cp -R ./share $(DISTDIR)
cp -R ./src $(DISTDIR) cp -R ./src $(DISTDIR)

13
debian/control vendored
View File

@ -2,19 +2,20 @@ Source: a2pi
Section: unknown Section: unknown
Priority: extra Priority: extra
Maintainer: David Schmenk <dschmenk@apple2pie> 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 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-Git: git://git.debian.org/collab-maint/a2pi.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/a2pi.git;a=summary #Vcs-Browser: http://git.debian.org/?p=collab-maint/a2pi.git;a=summary
Package: a2pi Package: a2pi
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, libfuse2 (>= 2.9.0)
Description: <insert up to 60 chars description> Description: Apple II Pi daemon and utilites
<insert long description, indented with spaces> Apple II Pi is a suite of programs to integrate an Apple II with
the Raspberry Pi.
Package: a2pi-doc Package: a2pi-doc
Architecture: all Architecture: all
Description: documentation for a2pi 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 $@ dh $@

View File

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