r2374 - packages/trunk/enet/debian
Gonéri Le Bouder
goneri-guest at alioth.debian.org
Sat Feb 3 00:27:44 CET 2007
Author: goneri-guest
Date: 2007-02-03 00:27:43 +0100 (Sat, 03 Feb 2007)
New Revision: 2374
Added:
packages/trunk/enet/debian/libenet1-dev.links
Modified:
packages/trunk/enet/debian/changelog
packages/trunk/enet/debian/control
packages/trunk/enet/debian/rules
Log:
+ * create a shared lib to respect Debian policy
+ - add libenet1-dev.links
+ - calls dh_makeshlibs
+ - provide libenet1
Modified: packages/trunk/enet/debian/changelog
===================================================================
--- packages/trunk/enet/debian/changelog 2007-02-02 22:37:10 UTC (rev 2373)
+++ packages/trunk/enet/debian/changelog 2007-02-02 23:27:43 UTC (rev 2374)
@@ -1,9 +1,11 @@
enet (1.0-3) UNRELEASED; urgency=low
- * NOT RELEASED YET
- * NOT YET FINISHED: create a shared lib to respect Debian policy
+ * create a shared lib to respect Debian policy
+ - add libenet1-dev.links
+ - calls dh_makeshlibs
+ - provide libenet1
- -- Alexander Schmehl <alex at schmehl.info> Mon, 4 Sep 2006 10:38:52 +0200
+ -- Gonéri Le Bouder <goneri at rulezlan.org> Fri, 2 Feb 2007 23:49:12 +0100
enet (1.0-2) unstable; urgency=medium
Modified: packages/trunk/enet/debian/control
===================================================================
--- packages/trunk/enet/debian/control 2007-02-02 22:37:10 UTC (rev 2373)
+++ packages/trunk/enet/debian/control 2007-02-02 23:27:43 UTC (rev 2374)
@@ -8,8 +8,9 @@
Package: libenet1
Section: libs
-Replaces: libenet, libenet-dev
-Conflicts: libenet, libenet-dev
+Replaces: libenet
+Conflicts: libenet
+Depends: ${shlibs:Depends}
Architecture: any
Description: devel files for libenet, a UDP networking library
ENet's purpose is to provide a relatively thin, simple and robust network
@@ -22,11 +23,9 @@
.
Homepage http://enet.cubik.org
-Package: libenet1-dev
-Depends: libenet1
-Replaces: libenet-dev
-Conflicts: libenet-dev
+Package: libenet-dev
Section: libdevel
+Depends: libenet1
Architecture: any
Description: devel files for libenet, a UDP networking library
ENet's purpose is to provide a relatively thin, simple and robust network
Added: packages/trunk/enet/debian/libenet1-dev.links
===================================================================
--- packages/trunk/enet/debian/libenet1-dev.links 2007-02-02 22:37:10 UTC (rev 2373)
+++ packages/trunk/enet/debian/libenet1-dev.links 2007-02-02 23:27:43 UTC (rev 2374)
@@ -0,0 +1 @@
+usr/lib/libenet.so.1.0 usr/lib/libenet.so
Modified: packages/trunk/enet/debian/rules
===================================================================
--- packages/trunk/enet/debian/rules 2007-02-02 22:37:10 UTC (rev 2373)
+++ packages/trunk/enet/debian/rules 2007-02-02 23:27:43 UTC (rev 2374)
@@ -24,8 +24,6 @@
$(MAKE)
# create the shared lib
gcc -Wl,-soname,libenet.so.1 -shared -o libenet.so.1 *.o
- ln -s libenet.so.1 libenet.so.1.0
-
touch build-stamp
clean:
@@ -50,11 +48,9 @@
dh_clean -k
dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/libenet1-dev
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/libenet-dev
mkdir -p $(CURDIR)/debian/libenet1/usr/lib
cp libenet.so* $(CURDIR)/debian/libenet1/usr/lib
-# cd $(CURDIR)/debian/libenet1/ ; ln -s libenet.so.1.0 usr/lib/libenet.so.1
-# ln -s $(CURDIR)/debian/libenet1/libenet.so.1.0 usr/lib/libenet.so.1
binary-indep: build install
binary-arch: build install
@@ -66,8 +62,9 @@
dh_strip
dh_compress
dh_fixperms
- dh_installdeb
+ dh_makeshlibs -V
dh_shlibdeps
+ dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
More information about the Pkg-games-commits
mailing list