mirror of
https://github.com/pfusik/xasm.git
synced 2024-06-01 01:41:29 +00:00
DEB distribution.
This commit is contained in:
parent
2d8b3cde17
commit
d1276f3d97
13
.gitignore
vendored
13
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
||||||
*.exe
|
xasm
|
||||||
*.obj
|
xasm.exe
|
||||||
*.html
|
xasm.obj
|
||||||
*.1
|
xasm.html
|
||||||
*.zip
|
xasm.1
|
||||||
*.dmg
|
xasm-*-windows.zip
|
||||||
|
xasm-*-osx.dmg
|
||||||
|
|
18
Makefile
18
Makefile
|
@ -1,5 +1,9 @@
|
||||||
VERSION = 3.1.0
|
VERSION = 3.1.0
|
||||||
|
|
||||||
|
prefix = /usr/local
|
||||||
|
bindir = $(prefix)/bin
|
||||||
|
mandir = $(prefix)/share/man/man1
|
||||||
|
|
||||||
all: xasm xasm.html
|
all: xasm xasm.html
|
||||||
|
|
||||||
xasm: xasm.d
|
xasm: xasm.d
|
||||||
|
@ -14,6 +18,16 @@ xasm.1: xasm.1.txt
|
||||||
xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
xasm-$(VERSION)-windows.zip: xasm xasm.html xasm.properties
|
||||||
$(RM) $@ && 7z a -mx=9 -tzip $@ xasm.exe xasm.html xasm.properties
|
$(RM) $@ && 7z a -mx=9 -tzip $@ xasm.exe xasm.html xasm.properties
|
||||||
|
|
||||||
|
install: xasm xasm.1
|
||||||
|
mkdir -p $(DESTDIR)$(bindir) && install xasm $(DESTDIR)$(bindir)/xasm
|
||||||
|
mkdir -p $(DESTDIR)$(mandir) && install -m 644 xasm.1 $(DESTDIR)$(mandir)/xasm.1
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) $(DESTDIR)$(bindir)/xasm $(DESTDIR)$(mandir)/xasm.1
|
||||||
|
|
||||||
|
deb:
|
||||||
|
debuild -b -us -uc
|
||||||
|
|
||||||
osx: xasm-$(VERSION)-osx.dmg
|
osx: xasm-$(VERSION)-osx.dmg
|
||||||
|
|
||||||
xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
|
xasm-$(VERSION)-osx.dmg: osx/xasm osx/bin
|
||||||
|
@ -26,9 +40,9 @@ osx/bin:
|
||||||
mkdir -p osx && ln -s /usr/bin $@
|
mkdir -p osx && ln -s /usr/bin $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) xasm xasm.exe xasm.html xasm.1 xasm-$(VERSION)-windows.zip xasm-$(VERSION)-osx.dmg
|
$(RM) xasm xasm.exe xasm.obj xasm.html xasm.1 xasm-$(VERSION)-windows.zip xasm-$(VERSION)-osx.dmg
|
||||||
rm -rf osx
|
rm -rf osx
|
||||||
|
|
||||||
.PHONY: all osx clean
|
.PHONY: all install uninstall deb osx clean
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
xasm (3.1.0-1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* First deb packaging.
|
||||||
|
|
||||||
|
-- Piotr Fusik <fox@scene.pl> Wed, 11 Jun 2014 10:46:15 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
9
|
11
debian/control
vendored
Normal file
11
debian/control
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
Source: xasm
|
||||||
|
Maintainer: Piotr Fusik <fox@scene.pl>
|
||||||
|
Section: devel
|
||||||
|
Priority: optional
|
||||||
|
Standards-Version: 3.9.3
|
||||||
|
Build-Depends: debhelper (>= 7), dmd (>= 2), asciidoc
|
||||||
|
|
||||||
|
Package: xasm
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}
|
||||||
|
Description: A 6502 cross-assembler with original syntax extensions.
|
7
debian/copyright
vendored
Normal file
7
debian/copyright
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Name: xasm
|
||||||
|
Source: https://github.com/pfusik/xasm
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 1998-2014 Piotr Fusik <fox@scene.pl>
|
||||||
|
License: Poetic
|
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
usr/bin/xasm
|
||||||
|
usr/share/man/man1/xasm.1
|
6
debian/rules
vendored
Normal file
6
debian/rules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
$(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr install
|
Loading…
Reference in New Issue
Block a user