Initial Release
This commit is contained in:
commit
045ca76a51
5
galacticdynasty/debian/changelog
Normal file
5
galacticdynasty/debian/changelog
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
galacticdynasty (0.9.3-1) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Deon George <deon@leenooks.net> Mon, 28 Jan 2019 00:00:00 +1100
|
1
galacticdynasty/debian/compat
Normal file
1
galacticdynasty/debian/compat
Normal file
@ -0,0 +1 @@
|
|||||||
|
10
|
12
galacticdynasty/debian/control
Normal file
12
galacticdynasty/debian/control
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Source: galacticdynasty
|
||||||
|
Maintainer: Deon George <deon@leenooks.net>
|
||||||
|
Build-Depends: debhelper (>= 8.0.0), libsqlite3-dev, liblua5.3-dev
|
||||||
|
Standards-Version: 3.9.8
|
||||||
|
Section: games
|
||||||
|
|
||||||
|
Package: galacticdynasty
|
||||||
|
Priority: optional
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||||
|
Description: Galactic Dynasty is a BBS door game similar to Solar Realms Elite.
|
||||||
|
It is interBBS capable and opensource.
|
1
galacticdynasty/debian/copyright
Normal file
1
galacticdynasty/debian/copyright
Normal file
@ -0,0 +1 @@
|
|||||||
|
Andrew Pamment
|
9
galacticdynasty/debian/patches/add-start.patch
Normal file
9
galacticdynasty/debian/patches/add-start.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
--- /dev/null
|
||||||
|
+++ b/start.sh
|
||||||
|
@@ -0,0 +1,6 @@
|
||||||
|
+#!/bin/bash
|
||||||
|
+
|
||||||
|
+cd /var/doors/galacticdynasty
|
||||||
|
+GalacticDynasty -D $1 -N $2 2> error
|
||||||
|
+
|
||||||
|
+GalacticDynasty maintenance
|
65
galacticdynasty/debian/patches/fix-makefile.patch
Normal file
65
galacticdynasty/debian/patches/fix-makefile.patch
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -1,10 +1,59 @@
|
||||||
|
all:GalacticDynasty
|
||||||
|
|
||||||
|
main.o:
|
||||||
|
- gcc -c main.cpp
|
||||||
|
+ if [ ! -e odoors ] ; \
|
||||||
|
+ then \
|
||||||
|
+ git clone git://git.magickabbs.com/odoors ; \
|
||||||
|
+ fi
|
||||||
|
+
|
||||||
|
+ cd odoors ; \
|
||||||
|
+ make
|
||||||
|
+
|
||||||
|
+ cd ..
|
||||||
|
+
|
||||||
|
+ gcc -c main.c -o main.o -I./odoors/ -I/usr/include/lua5.3 ; \
|
||||||
|
+ gcc -c interbbs2.c -o interbbs2.o ; \
|
||||||
|
+ gcc -c inih/ini.c -o inih/ini.o ; \
|
||||||
|
+ gcc -o GalacticDynasty main.o interbbs2.o inih/ini.o odoors/libs-`uname -s`/libODoors.a -lsqlite3 -llua5.3
|
||||||
|
|
||||||
|
interbbs2.o:
|
||||||
|
- gcc -c interbbs2.cpp
|
||||||
|
+ #gcc -c interbbs2.cpp
|
||||||
|
+ echo "NOOP"
|
||||||
|
|
||||||
|
GalacticDynasty: main.o interbbs2.o
|
||||||
|
- g++ -o GalacticDynasty main.o interbbs2.o -lODoors -lsqlite3
|
||||||
|
+ #g++ -o GalacticDynasty main.o interbbs2.o -lODoors -lsqlite3
|
||||||
|
+ echo "NOOP"
|
||||||
|
+
|
||||||
|
+clean:
|
||||||
|
+ rm -f *.o inih/*.o
|
||||||
|
+ rm -rf odoors
|
||||||
|
+ rm -f GalacticDynasty
|
||||||
|
+
|
||||||
|
+DOOR_FILES=/var/door/galacticdynasty
|
||||||
|
+DOOR_DOC=$(PREFIX)/share/doc/galacticdynasty
|
||||||
|
+DOOR_BIN=$(PREFIX)/bin
|
||||||
|
+BINNAME=GalacticDynasty
|
||||||
|
+
|
||||||
|
+install-dirs:
|
||||||
|
+ @if [ ! -d "$(DESTDIR)$(DOOR_FILES)" ] ; then \
|
||||||
|
+ mkdir -p "$(DESTDIR)$(DOOR_FILES)" ; \
|
||||||
|
+ chmod 755 "$(DESTDIR)$(DOOR_FILES)" ; \
|
||||||
|
+ fi
|
||||||
|
+ @if [ ! -d "$(DESTDIR)$(DOOR_BIN)" ] ; then \
|
||||||
|
+ mkdir -p "$(DESTDIR)/$(DOOR_BIN)" ; \
|
||||||
|
+ chmod 755 "$(DESTDIR)/$(DOOR_BIN)" ; \
|
||||||
|
+ fi
|
||||||
|
+
|
||||||
|
+install:
|
||||||
|
+ @$(MAKE) install-dirs
|
||||||
|
+ if [ -f "$(BINNAME)" ] ; then \
|
||||||
|
+ cp "$(BINNAME)" "$(DESTDIR)/$(DOOR_BIN)" ; \
|
||||||
|
+ chmod 755 "$(DESTDIR)$(DOOR_BIN)/$(BINNAME)" ; \
|
||||||
|
+ chown root:root "$(DESTDIR)$(DOOR_BIN)/$(BINNAME)" ; \
|
||||||
|
+ fi
|
||||||
|
+ cp *.asc *.ans *.ini events.lua reset.sh start.sh "$(DESTDIR)$(DOOR_FILES)"
|
||||||
|
+ chmod +x "$(DESTDIR)$(DOOR_FILES)"/start.sh
|
||||||
|
+ cp EXAMPLE.CFG "$(DESTDIR)$(DOOR_FILES)/BBS.CFG"
|
||||||
|
+ mkdir -p $(DESTDIR)$(DOOR_DOC)
|
||||||
|
+ cp linmyst.txt "$(DESTDIR)$(DOOR_DOC)"
|
||||||
|
+ tar --wildcards -C "$(DESTDIR)$(DOOR_FILES)" --strip-components=1 -xzf ../galacticdynasty_0.9.3.orig.tar.gz \*orig
|
2
galacticdynasty/debian/patches/series
Normal file
2
galacticdynasty/debian/patches/series
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fix-makefile.patch
|
||||||
|
add-start.patch
|
14
galacticdynasty/debian/rules
Executable file
14
galacticdynasty/debian/rules
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
CFLAGS += -Wno-error=format-security
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_build:
|
||||||
|
make -j1
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
make -j1 PREFIX=/usr install DESTDIR=$$(pwd)/debian/galacticdynasty
|
||||||
|
|
||||||
|
override_dh_usrlocal:
|
||||||
|
echo "Ignoring..."
|
1
galacticdynasty/debian/source/format
Normal file
1
galacticdynasty/debian/source/format
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
BIN
galacticdynasty_0.9.3.orig.tar.gz
Normal file
BIN
galacticdynasty_0.9.3.orig.tar.gz
Normal file
Binary file not shown.
Reference in New Issue
Block a user