Depends: ${shlibs:Depends}, ${local:libssl}
Recommends: magicsmoke2-doc
Suggests: magicsmoke2-server
-Description: MagicSmoke Ticket Sale System
+Description: MagicSmoke Ticket Sale System - Standalone Client
This package contains the MagicSmoke Ticket Sales System Client version 2.
.
It requires a MagicSmoke version 2 server to be running somewhere.
Architecture: all
Depends:
Suggests: magicsmoke
-Description: MagicSmoke Ticket Sale System
+Description: MagicSmoke Ticket Sale System - Documentation
This package contains the MagicSmoke Ticket Sales System Documentation
in HTML format.
Package: magicsmoke2-server
Architecture: all
-Depends: php5 (>= 5), php5-mysql (>= 5), php5-mhash (>= 5)
-Suggests: magicsmoke-doc, magicsmoke
-Description: MagicSmoke Ticket Sale System
+Depends: php5 (>= 5), php5-mysql (>= 5) | php5-pgsql (>= 5)
+Suggests: magicsmoke2-doc, magicsmoke2
+Description: MagicSmoke Ticket Sale System - Server
This package contains the MagicSmoke Ticket Sales System Server version 2.
.
It can be installed in parallel to the old version 1 system, but is
#!/usr/bin/make -f
# -*- makefile -*-
# Debian packaging script for MagicSmoke
-# (c) Konrad Rosenbaum, 2009
+# (c) Konrad Rosenbaum, 2009-2010
#Original comment:
# Sample debian/rules that uses debhelper.
@echo '********************'
@echo Building...
dh_testdir
- cd woc; /usr/bin/qmake
- $(MAKE) -C woc
- cd wob; ../woc/woc magicsmoke.wolf
- cd zip; /usr/bin/qmake
- $(MAKE) -C zip
- cd src; /usr/bin/qmake
- $(MAKE) -C src
- cd src ; /usr/bin/lrelease smoke.pro
+ make -f Makefile.unix
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
- $(MAKE) -C src distclean
- $(MAKE) -C woc distclean
- $(MAKE) -C zip distclean
- rm -rf src/wob www/inc/wob
+ $(MAKE) -f Makefile.unix distclean
dh_clean
install: install-base install-client install-doc install-server
install-client:
@echo '********************'
@echo Install Client...
+ #client itself
mkdir -p $(CLIENT)/usr/share/doc/magicsmoke2-client
install -D src/msmoke $(CLIENT)/usr/lib/magicsmoke2/msmoke
- #cp zip/lib* $(CLIENT)/usr/lib/magicsmoke2/
cp src/icon.png $(CLIENT)/usr/lib/magicsmoke2/
+ #wrapper for /usr/bin
echo '#!/bin/sh' >$(CLIENT)/usr/bin/msmoke2
#echo 'LD_LIBRARY_PATH=/usr/lib/magicsmoke2:$LD_LIBRARY_PATH' >>$(CLIENT)/usr/bin/msmoke2
#echo 'export LD_LIBRARY_PATH' >>$(CLIENT)/usr/bin/msmoke2
echo 'exec /usr/lib/magicsmoke2/msmoke' >>$(CLIENT)/usr/bin/msmoke2
chmod +x $(CLIENT)/usr/bin/msmoke2
+ #remove the .svn dirs copied before
rm -rf `find $(CLIENT) -name .svn`
+ #debian docu
cp -L README COPYING* $(CLIENT)/usr/share/doc/magicsmoke2-client
gzip `ls $(CLIENT)/usr/share/doc/magicsmoke2-client/* |grep -v .gz`
cp -L src/smoke*.qm $(CLIENT)/usr/lib/magicsmoke2