Author: goneri-guest
Date: 2007-03-04 02:21:44 +0000 (Sun, 04 Mar 2007)
New Revision: 2451

Added:
   packages/trunk/enet/debian/enet.pc
Modified:
   packages/trunk/enet/debian/changelog
   packages/trunk/enet/debian/control
   packages/trunk/enet/debian/rules
Log:
+   - provide libenet1-dev that conflicts on libenet-dev
+   - add a pkg-config file (Closes: #387581)


Modified: packages/trunk/enet/debian/changelog
===================================================================
--- packages/trunk/enet/debian/changelog        2007-03-04 01:58:32 UTC (rev 
2450)
+++ packages/trunk/enet/debian/changelog        2007-03-04 02:21:44 UTC (rev 
2451)
@@ -3,7 +3,9 @@
   * create a shared lib to respect Debian policy
    - add libenet1-dev.links
    - calls dh_makeshlibs
-   - provide libenet1 
+   - provide libenet1
+   - provide libenet1-dev that conflicts on libenet-dev
+   - add a pkg-config file (Closes: #387581)
 
  -- Gonéri Le Bouder <[EMAIL PROTECTED]>  Fri,  2 Feb 2007 23:49:12 +0100
 

Modified: packages/trunk/enet/debian/control
===================================================================
--- packages/trunk/enet/debian/control  2007-03-04 01:58:32 UTC (rev 2450)
+++ packages/trunk/enet/debian/control  2007-03-04 02:21:44 UTC (rev 2451)
@@ -23,9 +23,11 @@
  .
   Homepage http://enet.cubik.org 
 
-Package: libenet-dev
+Package: libenet1-dev
 Section: libdevel
 Depends: libenet1
+Replaces: libenet-dev
+Conflicts: libenet-dev
 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/enet.pc
===================================================================
--- packages/trunk/enet/debian/enet.pc  2007-03-04 01:58:32 UTC (rev 2450)
+++ packages/trunk/enet/debian/enet.pc  2007-03-04 02:21:44 UTC (rev 2451)
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: enet 
+Description: an UDP networking library
+Version: 1.0
+Libs: -L${libdir} -lenet
+Cflags: -I${includedir}/enet

Modified: packages/trunk/enet/debian/rules
===================================================================
--- packages/trunk/enet/debian/rules    2007-03-04 01:58:32 UTC (rev 2450)
+++ packages/trunk/enet/debian/rules    2007-03-04 02:21:44 UTC (rev 2451)
@@ -38,7 +38,7 @@
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
        cp -f /usr/share/misc/config.guess config.guess
 endif
-       rm -rf libenet.so.* debian/libenet1 debian/libenet1-1
+       rm -rf libenet.so.* debian/libenet1 debian/libenet1-1 config.log
 
        dh_clean 
 
@@ -48,9 +48,13 @@
        dh_clean -k 
        dh_installdirs
 
-       $(MAKE) install DESTDIR=$(CURDIR)/debian/libenet-dev
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/libenet1-dev
        mkdir -p $(CURDIR)/debian/libenet1/usr/lib
        cp libenet.so* $(CURDIR)/debian/libenet1/usr/lib
+       mkdir -p $(CURDIR)/debian/libenet1-dev/usr/include/enet
+       cp include/enet/*.h $(CURDIR)/debian/libenet1-dev/usr/include/enet
+       mkdir -p $(CURDIR)/debian/libenet1-dev/usr/lib/pkgconfig
+       cp debian/enet.pc $(CURDIR)/debian/libenet1-dev/usr/lib/pkgconfig
 
 binary-indep: build install
 binary-arch: build install
@@ -62,7 +66,7 @@
        dh_strip
        dh_compress
        dh_fixperms
-       dh_makeshlibs -V
+       dh_makeshlibs
        dh_shlibdeps
        dh_installdeb
        dh_gencontrol


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to