PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/dillo
SECTION:=xorg-app
SUBMENU:=app
TITLE:=Dillo2
URL:=http://fltk.org/
- DEPENDS:=+libXft +libstdcpp +libpthread +zlib +fltk2 +libjpeg +libiconv +libpng
+ DEPENDS:=+libXft +libstdcpp +libpthread +zlib +fltk2 +libjpeg +libpng $(ICONV_DEPENDS)
endef
define Package/dillo/description
Note: This is the fltk2 based dillo.
endef
-EXTRA_CPPFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include
-EXTRA_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+EXTRA_CPPFLAGS+=-I$(ICONV_PREFIX)/include
+EXTRA_LDFLAGS+=-L$(ICONV_PREFIX)/lib -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh );
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/eterm/Default
SECTION:=xorg-extra
define Package/eterm
$(call Package/eterm/Default)
TITLE:=eterm
- DEPENDS:=+libX11 +libXcursor +imlib2 +libast +libiconv
+ DEPENDS:=+libX11 +libXcursor +imlib2 +libast $(ICONV_DEPENDS)
endef
define Package/esetroot
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)\
- CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libiconv/include/" \
- LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib/"
+ CPPFLAGS="$(TARGET_CPPFLAGS) -I$(ICONV_PREFIX)/include/" \
+ LDFLAGS="$(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib/"
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+=\
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
URL:=http://gtkperf.sourceforge.net
endef
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
-TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libintl/lib/
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include/
-TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib/
-
define Package/gtkperf/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
EXTRA_LDLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CATEGORY:=Xorg
SUBMENU:=app
TITLE:=xine user interface
- DEPENDS:=+xine-lib +libpng +curl +libiconv +libXv +libXt +libICE +libXxf86vm +libpng +libfreetype
+ DEPENDS:=+xine-lib +libpng +curl +libXv +libXt +libICE +libXxf86vm +libpng +libfreetype $(ICONV_DEPENDS)
URL:=http://www.xine-project.org/
endef
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
+include $(INCLUDE_DIR)/nls.mk
define Package/atk
SECTION:=xorg-libraries
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+=\
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_CFLAGS+=\
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+=\
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/gtkmm
SECTION:=xorg-framework
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
PKG_INSTALL:=1
EXTRA_CFLAGS += \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
+ -I$(INTL_PREFIX)/include \
-I$(STAGING_DIR)/usr/include/libcroco-0.6 \
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_hippo-canvas CONFIG_PACKAGE_python-hippo-canvas)
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
PKG_INSTALL=1
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -L$(ICONV_PREFIX)/lib/ \
+ -L$(INTL_PREFIX)/lib/
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_librsvg CONFIG_PACKAGE_librsvg-pixbuf-loader)
PKG_BUILD_PARALLEL:=0
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/pango
SECTION:=xorg-libraries
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_CFLAGS+=\
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+=\
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/pangomm
SECTION:=xorg-libraries
PKG_BUILD_DEPENDS:=intltool/host
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
PKG_INSTALL=1
-EXTRA_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include
+EXTRA_CFLAGS+=-I$(INTL_PREFIX)/include
EXTRA_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+ -L$(ICONV_PREFIX)/lib \
+ -L$(INTL_PREFIX)/lib
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_vte CONFIG_PACKAGE_python-vte)
PKG_BUILD_DEPENDS:=intltool/host
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/ \
- $(FPIC)
-
+TARGET_CFLAGS+=$(FPIC)
TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-Wl,-rpath=/usr/lib
SUBMENU:=libraries
TITLE:=Window Navigator Construction Kit
URL:=http://ftp.gnome.org/
- DEPENDS:=+libX11 +gtk2 +glib2 +libXext +libintl
+ DEPENDS:=+libX11 +gtk2 +glib2 +libXext $(INTL_DEPENDS)
endef
define Package/libwnck/description
PKG_FIXUP:=libtool
PKG_INSTALL:=1
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
+
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libiconv/lib \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib/libintl/lib
-
-include $(INCLUDE_DIR)/package.mk
define Package/matchbox-window-manager
TITLE:=matchbox window manager
CONFIG_IPV6 \
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/syslog-ng3
SECTION:=admin
TARGET_CPPFLAGS += \
-I$(STAGING_DIR)/usr/include/eventlog
-TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
CONFIGURE_VARS += \
LIBDBI_CFLAGS="-I$(STAGING_DIR)/usr/include"
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
-TARGET_CFLAGS += $(FPIC) \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
-
-TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
+TARGET_CFLAGS += $(FPIC)
CONFIGURE_VARS += PYTHON=$(HOST_PYTHON)
define Package/gst-python
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/php5/Default
SUBMENU:=PHP
define Package/php5-mod-iconv
$(call Package/php5/Default)
- DEPENDS:=php5 +libiconv
+ DEPENDS:=php5 $(ICONV_DEPENDS)
TITLE:=iConv shared module
endef
define Package/php5-mod-iconv/config
define Package/php5-mod-xmlreader
$(call Package/php5/Default)
- DEPENDS:=php5 +libxml2 +libiconv
+ DEPENDS:=php5 +libxml2 $(ICONV_DEPENDS)
TITLE:=XMLReader shared module
endef
define Package/php5-mod-xmlreader/config
define Package/php5-mod-xmlwriter
$(call Package/php5/Default)
- DEPENDS:=php5 +libxml2 +libiconv
+ DEPENDS:=php5 +libxml2 $(ICONV_DEPENDS)
TITLE:=XMLWriter shared module
endef
define Package/php5-mod-xmlwriter/config
--disable-phar
ifneq ($(SDK),)
- PKG_BUILD_DEPENDS+=libopenssl zlib libcurl libgd libgmp libopenldap libmysqlclient libpq libsqlite2 libpthread libsqlite3 libpcre libxml2 libiconv
+ PKG_BUILD_DEPENDS+=libopenssl zlib libcurl libgd libgmp libopenldap libmysqlclient libpq libsqlite2 libpthread libsqlite3 libpcre libxml2
# force PKG_CONFIGURE_{LIBS,OPTS} below when built in the SDK
CONFIG_PACKAGE_php5-cli:=m
CONFIG_PACKAGE_php5-cgi:=m
endif
ifneq ($(CONFIG_PACKAGE_php5-mod-iconv),)
- PKG_CONFIGURE_OPTS+= --with-iconv=shared,"$(STAGING_DIR)/usr"
+ PKG_CONFIGURE_OPTS+= --with-iconv=shared,"$(ICONV_PREFIX)"
else
PKG_CONFIGURE_OPTS+= --without-iconv
endif
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
EXTRA_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -L$(ICONV_PREFIX) -L$(INTL_PREFIX)
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += --enable-static
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/
-
-TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
-
define Package/python-gtk
SUBMENU:=Python
SECTION:=lang
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
-TARGET_CFLAGS += \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include
-
TARGET_LDFLAGS += \
- -Wl,-rpath=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+ -Wl,-rpath=$(STAGING_DIR)/usr/lib
define Package/dbus-python
SUBMENU:=Python
PKG_MD5SUM:=504877a973f6abc0788283232cd703cb
PKG_FIXUP:=libtool
+# AM_PATH_GTK_2_0
+PKG_BUILD_DEPENDS:=gtk2
+
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
$(call include_mk, python-package.mk)
PKG_INSTALL=1
-EXTRA_CFLAGS += \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
-
-EXTRA_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+EXTRA_CFLAGS += -I$(ICONV_PREFIX) -I$(INTL_PREFIX)
+EXTRA_LDFLAGS += -L$(ICONV_PREFIX) -L$(INTL_PREFIX)
STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_python-rsvg CONFIG_PACKAGE_python-wnck)
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/ruby/Default
SUBMENU:=Ruby
--enable-ipv6 \
--enable-wide-getaddrinfo \
--with-ruby-version=minor \
- --with-iconv-dir=$(STAGING_DIR_ROOT)/../usr/lib/libiconv \
+ --with-iconv-dir=$(ICONV_PREFIX) \
TARGET_LDFLAGS += -L$(PKG_BUILD_DIR)
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/libaprutil
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+libapr +libexpat +libiconv +libpthread +libsqlite3 +libuuid
+ DEPENDS:=+libapr +libexpat +libpthread +libsqlite3 +libuuid $(ICONV_DEPENDS)
TITLE:=Apache Portable Runtime Utility Library
URL:=http://apr.apache.org/
endef
--with-expat="$(STAGING_DIR)/usr" \
--without-sqlite2 \
--with-sqlite3="$(STAGING_DIR)/usr" \
- --with-iconv="$(STAGING_DIR)/usr/lib/libiconv" \
+ --with-iconv="$(ICONV_PREFIX)" \
CONFIGURE_VARS += \
ac_cv_file_dbd_apr_dbd_mysql_c=no \
APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1" \
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat -liconv -lapr-1 -luuid -lm -lcrypt" all
+ $(MAKE) -C $(PKG_BUILD_DIR) APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat $(if $(ICONV_FULL),-liconv) -lapr-1 -luuid -lm -lcrypt" all
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
endef
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/libdbus-glib
CATEGORY:=Libraries
TITLE:=D-Bus Glib bindings
URL:=http://dbus.freedesktop.org/doc/dbus-glib/
- DEPENDS:=+libdbus +glib2 +libiconv +libintl
+ DEPENDS:=+libdbus +glib2 $(ICONV_DEPENDS) $(INTL_DEPENDS)
endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_VARS+= \
ac_cv_func_posix_getpwnam_r="yes" \
ac_cv_have_abstract_sockets="yes" \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libintl/include" \
- LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
- LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libintl/lib" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
+ LDFLAGS="$$$$LDFLAGS -L$(ICONV_PREFIX)/lib" \
+ LDFLAGS="$$$$LDFLAGS -L$(INTL_PREFIX)/lib" \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/dbus-1.0/dbus
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
PKG_BUILD_DEPENDS:=orbit2/host intltool/host
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 \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/libgconf2
--without-emacs
define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/lib/gettext-full/include
- $(CP) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/gettext-full/include/
+ $(INSTALL_DIR) $(1)/usr/lib/libintl-full/include
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/libintl.h $(1)/usr/lib/libintl-full/include/
- $(INSTALL_DIR) $(1)/usr/lib/gettext-full/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/libintl.{a,so*} $(1)/usr/lib/gettext-full/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/libintl-full/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libintl.{a,so*} $(1)/usr/lib/libintl-full/lib/
$(INSTALL_DIR) $(1)/usr/share/aclocal
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
endef
define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/include
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/libintl.h $(1)/usr/include/
+ $(INSTALL_DIR) $(1)/usr/lib/libintl-stub/include
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/libintl.h $(1)/usr/lib/libintl-stub/include/
$(INSTALL_DIR) $(1)/usr/share/aclocal
$(INSTALL_DATA) $(PKG_BUILD_DIR)/m4/* $(1)/usr/share/aclocal/
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/glib2
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+libiconv +libintl
+ DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
TITLE:=glib 2.0
URL:=http://www.gtk.org/
endef
The GLib library of C routines
endef
-TARGET_CFLAGS+= \
- $(FPIC) \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
- -I$(STAGING_DIR)/usr/lib/libintl/include
-
-TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib
-
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-debug=no \
--disable-selinux \
--disable-fam \
+ $(if $(ICONV_FULL),--with-libiconv=gnu) \
, \
glib_cv_stack_grows=no \
glib_cv_uscore=no \
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/glibmm
SECTION:=libs
c++ bindings for glib2
endef
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
- -I$(STAGING_DIR)/usr/lib/libintl/include
-
TARGET_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS+= --disable-fulldocs
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
-
-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/
+include $(INCLUDE_DIR)/nls.mk
define Package/libIDL2
SECTION:=libs
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
EXTRA_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -L$(ICONV_PREFIX) -L$(INTL_PREFIX)
define Package/libcroco
SECTION:=libs
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libintl/include
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/libdmapsharing
SECTION:=libs
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/libgphoto2/Default
SECTION:=libs
define Package/libgphoto2
$(call Package/libgphoto2/Default)
- DEPENDS:=+libusb +libexif +libjpeg +libpthread +libltdl +libiconv
+ DEPENDS:=+libusb +libexif +libjpeg +libpthread +libltdl $(ICONV_DEPENDS)
TITLE:=The basic library of the gphoto2 program.
MENU:=1
endef
--without-libintl-prefix \
CONFIGURE_VARS += \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \
- LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
+ LDFLAGS="$$$$LDFLAGS -L$(ICONV_PREFIX)/lib" \
LIBEXIF_CFLAGS="$$$$CPPFLAGS" \
LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \
LIBUSB_CFLAGS="$$$$CPPFLAGS" \
endef
define Build/InstallDev
- $(INSTALL_DIR) $(1)/usr/lib
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/libiconv.a $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib/libiconv-stub/lib
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/libiconv.a $(1)/usr/lib/libiconv-stub/lib/
- $(INSTALL_DIR) $(1)/usr/include
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/iconv.h $(1)/usr/include/
+ $(INSTALL_DIR) $(1)/usr/lib/libiconv-stub/include
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/iconv.h $(1)/usr/lib/libiconv-stub/include/
$(INSTALL_DIR) $(1)/usr/share/aclocal
$(INSTALL_DATA) $(PKG_BUILD_DIR)/m4/* $(1)/usr/share/aclocal/
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/libmms
SECTION:=libs
endef
TARGET_CFLAGS += $(FPIC)
-TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
define Build/Configure
(cd $(PKG_BUILD_DIR); ./autogen.sh );
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
TARGET_CFLAGS += $(FPIC)
-TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
define Package/libmpd
SECTION:=libs
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_CFLAGS+=\
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+=\
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/libsoup
SECTION:=libs
PKG_MD5SUM:=fd473d3deceda7912af4427dede1736f
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
-PKG_BUILD_DEPENDS:=libiconv
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=libtool
define Package/libsynce
+ DEPENDS:=$(ICONV_DEPENDS) $(INTL_DEPENDS)
SECTION:=libs
CATEGORY:=Libraries
TITLE:=SynCE library
--enable-odccm-support=no
CONFIGURE_VARS+= \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libintl/include" \
- LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
- LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libintl/lib" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
+ LDFLAGS="$$$$LDFLAGS -L$(ICONV_PREFIX)/lib" \
+ LDFLAGS="$$$$LDFLAGS -L$(INTL_PREFIX)/lib" \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
PKG_INSTALL=1
define Package/libvncserver
SECTION:=libs
CATEGORY:=Libraries
- DEPENDS:=+zlib +libiconv
+ DEPENDS:=+zlib $(ICONV_DEPENDS)
TITLE:=VNC Server Library
URL:=http://libvncserver.sourceforge.net/
endef
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
-
-TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+include $(INCLUDE_DIR)/nls.mk
define Package/libxapian
SECTION:=libs
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
PKG_INSTALL:=1
HOST_BUILD_DEPENDS:=libIDL2/host
PKG_BUILD_DEPENDS:=orbit2/host
-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
-
BIGENDIAN=no
ifeq ($(CONFIG_BIG_ENDIAN),y)
BIGENDIAN:=yes
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
PKG_INSTALL=1
$(call Package/vips/Default)
SECTION:=multimedia
CATEGORY:=Multimedia
- DEPENDS:=+libjpeg +libintl +glib2 +libxml2 +imagemagick +libfreetype
+ DEPENDS:=+libjpeg +glib2 +libxml2 +imagemagick +libfreetype $(INTL_DEPENDS)
endef
define Package/vips/description
An image manipulation library.
endef
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libintl/include
-
TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS += \
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/gstreamer/Default
CATEGORY:=Multimedia
EXTRA_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+ -L$(ICONV_PREFIX)/lib -L$(INTL_PREFIX)/lib
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/gstreamer-$(GST_VERSION)
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/kissdx
SECTION:=multimedia
CATEGORY:=Multimedia
- DEPENDS:=+libjpeg +libiconv +libdvdread
+ DEPENDS:=+libjpeg +libdvdread $(ICONV_DEPENDS)
TITLE:=PC-Link clone for KiSS media players
URL:=http://kissdx.vidartysse.net
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(STAGING_DIR)/usr/lib/libiconv/include -I$(STAGING_DIR)/usr/include/dvdread $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib/libiconv/lib $(TARGET_LDFLAGS)" \
+ CFLAGS="$(TARGET_CFLAGS) -DLinux -DUSE_INTERNAL_SENDFILE -std=gnu99 -Wall -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DFILE_OFFSET_BITS=64 -D_GNU_SOURCE -I$(ICONV_PREFIX)/include -I$(STAGING_DIR)/usr/include/dvdread $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
+ LDFLAGS="-L$(ICONV_PREFIX)/lib $(TARGET_LDFLAGS)" \
STRIP=$(STRIP) \
CC="$(TARGET_CROSS)gcc" all
endef
PKG_BUILD_PARALLEL:=0
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/minidlna
SECTION:=multimedia
CATEGORY:=Multimedia
TITLE:=UPnP A/V & DLNA Media Server
URL:=http://minidlna.sourceforge.net/
- DEPENDS:=+libintl +libiconv +libpthread +libexif +libjpeg \
-+libsqlite3 +libffmpeg +libid3tag +libflac +libvorbis +libuuid
+ DEPENDS:= +libpthread +libexif +libjpeg +libsqlite3 +libffmpeg \
+ +libid3tag +libflac +libvorbis +libuuid \
+ $(ICONV_DEPENDS) $(INTL_DEPENDS)
endef
define Package/minidlna/description
PKG_BUILD_DEPENDS:=libgd
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/amule
SUBMENU:=P2P
--with-libpng-prefix="$(STAGING_DIR)/usr" \
--with-wx-prefix="$(STAGING_DIR)/usr" \
--with-crypto-prefix="$(STAGING_DIR)/usr" \
- --without-libiconv-prefix \
- --without-libintl-prefix \
+ --with-libiconv-prefix="$(ICONV_PREFIX)" \
+ --with-libintl-prefix="$(INTL_PREFIX)" \
--without-x \
+TARGET_LDFLAGS += \
+ -liconv
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
HOSTCC="$(HOSTCC)" \
http://ftp.snt.utwente.nl/pub/software/bitlbee/src
PKG_MD5SUM:=a4d7daa9b64898dd41a3a6d104692d9a
-PKG_BUILD_DEPENDS:=libopenssl glib1 libiconv
+PKG_BUILD_DEPENDS:=libopenssl glib1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/bitlbee
SUBMENU:=Instant Messaging
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+libopenssl +glib1 +libiconv
+ DEPENDS:=+libopenssl +glib1 $(ICONV_DEPENDS)
TITLE:=IRC gateway to IM chat networks
URL:=http://www.bitlbee.org/
endef
);
$(SED) 's,^CFLAGS=.*,CFLAGS=$(TARGET_CFLAGS),g'\
$(PKG_BUILD_DIR)/Makefile.settings
- @echo 'CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include' >> \
+ @echo 'CFLAGS+=-I$(ICONV_PREFIX)/include' >> \
$(PKG_BUILD_DIR)/Makefile.settings
@echo 'LFLAGS+=$(TARGET_LDFLAGS)' >> \
$(PKG_BUILD_DIR)/Makefile.settings
- @echo 'LFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib' >> \
+ @echo 'LFLAGS+=-L$(ICONV_PREFIX)/lib' >> \
$(PKG_BUILD_DIR)/Makefile.settings
endef
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/curlftpfs
SECTION:=net
endef
EXTRA_CFLAGS += \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
+ -I$(ICONV_PREFIX)/include \
-I$(STAGING_DIR)/usr/include/fuse \
-DICONV_CONST=const
EXTRA_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+ -L$(INTL_PREFIX)/lib \
+ -L$(ICONV_PREFIX)/lib
define Package/curlftpfs/install
$(INSTALL_DIR) $(1)/usr/bin
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/ettercap
SECTION:=net
--with-libnet="$(STAGING_DIR)/usr/lib/libnet-1.1.x" \
--with-openssl="$(STAGING_DIR)/usr" \
--with-libpcre="$(STAGING_DIR)/usr" \
- --with-iconv="$(STAGING_DIR)/usr" \
+ --with-iconv="$(ICONV_PREFIX)" \
--with-libncurses="$(STAGING_DIR)/usr" \
--disable-gtk \
--disable-debug \
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/gesftpserver
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+libpthread +libiconv
+ DEPENDS:=+libpthread $(ICONV_DEPENDS)
TITLE:=SFTP server
URL:=http://www.greenend.org.uk/rjk/sftpserver/
endef
TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
-TARGET_CFLAGS+= \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/
-
-TARGET_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
- -lpthread
+TARGET_LDFLAGS+=-lpthread
define Package/gesftpserver/install
$(INSTALL_DIR) $(1)/usr/bin
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/gmediaserver
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+id3lib +libiconv +libmagic +file +libupnp +libuuid +uclibcxx +zlib
+ DEPENDS:=+id3lib +libmagic +file +libupnp +libuuid +uclibcxx +zlib $(ICONV_DEPENDS)
TITLE:=An UPnP music media server
URL:=http://www.nongnu.org/gmediaserver/
SUBMENU:=multimedia
CONFIGURE_ARGS += \
--disable-rpath \
--enable-threads=posix \
- --with-libiconv-prefix="$(STAGING_DIR)/usr/lib/libiconv" \
+ --with-libiconv-prefix="$(ICONV_PREFIX)" \
--without-libintl-prefix \
--with-id3lib="$(STAGING_DIR)/usr" \
--with-libupnp="$(STAGING_DIR)/usr" \
PKG_MD5SUM:=626abf7c2b8f15d56df679ad66624575
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/imspector
SECTION:=net
TITLE:=IMSpector is an Instant Messenger proxy
URL:=http://www.imspector.org
DEPENDS:=+libopenssl +libstdcpp +libmysqlclient +libsqlite3 +libpq \
- +libiconv +libpthread
+ +libpthread $(ICONV_DEPENDS)
endef
define Package/imspector/description
PREFIX="$(STAGING_DIR)/usr" \
CXX=$(TARGET_CXX) \
CXXFLAGS="$(TARGET_CXXFLAGS) $(TARGET_CFLAGS) $(FPIC) $(TARGET_CPPFLAGS) \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
+ -I$(ICONV_PREFIX)/include \
$(TARGET_LDFLAGS) -DHAVE_SSL" \
all
endef
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/irssi/Default
SUBMENU:=Instant Messaging
--without-bot \
--disable-proxy
-EXTRA_CFLAGS+= \
- $(TARGET_CPPFLAGS) \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
- -I$(STAGING_DIR)/usr/lib/libintl/include
-
-EXTRA_LDFLAGS+= \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -lncurses
+EXTRA_CFLAGS+=$(TARGET_CPPFLAGS)
+EXTRA_LDFLAGS+=-lncurses
ifeq ($(BUILD_VARIANT),ssl)
CONFIGURE_ARGS += \
PKG_REMOVE_FILES:=autogen.sh aclocal.m4
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/nufw/Default
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+glib2 +libgnutls +libsasl2 +libintl +libiconv +libnetfilter-queue
+ DEPENDS:=+glib2 +libgnutls +libsasl2 +libnetfilter-queue $(ICONV_DEPENDS) $(INTL_DEPENDS)
TITLE:=nufw
URL:=http://www.nufw.org/
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include" \
+ -I$(INTL_PREFIX)/include \
+ -I$(ICONV_PREFIX)/include" \
LDFLAGS="$(TARGET_LDFLAGS) \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+ -L$(INTL_PREFIX)/lib \
+ -L$(ICONV_PREFIX)/lib \
-Wl,-rpath-link,$(STAGING_DIR)/usr/lib -liconv \
-lgnutls -lnetfilter_queue -lpthread" \
DESTDIR="$(PKG_INSTALL_DIR)" \
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-fuse-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/sshfs
TITLE:=SSHFS
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/synce-dccm
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+libsynce +libiconv
+ DEPENDS:=+libsynce $(ICONV_DEPENDS)
TITLE:=dccm for mobiles
URL:=http://sourceforge.net/projects/synce/
endef
endef
CONFIGURE_VARS+= \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libintl/include" \
- CPPFLAGS="$$$$CPPFLAGS -Wl,-rpath-link,$(STAGING_DIR)/usr/lib:$(STAGING_DIR)/usr/lib/libiconv/lib:$(STAGING_DIR)/usr/lib/libintl/lib"
+ CPPFLAGS="$$$$CPPFLAGS -I$(ICONV_PREFIX)/include" \
+ CPPFLAGS="$$$$CPPFLAGS -I$(INTL_PREFIX)/include" \
+ CPPFLAGS="$$$$CPPFLAGS -Wl,-rpath-link,$(STAGING_DIR)/usr/lib:$(ICONV_PREFIX)/lib:$(INTL_PREFIX)/lib"
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
- LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
+ LDFLAGS="$(TARGET_LDFLAGS) -L$(ICONV_PREFIX)/lib" \
LIBS="-lsynce -liconv" \
all install
endef
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/usbip/Common
TITLE:=USB-over-IP
CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include"
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/
-TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libintl/lib/
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include/
-TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib/
-
define Build/Prepare
$(call Build/Prepare/Default)
(cd $(PKG_BUILD_DIR)/src; autoreconf -v --install || exit 1 )
PKG_CONFIG_DEPENDS = CONFIG_PACKAGE_weechat-mod-lua
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/weechat/Default
SUBMENU:=Instant Messaging
define Package/weechat
$(call Package/weechat/Default)
MENU=1
- DEPENDS:=+libiconv +libgnutls +libncurses
+ DEPENDS:=+libgnutls +libncurses $(ICONV_DEPENDS)
endef
define Package/weechat/description
--with-debug=0 \
--with-libgnutls-prefix=$(STAGING_DIR)/usr \
--without-doc-xsl-prefix \
- --with-libiconv-prefix="$(STAGING_DIR)/usr/lib/libiconv" \
+ --with-libiconv-prefix="$(ICONV_PREFIX)" \
--without-libintl-prefix \
--disable-aspell \
--disable-perl \
ac_cv_path_LIBGNUTLS_CONFIG="pkg-config gnutls" \
TARGET_LDFLAGS += \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+ -L$(ICONV_PREFIX)/lib \
-Wl,-rpath-link,$(STAGING_DIR)/usr/lib
ifneq ($(CONFIG_PACKAGE_weechat-mod-lua),)
PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/mpd
SECTION:=sound
$(if $(CONFIG_BUILD_PATENTED),MAD_CFLAGS="$(TARGET_CFLAGS)") \
$(if $(CONFIG_BUILD_PATENTED),MAD_LIBS="$(TARGET_LDFLAGS) -lmad") \
-TARGET_CFLAGS += \
- -std=gnu99 \
- -I$(STAGING_DIR)/usr/lib/libintl/include/ \
- -I$(STAGING_DIR)/usr/lib/libiconv/include/ \
-
-TARGET_LDFLAGS += \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib/ \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib/ \
+TARGET_CFLAGS += -std=gnu99
+TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
# use gcc instead of g++ to avoid unnecessary linking against libstdc++
TARGET_CXX:=$(TARGET_CC)
PKG_MD5SUM:=8a694691dcb5d217c46754e40152186a
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/mpdas
SECTION:=sound
endef
EXTRA_CPPFLAGS:=\
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include \
+ -I$(ICONV_PREFIX)/include \
+ -I$(INTL_PREFIX)/include \
EXTRA_LDFLAGS:=\
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib \
+ -L$(ICONV_PREFIX)/lib \
+ -L$(INTL_PREFIX)/lib \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
MAKE_FLAGS += \
PKG_INSTALL = 1
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
#TODO: split pulse into executable and library (or even better into several libraries since they're used as loadable modules, so not linked into)
define Package/pulseaudio
SECTION:=sound
CATEGORY:=Sound
- DEPENDS:=+libspeexdsp +libgdbm +liboil +libsndfile +libatomicops +libltdl +dbus +libpthread +librt +libintl +libiconv +alsa-lib @BROKEN
+ DEPENDS:=+libspeexdsp +libgdbm +liboil +libsndfile +libatomicops +libltdl +dbus +libpthread +librt +alsa-lib $(ICONV_DEPENDS) $(INTL_DEPENDS) @BROKEN
TITLE:=Network sound server
URL:=http://www.pulseaudio.org
endef
CONFIGURE_VARS += \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig"
-#SUPP_LIBS:=-L$(STAGING_DIR)/usr/lib/libintl/lib -L$(STAGING_DIR)/usr/lib/libiconv/lib
+#SUPP_LIBS:=-L$(INTL_PREFIX)/lib -L$(ICONV_PREFIX)/lib
TARGET_CFLAGS += -std=gnu99
define Package/pulseaudio/install
PKG_MD5SUM:=aed8b41aed530e9177e43d9bebad10b7
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/bemusedlinuxserver
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+bluez-libs +glib1 +mpd +libstdcpp +libiconv
+ DEPENDS:=+bluez-libs +glib1 +mpd +libstdcpp $(ICONV_DEPENDS)
TITLE:=Bemused linux server
URL:=http://bemused-lnx-mpdhack.origo.ethz.ch/
endef
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) " \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
- INCL="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include -I$(STAGING_DIR)/usr/lib/libiconv/include" \
- MYLIBS="-lbluetooth -lglib -L$(STAGING_DIR)/usr/lib/libiconv/lib -liconv"
+ INCL="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include -I$(ICONV_PREFIX)/include" \
+ MYLIBS="-lbluetooth -lglib -L$(ICONV_PREFIX)/lib -liconv"
$(STRIP) $(PKG_BUILD_DIR)/bemusedlinuxserver
endef
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/bluez-utils
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+bluez-libs +libpthread +dbus +libintl +libiconv
+ DEPENDS:=+bluez-libs +libpthread +dbus $(INTL_DEPENDS) $(ICONV_DEPENDS)
TITLE:=Bluetooth utilities
URL:=http://www.bluez.org/
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
LDFLAGS="$(TARGET_LDFLAGS) \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
+ -L$(ICONV_PREFIX)/lib \
+ -L$(INTL_PREFIX)/lib" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
PKG_MD5SUM:=e708665bd512153ad5c35252fe499059
include $(INCLUDE_DIR)/package.mk
-
-TARGET_CFLAGS += \
- -I$(STAGING_DIR)/usr/lib/libintl/include \
- -I$(STAGING_DIR)/usr/lib/libiconv/include
+include $(INCLUDE_DIR)/nls.mk
TARGET_LDFLAGS+= \
- -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
- -L$(STAGING_DIR)/usr/lib/libintl/lib \
- -L$(STAGING_DIR)/usr/lib/libiconv/lib
+ -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_VARS += \
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
define Package/gnuplot
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd +libintl +libiconv
+ DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd $(INTL_DEPENDS) $(ICONV_DEPENDS)
TITLE:=A portable command-line driven graphing utility
URL:=http://sourceforge.net/projects/gnuplot/
endef
PKG_BUILD_DEPENDS:= \
libdbus \
libgd \
- libiconv \
libmysqlclient \
libncurses \
libnmeap \
# python \
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/nls.mk
define Package/lcd4linux
SECTION:=utils
DEPENDS:= \
+LCD4LINUX_NEEDS_libdbus:libdbus \
+LCD4LINUX_NEEDS_libgd:libgd \
- +LCD4LINUX_NEEDS_libiconv:libiconv \
+ $(if $(ICONV_FULL),+LCD4LINUX_NEEDS_libiconv:libiconv-full) \
+LCD4LINUX_NEEDS_libmysqlclient:libmysqlclient \
+LCD4LINUX_NEEDS_libncurses:libncurses \
+LCD4LINUX_NEEDS_libnmeap:libnmeap \
ifneq ($(CONFIG_LCD4LINUX_NEEDS_libiconv),)
CONFIGURE_ARGS+= \
- --with-libiconv-prefix="$(STAGING_DIR)/usr/lib/libiconv"
+ --with-libiconv-prefix="$(ICONV_PREFIX)"
else
CONFIGURE_ARGS+= \
--without-libiconv-prefix