r541 - in packages/cube/trunk/debian: . patches
Gonéri Le Bouder
goneri-guest at costa.debian.org
Sun Apr 23 22:00:17 UTC 2006
Author: goneri-guest
Date: 2006-04-23 22:00:16 +0000 (Sun, 23 Apr 2006)
New Revision: 541
Added:
packages/cube/trunk/debian/cube-client.sh
packages/cube/trunk/debian/cube-server.sh
Modified:
packages/cube/trunk/debian/patches/00list
packages/cube/trunk/debian/rules
Log:
use of warpper script to launch cube-(client|server)
02_data_in_usr_share.patch not used anymore
clean up in rules
Added: packages/cube/trunk/debian/cube-client.sh
===================================================================
--- packages/cube/trunk/debian/cube-client.sh 2006-04-22 16:31:32 UTC (rev 540)
+++ packages/cube/trunk/debian/cube-client.sh 2006-04-23 22:00:16 UTC (rev 541)
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# Wrapper script for cube-client-nonfree.
+#
+# This file is part of cube Debian package.
+#
+# Copyright (C) 2006 Gonéri Le Bouder
+#
+# Author: Gonéri Le Bouder <goneri at rulezlan.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+DATADIR=/usr/share/cube/
+
+cd $DATADIR
+exec /usr/lib/cube/cube-client.bin $*
Property changes on: packages/cube/trunk/debian/cube-client.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/cube/trunk/debian/cube-server.sh
===================================================================
--- packages/cube/trunk/debian/cube-server.sh 2006-04-22 16:31:32 UTC (rev 540)
+++ packages/cube/trunk/debian/cube-server.sh 2006-04-23 22:00:16 UTC (rev 541)
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# Wrapper script for cube-client-nonfree.
+#
+# This file is part of cube Debian package.
+#
+# Copyright (C) 2006 Gonéri Le Bouder
+#
+# Author: Gonéri Le Bouder <goneri at rulezlan.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+DATADIR=/usr/share/cube/
+
+cd $DATADIR
+exec /usr/lib/cube/cube-server.bin $*
Property changes on: packages/cube/trunk/debian/cube-server.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/cube/trunk/debian/patches/00list
===================================================================
--- packages/cube/trunk/debian/patches/00list 2006-04-22 16:31:32 UTC (rev 540)
+++ packages/cube/trunk/debian/patches/00list 2006-04-23 22:00:16 UTC (rev 541)
@@ -1,3 +1,2 @@
01_permissive_gcc.patch
-02_data_in_usr_share.patch
04_load_personal_setting.patch
Modified: packages/cube/trunk/debian/rules
===================================================================
--- packages/cube/trunk/debian/rules 2006-04-22 16:31:32 UTC (rev 540)
+++ packages/cube/trunk/debian/rules 2006-04-23 22:00:16 UTC (rev 541)
@@ -68,14 +68,20 @@
# Add here commands to install the package into debian/cube.
# client
- dh_install -pcube-client src/cube_client usr/games
- mv debian/cube-client/usr/games/cube_client \
+ dh_install -pcube-client src/cube_client usr/lib/cube
+ mv debian/cube-client/usr/lib/cube/cube_client \
+ debian/cube-client/usr/lib/cube-client.bin
+ dh_install -pcube-client debian/cube-client.sh usr/games
+ mv debian/cube-client/usr/games/cube-client.sh \
debian/cube-client/usr/games/cube-client
dh_install -pcube-client debian/cube-client.desktop usr/share/applications
# server
- dh_install -pcube-server src/cube_server usr/games
- mv debian/cube-server/usr/games/cube_server \
+ dh_install -pcube-server src/cube_server usr/lib/cube
+ mv debian/cube-server/usr/lib/cube/cube_server \
+ debian/cube-server/usr/lib/cube/cube-server.bin
+ dh_install -pcube-server debian/cube-server.sh usr/games
+ mv debian/cube-server/usr/games/cube-server.sh \
debian/cube-server/usr/games/cube-server
@@ -92,22 +98,11 @@
dh_installexamples
# dh_install
dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
-# dh_perl
-# dh_python
-# dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
More information about the Pkg-games-devel
mailing list