2009-06-14 23:06:29 +00:00
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := gconf2
PKG_VERSION := 2.24.0
PKG_RELEASE := 1
PKG_BUILD_DIR := $( BUILD_DIR) /GConf-$( PKG_VERSION)
PKG_SOURCE := GConf-$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := @GNOME/GConf/2.24
PKG_FIXUP := libtool
2009-09-02 22:39:37 +00:00
PKG_BUILD_DEPENDS := orbit2/host intltool/host
2009-06-14 23:06:29 +00:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
PKG_INSTALL = 1
TARGET_CFLAGS += \
-I$( STAGING_DIR) /usr/lib/libintl/include \
-I$( STAGING_DIR) /usr/libiconv/include
TARGET_LDFLAGS += \
-L$( STAGING_DIR) /usr/lib/libintl/lib \
-L$( STAGING_DIR) /usr/lib/libiconv/lib
d e f i n e P a c k a g e / l i b g c o n f 2
SECTION:= lib
CATEGORY:= Libraries
TITLE:= GConf2 library
URL:= http://www.gnome.org/projects/gconf/
DEPENDS:= +orbit2 +glib2 +dbus +libdbus-glib +libxml2
e n d e f
d e f i n e P a c k a g e / l i b g c o n f 2 / d e s c r i p t i o n
G C o n f i s a c o n f i g u r a t i o n d a t a b a s e s y s t e m f o r s t o r i n g a p p l i c a t i o n p r e f e r e n c e s .
e n d e f
d e f i n e P a c k a g e / g c o n f 2
SECTION:= utils
CATEGORY:= Utilities
TITLE:= GConf2 command line utils
URL:= http://www.gnome.org/projects/gconf/
DEPENDS:= +libgconf2
e n d e f
d e f i n e P a c k a g e / g c o n f 2 / d e s c r i p t i o n
G C o n f i s a c o n f i g u r a t i o n d a t a b a s e s y s t e m f o r s t o r i n g a p p l i c a t i o n p r e f e r e n c e s .
e n d e f
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, \
--disable-gtk \
)
find $( PKG_BUILD_DIR) -name Makefile -exec sed -i 's,ORBIT_IDL.*orbit-idl-2,ORBIT_IDL = $(STAGING_DIR_HOST)/bin/orbit-idl-2,g' { } \; # tell gconf2 to use the host-built idl-compiler
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/{ include/gconf/2/gconf,lib/pkgconfig,share/aclocal}
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/include/gconf/2/gconf/* \
$( 1) /usr/include/gconf/2/gconf/
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/libgconf-2.{ so*,la,a} \
$( 1) /usr/lib/
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/lib/pkgconfig/* \
$( 1) /usr/lib/pkgconfig/
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/share/aclocal/* \
$( 1) /usr/share/aclocal/
e n d e f
d e f i n e P a c k a g e / l i b g c o n f 2 / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/gconf
$( CP) \
$( PKG_INSTALL_DIR) /etc/gconf/* \
$( 1) /etc/gconf/
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) \
$( PKG_INSTALL_DIR) /usr/lib/libgconf-2.so* \
$( 1) /usr/lib/
$( INSTALL_BIN) \
$( PKG_INSTALL_DIR) /usr/lib/gconfd-2 \
$( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/GConf/2
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/lib/GConf/2/libgconfbackend-xml.so \
$( 1) /usr/lib/GConf/2/
$( INSTALL_DIR) $( 1) /usr/share/dbus-1/services
$( INSTALL_DATA) \
$( PKG_INSTALL_DIR) /usr/share/dbus-1/services/* \
$( 1) /usr/share/dbus-1/services/
e n d e f
d e f i n e P a c k a g e / g c o n f 2 / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) \
$( PKG_INSTALL_DIR) /usr/bin/* \
$( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,libgconf 2) )
$( eval $ ( call BuildPackage ,gconf 2) )