r1377 - packages/trunk/enet/debian

Gonéri Le Bouder goneri-guest at costa.debian.org
Sat Aug 19 11:36:03 UTC 2006


Author: goneri-guest
Date: 2006-08-19 11:36:02 +0000 (Sat, 19 Aug 2006)
New Revision: 1377

Removed:
   packages/trunk/enet/debian/libenet-dev.install
   packages/trunk/enet/debian/libenet.install
Modified:
   packages/trunk/enet/debian/changelog
   packages/trunk/enet/debian/control
   packages/trunk/enet/debian/rules
Log:
remove cdbs. please see http://wiki.debian.org/Games/ToolsDiscuss


Modified: packages/trunk/enet/debian/changelog
===================================================================
--- packages/trunk/enet/debian/changelog	2006-08-19 10:02:00 UTC (rev 1376)
+++ packages/trunk/enet/debian/changelog	2006-08-19 11:36:02 UTC (rev 1377)
@@ -1,6 +1,8 @@
 enet (1.0-2) UNRELEASED; urgency=medium
 
+  * remove cdbs. please see http://wiki.debian.org/Games/ToolsDiscuss
   * libenet-dev FIX: install missing file callbacks.h
+  * provide libenet-dev only since it's not a shared library
 
  -- Gonéri Le Bouder <goneri at rulezlan.org>  Fri, 18 Aug 2006 19:44:26 +0200
 

Modified: packages/trunk/enet/debian/control
===================================================================
--- packages/trunk/enet/debian/control	2006-08-19 10:02:00 UTC (rev 1376)
+++ packages/trunk/enet/debian/control	2006-08-19 11:36:02 UTC (rev 1377)
@@ -7,9 +7,10 @@
 Standards-Version: 3.7.2
 
 Package: libenet-dev
+Replaces: libenet
+Conflicts: libenet
 Section: libdevel
 Architecture: any
-Depends: libenet (= ${Source-Version})
 Description: devel files for libenet, a UDP networking library
  ENet's purpose is to provide a relatively thin, simple and robust network
  communication layer on top of UDP (User Datagram Protocol). The primary
@@ -21,17 +22,3 @@
  .
   Homepage http://enet.cubik.org 
 
-Package: libenet
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}
-Description: a UDP networking library
- ENet's purpose is to provide a relatively thin, simple and robust network
- communication layer on top of UDP (User Datagram Protocol). The primary
- feature it provides is optional reliable, in-order delivery of packets.
- .
- ENet is NOT intended to be a general purpose high level networking library
- that handles authentication, lobbying, server discovery, compression,
- encryption and other high level, often application level or dependent tasks.
- .
-  Homepage http://enet.cubik.org 

Deleted: packages/trunk/enet/debian/libenet-dev.install
===================================================================
--- packages/trunk/enet/debian/libenet-dev.install	2006-08-19 10:02:00 UTC (rev 1376)
+++ packages/trunk/enet/debian/libenet-dev.install	2006-08-19 11:36:02 UTC (rev 1377)
@@ -1,8 +0,0 @@
-debian/tmp/usr/include/enet/types.h
-debian/tmp/usr/include/enet/list.h
-debian/tmp/usr/include/enet/utility.h
-debian/tmp/usr/include/enet/time.h
-debian/tmp/usr/include/enet/unix.h
-debian/tmp/usr/include/enet/protocol.h
-debian/tmp/usr/include/enet/enet.h
-debian/tmp/usr/include/enet/callbacks.h

Deleted: packages/trunk/enet/debian/libenet.install
===================================================================
--- packages/trunk/enet/debian/libenet.install	2006-08-19 10:02:00 UTC (rev 1376)
+++ packages/trunk/enet/debian/libenet.install	2006-08-19 11:36:02 UTC (rev 1377)
@@ -1 +0,0 @@
-debian/tmp/usr/lib/libenet.a

Modified: packages/trunk/enet/debian/rules
===================================================================
--- packages/trunk/enet/debian/rules	2006-08-19 10:02:00 UTC (rev 1376)
+++ packages/trunk/enet/debian/rules	2006-08-19 11:36:02 UTC (rev 1377)
@@ -1,6 +1,70 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+config.status: configure
+	dh_testdir
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
+
+
+build: build-stamp
+
+build-stamp:  config.status
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	-$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/libenet-dev
+
+binary-indep: build install
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples
+	dh_installmenu
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 




More information about the Pkg-games-commits mailing list