CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dbus-glib: Added header at source instead of building it.
authorVictor Martinez <pitillo@ono.com>
Mon, 18 Jan 2010 11:11:48 +0000 (11:11 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 18 Jan 2010 11:11:48 +0000 (11:11 +0000)
dbus-glib/.md5sum
dbus-glib/Pkgfile

index 5817ee0efe5773f9647b5601c7df022c394db0f1..fd34013e394f9a0fafa7c62e3ec29779f3b7a154 100644 (file)
@@ -1 +1,2 @@
 86ea60ba2118a1b9deafe8257f6a6a1a  dbus-glib-0.80.tar.gz
+8a6aca3fba2b013ed55e80ad864ded46  dbus-glib-bindings.h
index 48570eebb8b228816ec77a27615a5a0b63bd67e7..fcca1d0a67d6fc38aaab5ca27019e2695844d87e 100644 (file)
@@ -7,8 +7,9 @@
 
 name=dbus-glib
 version=0.80
-release=1
-source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz)
+release=2
+source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz \
+        dbus-glib-bindings.h)
 
 build() {
   cd $name-$version
@@ -41,17 +42,7 @@ EOF
   
   make distclean
 
-  unset CC CFLAGS CXX CXXFLAGS AR RANLIB DBUS_LIBS DBUS_CFLAGS DBUS_GLIB_LIBS \
-DBUS_GLIB_CFLAGS DBUS_GLIB_THREADS_LIBS DBUS_GLIB_THREADS_CFLAGS
-
-  ./configure --prefix=/usr \
-              --disable-static \
-              --with-xml=expat 
-  make
-
-  cd tools
-  ../dbus/dbus-binding-tool --mode=glib-client --prefix=dbus_bus --output=dbus-glib-bindings.h dbus-bus-introspect.xml
-  cp dbus-glib-bindings.h $PKG/usr/include/dbus-1.0/dbus/
+  install -D -m 0644 $SRC/dbus-glib-bindings.h $PKG/usr/include/dbus-1.0/dbus/dbus-glib-bindings.h
 
   rm -rf $PKG/usr/{etc,libexec,share}
 }