mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 21:10:01 -08:00
First usable debian/ folder.
This commit is contained in:
parent
a29a2b33af
commit
6280337df1
2 changed files with 23 additions and 4 deletions
6
debian/control
vendored
6
debian/control
vendored
|
|
@ -2,11 +2,11 @@ Source: cockatrice
|
|||
Maintainer: Marc Brinkmann <git@marcbrinkmann.de>
|
||||
Section: games
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Standards-Version: 3.9.4
|
||||
Build-Depends: debhelper (>= 9), cmake, libqt4-dev, libprotobuf-dev, build-essential, git, qtmobility-dev, protobuf-compiler, libgcrypt-dev
|
||||
|
||||
Package: cockatrice-client
|
||||
Package: cockatrice
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Play CCGs online.
|
||||
Allows you to connect to a cockatrice server to play collectible card games online.
|
||||
Allows you to connect to a cockatrice server to play collectible card games online. Includes client and server.
|
||||
|
|
|
|||
21
debian/rules
vendored
21
debian/rules
vendored
|
|
@ -1,5 +1,24 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
BUILDDIR = build_dir_debian
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
override_dh_auto_configure:
|
||||
cmake . -DCMAKE_BUILD_TYPE=Release -DWITH_QT4=1 -DWITH_CLIENT=1 -DWITH_SERVER=1 -DWITH_ORACLE=1
|
||||
mkdir $(BUILDDIR)
|
||||
cd $(BUILDDIR) && cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_QT4=1 -DWITH_CLIENT=1 -DWITH_SERVER=1 -DWITH_ORACLE=1 -DCMAKE_INSTALL_PREFIX:PATH=/usr
|
||||
|
||||
override_dh_auto_install:
|
||||
# fuck debian packaging. seriously. this shit is from the 90s
|
||||
ln -s ../debian $(BUILDDIR)/debian
|
||||
cd $(BUILDDIR) && dh_auto_install
|
||||
|
||||
override_dh_auto_build:
|
||||
make -j -C $(BUILDDIR)
|
||||
|
||||
override_dh_usrlocal:
|
||||
|
||||
override_dh_auto_clean:
|
||||
dh_clean
|
||||
rm -rf $(BUILDDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue