Initial Release

This commit is contained in:
Deon George 2019-01-28 10:32:43 +00:00
commit 045ca76a51
10 changed files with 110 additions and 0 deletions

View 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

View File

@ -0,0 +1 @@
10

View 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.

View File

@ -0,0 +1 @@
Andrew Pamment

View 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

View 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

View File

@ -0,0 +1,2 @@
fix-makefile.patch
add-start.patch

14
galacticdynasty/debian/rules Executable file
View 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..."

View File

@ -0,0 +1 @@
3.0 (quilt)

Binary file not shown.