lots of package cleanups/fixes
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9948 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
76e8333cc6
commit
f2e55a8fb5
@ -14,11 +14,10 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://fontconfig.org/release/
|
PKG_SOURCE_URL:=http://fontconfig.org/release/
|
||||||
|
PKG_FIXUP=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib" --disable-docs
|
|
||||||
|
|
||||||
define Package/fontconfig
|
define Package/fontconfig
|
||||||
SECTION:=xorg-util
|
SECTION:=xorg-util
|
||||||
CATEGORY:=Xorg
|
CATEGORY:=Xorg
|
||||||
@ -38,8 +37,7 @@ endef
|
|||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(foreach dir,fc-case fc-lang fc-glyphname, $(MAKE) -C $(PKG_BUILD_DIR)/$(dir) CFLAGS="";)
|
$(foreach dir,fc-case fc-lang fc-glyphname, $(MAKE) -C $(PKG_BUILD_DIR)/$(dir) CFLAGS="";)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/fontconfig/install
|
define Package/fontconfig/install
|
||||||
@ -52,7 +50,6 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libfontconfig.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,fontconfig))
|
$(eval $(call BuildPackage,fontconfig))
|
||||||
|
@ -37,7 +37,8 @@ CONFIGURE_ARGS+=LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -lnotimpl" \
|
|||||||
--disable-vorbis \
|
--disable-vorbis \
|
||||||
--disable-esd
|
--disable-esd
|
||||||
|
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/gtk-1.2
|
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/gtk-1.2 -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include
|
||||||
|
TARGET_LDFLAGS += -lgthread
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
(cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \
|
||||||
@ -53,8 +54,10 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR=$(PKG_INSTALL_DIR) install
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||||
|
LIBTOOL="libtool --tag=CC" \
|
||||||
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/xmms/install
|
define Package/xmms/install
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
diff -urN xmms-1.2.10.orig/libxmms/Makefile.in xmms-1.2.10/libxmms/Makefile.in
|
|
||||||
--- xmms-1.2.10.orig/libxmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
|
|
||||||
+++ xmms-1.2.10/libxmms/Makefile.in 2007-10-06 04:13:52.000000000 +0200
|
|
||||||
@@ -255,6 +255,9 @@
|
|
||||||
done
|
|
||||||
libxmms.la: $(libxmms_la_OBJECTS) $(libxmms_la_DEPENDENCIES)
|
|
||||||
$(LINK) -rpath $(libdir) $(libxmms_la_LDFLAGS) $(libxmms_la_OBJECTS) $(libxmms_la_LIBADD) $(LIBS)
|
|
||||||
+ $(CCLD) -shared configfile.lo xmmsctrl.lo dirbrowser.lo util.lo formatter.lo titlestring.lo xentry.lo xconvert.lo \
|
|
||||||
+ -Wl,--whole-archive -Wl,--no-whole-archive ${libxmms_la_LIBADD} \
|
|
||||||
+ -lm -Wl,-rpath-link=/usr/src/owrt-X2/staging_dir/i686/usr/lib -Wl,-soname -Wl,libxmms.so.1 -o .libs/libxmms.so.1.3.1
|
|
||||||
|
|
||||||
mostlyclean-compile:
|
|
||||||
-rm -f *.$(OBJEXT) core *.core
|
|
||||||
diff -urN xmms-1.2.10.orig/xmms/Makefile.in xmms-1.2.10/xmms/Makefile.in
|
|
||||||
--- xmms-1.2.10.orig/xmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
|
|
||||||
+++ xmms-1.2.10/xmms/Makefile.in 2007-10-06 04:16:44.000000000 +0200
|
|
||||||
@@ -226,7 +226,7 @@
|
|
||||||
|
|
||||||
xmms_LDFLAGS = -export-dynamic
|
|
||||||
xmms_LDADD = @GTK_LIBS@ @PTHREAD_LIBS@ @SM_LIBS@ @VM_LIBS@ \
|
|
||||||
-@POSIX_LIBS@ $(top_builddir)/libxmms/libxmms.la @LTLIBINTL@
|
|
||||||
+@POSIX_LIBS@ -L../libxmms/.libs/ -lxmms @LTLIBINTL@
|
|
||||||
|
|
||||||
|
|
||||||
INCLUDES = @GTK_CFLAGS@ @XMMS_DEFINES@ @ARCH_DEFINES@ \
|
|
||||||
@@ -341,7 +341,7 @@
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
|
||||||
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CCLD = $(CC)
|
|
||||||
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
||||||
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
||||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DIST_SOURCES = $(xmms_SOURCES)
|
|
||||||
HEADERS = $(xmmsinclude_HEADERS)
|
|
||||||
--- xmms-1.2.10.orig/wmxmms/Makefile.in 2007-10-06 04:12:42.000000000 +0200
|
|
||||||
+++ xmms-1.2.10/wmxmms/Makefile.in 2007-10-06 04:24:28.000000000 +0200
|
|
||||||
@@ -220,7 +220,7 @@
|
|
||||||
xmmsdir = @xmmsdir@
|
|
||||||
bin_PROGRAMS = wmxmms
|
|
||||||
|
|
||||||
-wmxmms_LDADD = @GTK_LIBS@ $(top_builddir)/libxmms/libxmms.la @LTLIBINTL@
|
|
||||||
+wmxmms_LDADD = @GTK_LIBS@ -L../libxmms/.libs/ -lxmms @LTLIBINTL@
|
|
||||||
|
|
||||||
wmxmms_SOURCES = \
|
|
||||||
getopt.c \
|
|
||||||
@@ -259,7 +259,7 @@
|
|
||||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
|
||||||
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
||||||
CCLD = $(CC)
|
|
||||||
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
||||||
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
||||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
DIST_SOURCES = $(wmxmms_SOURCES)
|
|
||||||
DATA = $(wmxmms_DATA)
|
|
@ -49,7 +49,6 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libatk-1.0.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/atk/Install
|
define Package/atk/Install
|
||||||
|
@ -14,11 +14,10 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:= http://cairographics.org/releases/
|
PKG_SOURCE_URL:= http://cairographics.org/releases/
|
||||||
|
PKG_FIXUP = libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
EXTRA_LDFLAGS:="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
|
||||||
|
|
||||||
define Package/cairo
|
define Package/cairo
|
||||||
SECTION:=xorg-libs
|
SECTION:=xorg-libs
|
||||||
CATEGORY:=Xorg
|
CATEGORY:=Xorg
|
||||||
@ -48,9 +47,8 @@ define Build/InstallDev
|
|||||||
$(INSTALL_DIR) $(1)
|
$(INSTALL_DIR) $(1)
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||||
$(SED) "s,-L/usr/local/lib,,g" $(1)/usr/lib/libcairo.la
|
$(SED) "s,-L/usr/local/lib,,g" $(1)/usr/lib/libcairo.la
|
||||||
$(SED) "s,/usr/lib/libfontconfig.la,$(1)/usr/lib/libfontconfig.la,g" $(1)/usr/lib/libcairo.la
|
$(SED) "s,/usr/lib/libfontconfig.la,$(STAGING_DIR)/usr/lib/libfontconfig.la,g" $(1)/usr/lib/libcairo.la
|
||||||
$(SED) "s,$(1)$(1),$(1),g" $(1)/usr/lib/libcairo.la
|
$(SED) "s,$(STAGING_DIR)$(STAGING_DIR),$(STAGING_DIR),g" $(1)/usr/lib/libcairo.la
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libcairo.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/cairo/Install
|
define Package/cairo/Install
|
||||||
|
@ -27,8 +27,8 @@ CONFIGURE_ARGS_XTRA+=--x-includes=$(STAGING_DIR)/usr/include/ \
|
|||||||
--enable-static=yes
|
--enable-static=yes
|
||||||
|
|
||||||
EXTRA_CFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
EXTRA_CFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||||
|
TARGET_CFLAGS+= -I$(STAGING_DIR)/usr/include/glib-1.2 -I$(STAGING_DIR)/usr/lib/glib/include
|
||||||
EXTRA_LDFLAGS+=-lnotimpl
|
EXTRA_LDFLAGS+=-lnotimpl -lglib -lgmodule
|
||||||
|
|
||||||
define Package/gtk-1.2.10
|
define Package/gtk-1.2.10
|
||||||
SECTION:=xorg-framework
|
SECTION:=xorg-framework
|
||||||
@ -61,7 +61,6 @@ define Build/InstallDev
|
|||||||
$(INSTALL_DIR) $(2)/bin
|
$(INSTALL_DIR) $(2)/bin
|
||||||
mv $(1)/usr/bin/gtk-config $(2)/bin/
|
mv $(1)/usr/bin/gtk-config $(2)/bin/
|
||||||
$(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config
|
$(SED) "s,libdirs=-L.*,libdirs=,g" $(2)/bin/gtk-config
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/lib{gtk,gdk}.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gtk-1.2.10))
|
$(eval $(call BuildPackage,gtk-1.2.10))
|
||||||
|
@ -49,10 +49,9 @@ endef
|
|||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include}
|
$(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include}
|
||||||
$(CP) -r $(PKG_INSTALL_DIR)/usr/include/* $(1)/include/
|
$(CP) -r $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{la,so.*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{la,so.*} $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/lib{gtk,gdk}*-2.0.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gtk-2.8.20))
|
$(eval $(call BuildPackage,gtk-2.8.20))
|
||||||
|
@ -14,6 +14,7 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/enlightenment
|
PKG_SOURCE_URL:=@SF/enlightenment
|
||||||
|
PKG_FIXUP = libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -26,7 +27,6 @@ define Package/imlib2
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--disable-gtktest LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
CONFIGURE_ARGS+=--disable-gtktest LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||||
|
|
||||||
EXTRA_LDFLAGS+=-lnotimpl
|
EXTRA_LDFLAGS+=-lnotimpl
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
@ -49,7 +49,6 @@ endef
|
|||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)
|
$(INSTALL_DIR) $(1)
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libImlib2.la
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/src/modules/loaders/.libs/*.so $(1)/usr/lib/imlib2/loaders/
|
$(CP) $(PKG_BUILD_DIR)/src/modules/loaders/.libs/*.so $(1)/usr/lib/imlib2/loaders/
|
||||||
$(INSTALL_DIR) $(2)/bin
|
$(INSTALL_DIR) $(2)/bin
|
||||||
mv $(1)/usr/bin/imlib2-config $(2)/bin/
|
mv $(1)/usr/bin/imlib2-config $(2)/bin/
|
||||||
|
@ -15,6 +15,7 @@ PKG_RELEASE:=1
|
|||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.eterm.org/download/
|
PKG_SOURCE_URL:=http://www.eterm.org/download/
|
||||||
PKG_MD5SUM:=a9ec3b2da317f35869316e6d9571d296
|
PKG_MD5SUM:=a9ec3b2da317f35869316e6d9571d296
|
||||||
|
PKG_FIXUP:=libtol
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -52,7 +53,6 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*{la,so}* $(1)/usr/lib
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*{la,so}* $(1)/usr/lib
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(2)/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(2)/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libast*.la
|
|
||||||
$(SED) "s,-I/usr/include,,g" $(2)/bin/libast-config
|
$(SED) "s,-I/usr/include,,g" $(2)/bin/libast-config
|
||||||
$(SED) "s,-L/usr/lib,,g" $(2)/bin/libast-config
|
$(SED) "s,-L/usr/lib,,g" $(2)/bin/libast-config
|
||||||
$(SED) "s,-L/usr/X11R6/lib,,g" $(2)/bin/libast-config
|
$(SED) "s,-L/usr/X11R6/lib,,g" $(2)/bin/libast-config
|
||||||
|
@ -14,6 +14,7 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=ftp://ftp.gnome.org/pub/gnome/sources/pango/1.12/
|
PKG_SOURCE_URL:=ftp://ftp.gnome.org/pub/gnome/sources/pango/1.12/
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -57,7 +58,6 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
$(SED) "s,Libs:,Libs: -L$$$${libdir}/libiconv/lib/ -L$$$${libdir}/libintl/lib/ ,g" $(1)/usr/lib/pkgconfig/pango*.pc
|
$(SED) "s,Libs:,Libs: -L$$$${libdir}/libiconv/lib/ -L$$$${libdir}/libintl/lib/ ,g" $(1)/usr/lib/pkgconfig/pango*.pc
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libpango*.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/pango/Install
|
define Package/pango/Install
|
||||||
|
@ -14,11 +14,11 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://downloads.sourceforge.net/xine/
|
PKG_SOURCE_URL:=http://downloads.sourceforge.net/xine/
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
CONFIGURE_ARGS_XTRA+=--enable-static --disable-vcd
|
CONFIGURE_ARGS_XTRA+=--enable-static --disable-vcd
|
||||||
EXTRA_LDLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
|
||||||
|
|
||||||
define Package/xine-lib
|
define Package/xine-lib
|
||||||
SECTION:=xorg-lib
|
SECTION:=xorg-lib
|
||||||
@ -41,16 +41,14 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
$(MAKE) -C $(PKG_BUILD_DIR)/ all install DESTDIR=$(PKG_INSTALL_DIR)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR)
|
|
||||||
find $(PKG_INSTALL_DIR) -name lib*.*a | xargs rm -rf
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)
|
$(INSTALL_DIR) $(1)
|
||||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||||
$(SED) 's,-I$$$${prefix}/include,-I$(1)/usr/include/,g' $(1)/usr/bin/xine-config
|
$(SED) 's,-I$$$${prefix}/include,-I$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/xine-config
|
||||||
$(SED) 's,-L$$$${exec_prefix}/lib,-L$(1)/usr/lib/,g' $(1)/usr/bin/xine-config
|
$(SED) 's,-L$$$${exec_prefix}/lib,-L$(STAGING_DIR)/usr/lib/,g' $(1)/usr/bin/xine-config
|
||||||
$(INSTALL_DIR) $(2)/bin
|
$(INSTALL_DIR) $(2)/bin
|
||||||
mv $(1)/usr/bin/xine-config $(2)/bin
|
mv $(1)/usr/bin/xine-config $(2)/bin
|
||||||
endef
|
endef
|
||||||
|
@ -135,18 +135,18 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/mk
|
$(INSTALL_DIR) $(1)/mk $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
||||||
$(INSTALL_DATA) ./python-package.mk $(1)/mk/
|
$(INSTALL_DATA) ./python-package.mk $(1)/mk/
|
||||||
mkdir -p $(1)/usr/bin
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/hostpython $(1)/usr/bin/
|
$(CP) $(PKG_BUILD_DIR)/hostpython $(1)/usr/bin/
|
||||||
ln -sf hostpython $(1)/usr/bin/python
|
ln -sf hostpython $(1)/usr/bin/python
|
||||||
mkdir -p $(STAGING_DIR)/usr/include
|
ln -sf $(STAGING_DIR)/usr/bin/hostpython $(2)/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
ln -sf $(STAGING_DIR)/usr/bin/python $(2)/bin/
|
||||||
|
$(CP) \
|
||||||
|
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
||||||
$(1)/usr/include/
|
$(1)/usr/include/
|
||||||
mkdir -p $(STAGING_DIR)/usr/lib
|
$(CP) \
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION) \
|
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION) \
|
||||||
$(1)/usr/lib/
|
$(PKG_BUILD_DIR)/libpython$(PYTHON_VERSION).a \
|
||||||
$(CP) $(PKG_BUILD_DIR)/libpython$(PYTHON_VERSION).a \
|
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ endef
|
|||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-pgsql=no \
|
--with-pgsql=no \
|
||||||
--with-apr="$(STAGING_DIR_HOST)/bin/apr-1-config" \
|
--with-apr="$(STAGING_DIR)/host/bin/apr-1-config" \
|
||||||
--with-expat="$(STAGING_DIR)/usr" \
|
--with-expat="$(STAGING_DIR)/usr" \
|
||||||
--without-sqlite2 \
|
--without-sqlite2 \
|
||||||
--with-sqlite3="$(STAGING_DIR)/usr" \
|
--with-sqlite3="$(STAGING_DIR)/usr" \
|
||||||
@ -47,21 +47,18 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(2)/bin
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/include/apr-1/ $(1)/usr/lib $(1)/usr/lib/pkgconfig/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/apu-1-config \
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/apu-1-config \
|
||||||
$(2)/bin
|
$(2)/bin
|
||||||
mkdir -p $(1)/usr/include/apr-1/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \
|
||||||
$(1)/usr/include/apr-1/
|
$(1)/usr/include/apr-1/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.{la,a,so*} \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.{la,a,so*} \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-util-1.pc \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-util-1.pc \
|
||||||
$(1)/usr/lib/pkgconfig/
|
$(1)/usr/lib/pkgconfig/
|
||||||
$(SED) 's, -e \"s -I$$$$prefix/lib g\",,g' $(2)/bin/apu-1-config
|
$(SED) 's, -e \"s -I$$$$prefix/lib g\",,g' $(2)/bin/apu-1-config
|
||||||
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(1)/usr/lib,g' $(2)/bin/apu-1-config
|
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(2)/bin/apu-1-config
|
||||||
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(1)/usr/include/,g' $(2)/bin/apu-1-config
|
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(2)/bin/apu-1-config
|
||||||
$(SED) 's,-L$$$$libdir,,g' $(2)/bin/apu-1-config
|
$(SED) 's,-L$$$$libdir,,g' $(2)/bin/apu-1-config
|
||||||
$(SED) 's,-R$$$$libdir,,g' $(2)/bin/apu-1-config
|
$(SED) 's,-R$$$$libdir,,g' $(2)/bin/apu-1-config
|
||||||
endef
|
endef
|
||||||
|
@ -46,28 +46,24 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(2)/bin
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/include/apr-1 $(1)/usr/lib $(1)/usr/lib/pkgconfig $(1)/usr/share/build-1
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/apr-1-config \
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/apr-1-config \
|
||||||
$(2)/bin
|
$(2)/bin
|
||||||
mkdir -p $(1)/usr/include/apr-1
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/apr-1/* \
|
||||||
$(1)/usr/include/apr-1/
|
$(1)/usr/include/apr-1/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libapr-1.{la,a,so*} \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libapr-1.{la,a,so*} \
|
||||||
$(1)/usr/lib/
|
$(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-1.pc \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/apr-1.pc \
|
||||||
$(1)/usr/lib/pkgconfig/
|
$(1)/usr/lib/pkgconfig/
|
||||||
mkdir -p $(1)/usr/share/build-1
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/build-1/* \
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/build-1/* \
|
||||||
$(1)/usr/share/build-1/
|
$(1)/usr/share/build-1/
|
||||||
$(SED) 's,^datadir=\"/usr/share\",datadir=\"$(1)/usr/share\",g' $(2)/bin/apr-1-config
|
$(SED) 's,^datadir=\"/usr/share\",datadir=\"$(STAGING_DIR)/usr/share\",g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,^installbuilddir=\"/usr/share/build-1\",installbuilddir=\"$(1)/usr/share/build-1\",g' $(2)/bin/apr-1-config
|
$(SED) 's,^installbuilddir=\"/usr/share/build-1\",installbuilddir=\"$(STAGING_DIR)/usr/share/build-1\",g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(1)/usr/lib,g' $(2)/bin/apr-1-config
|
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(1)/usr/include/,g' $(2)/bin/apr-1-config
|
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,-L$$$$libdir,,g' $(2)/bin/apr-1-config
|
$(SED) 's,-L$$$$libdir,,g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,-R$$$$libdir,,g' $(2)/bin/apr-1-config
|
$(SED) 's,-R$$$$libdir,,g' $(2)/bin/apr-1-config
|
||||||
$(SED) 's,/usr/share/build-1,$(1)/usr/share/build-1,g' $(1)/usr/share/build-1/apr_rules.mk
|
$(SED) 's,/usr/share/build-1,$(STAGING_DIR)/usr/share/build-1,g' $(1)/usr/share/build-1/apr_rules.mk
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libapr/install
|
define Package/libapr/install
|
||||||
|
@ -79,14 +79,14 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/curl-config $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/curl-config $(1)/usr/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/curl $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/curl $(1)/usr/include/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcurl.{a,so*} $(1)/usr/lib/
|
||||||
$(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_BUILD_DIR)/libcurl.pc $(1)/usr/lib/pkgconfig/
|
||||||
$(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/curl-config
|
$(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/curl-config
|
||||||
$(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/libcurl.pc
|
$(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/libcurl.pc
|
||||||
ln -sf $(1)/usr/bin/curl-config $(2)/bin/
|
ln -sf $(STAGING_DIR)/usr/bin/curl-config $(2)/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/curl/install
|
define Package/curl/install
|
||||||
|
@ -53,8 +53,8 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.{a,so*} $(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
mkdir -p $(1)/usr/lib/pkgconfig
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/freetype2.pc $(1)/usr/lib/pkgconfig/
|
||||||
$(SED) 's,-I$$$$includedir/freetype2,-I$(1)/usr/include/freetype2,g' $(2)/bin/freetype-config
|
$(SED) 's,-I$$$$includedir/freetype2,-I$(STAGING_DIR)/usr/include/freetype2,g' $(2)/bin/freetype-config
|
||||||
$(SED) 's,/usr/include/freetype2/,$(1)/usr/include/freetype2/,g' $(2)/bin/freetype-config
|
$(SED) 's,/usr/include/freetype2/,$(STAGING_DIR)/usr/include/freetype2/,g' $(2)/bin/freetype-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libfreetype/install
|
define Package/libfreetype/install
|
||||||
|
@ -14,6 +14,7 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://downloads.sourceforge.net/libungif/
|
PKG_SOURCE_URL:=http://downloads.sourceforge.net/libungif/
|
||||||
|
PKG_FIXUP := libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -47,8 +48,6 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_BUILD_DIR)/lib/.libs/lib*so* $(1)/usr/lib
|
$(CP) $(PKG_BUILD_DIR)/lib/.libs/lib*so* $(1)/usr/lib
|
||||||
$(CP) $(PKG_BUILD_DIR)/lib/libgif.la $(1)/usr/lib
|
$(CP) $(PKG_BUILD_DIR)/lib/libgif.la $(1)/usr/lib
|
||||||
$(CP) $(PKG_BUILD_DIR)/lib/*.h $(1)/usr/include/
|
$(CP) $(PKG_BUILD_DIR)/lib/*.h $(1)/usr/include/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libgif.la
|
|
||||||
$(SED) "s,installed.*,,g" $(1)/usr/lib/libgif.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/giflib/install
|
define Package/giflib/install
|
||||||
|
@ -67,8 +67,8 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_BUILD_DIR)/glibconfig-sysdefs.h $(1)/usr/include/glib-1.2/
|
$(CP) $(PKG_BUILD_DIR)/glibconfig-sysdefs.h $(1)/usr/include/glib-1.2/
|
||||||
$(INSTALL_DIR) $(2)/bin
|
$(INSTALL_DIR) $(2)/bin
|
||||||
mv $(1)/usr/bin/glib-config $(2)/bin/
|
mv $(1)/usr/bin/glib-config $(2)/bin/
|
||||||
$(SED) 's,-I$$$${prefix}/include/glib,-I$(1)/usr/include/glib,g' $(2)/bin/glib-config
|
$(SED) 's,-I$$$${prefix}/include/glib,-I$(STAGING_DIR)/usr/include/glib,g' $(2)/bin/glib-config
|
||||||
$(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(1)/usr/lib/glib,g' $(2)/bin/glib-config
|
$(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(STAGING_DIR)/usr/lib/glib,g' $(2)/bin/glib-config
|
||||||
$(SED) 's,-L$$$${exec_prefix}/lib,,g' $(2)/bin/glib-config
|
$(SED) 's,-L$$$${exec_prefix}/lib,,g' $(2)/bin/glib-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -149,13 +149,10 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/bin
|
mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgnutls{,-extra}-config $(2)/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgnutls{,-extra}-config $(2)/bin/
|
||||||
mkdir -p $(1)/usr/include
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/gnutls $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gnutls $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls{,-extra,-openssl}.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgnutls{,-extra,-openssl}.{a,so*} $(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc $(1)/usr/lib/pkgconfig/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ PKG_MD5SUM:=f1f6b3e5490f382535dccb288f5d8b14
|
|||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_lgpl-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)_lgpl-$(PKG_VERSION)
|
||||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -36,12 +37,9 @@ define Package/libart/description
|
|||||||
especially suitable for embedded applications.
|
especially suitable for embedded applications.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_ARGS += \
|
||||||
$(call Build/Configure/Default, \
|
--enable-shared \
|
||||||
--enable-shared \
|
--enable-static
|
||||||
--enable-static \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
@ -51,13 +49,10 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/bin
|
$(INSTALL_DEV) $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libart2-config $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libart2-config $(1)/usr/bin/
|
||||||
mkdir -p $(1)/usr/include
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libart-2.0 $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libart-2.0 $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.{la,a,so*} $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.{a,so*} $(1)/usr/lib/
|
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libart-2.0.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libart-2.0.pc $(1)/usr/lib/pkgconfig/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@ PKG_MD5SUM:=49810175ab672b19a02509d2a670b156
|
|||||||
|
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||||
|
PKG_FIXUP:=libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -57,10 +58,10 @@ define Build/InstallDev
|
|||||||
mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal
|
mkdir -p $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/share/aclocal
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libgcrypt-config $(1)/usr/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gcrypt*.h $(1)/usr/include/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.{la,a,so*} $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/libgcrypt.m4 $(1)/usr/share/aclocal/
|
||||||
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(1)/usr/lib,g' $(1)/usr/bin/libgcrypt-config
|
$(SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $(1)/usr/bin/libgcrypt-config
|
||||||
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(1)/usr/include/,g' $(1)/usr/bin/libgcrypt-config
|
$(SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $(1)/usr/bin/libgcrypt-config
|
||||||
ln -sf $(1)/usr/bin/libgcrypt-config $(2)/bin/
|
ln -sf $(1)/usr/bin/libgcrypt-config $(2)/bin/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -70,19 +70,16 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include $(1)/usr/lib $(1)/usr/lib/pkgconfig
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xslt-config $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xslt-config $(1)/usr/bin/
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xsltproc $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/xsltproc $(1)/usr/bin/
|
||||||
mkdir -p $(1)/usr/include
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/libxslt $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/libxslt $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxslt.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libxslt.{a,so*} $(1)/usr/lib/
|
||||||
mkdir -p $(1)/usr/lib/pkgconfig
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxslt.pc $(1)/usr/lib/pkgconfig/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libxslt.pc $(1)/usr/lib/pkgconfig/
|
||||||
$(SED) 's,-I$$$${includedir},,g' $(1)/usr/bin/xslt-config
|
$(SED) 's,-I$$$${includedir},,g' $(1)/usr/bin/xslt-config
|
||||||
$(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/xslt-config
|
$(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/xslt-config
|
||||||
$(SED) 's,-I$(1)/usr/include,,g' $(1)/usr/bin/xslt-config
|
$(SED) 's,-I$(STAGING_DIR)/usr/include,,g' $(1)/usr/bin/xslt-config
|
||||||
$(SED) 's,-L$(1)/usr/lib,,g' $(1)/usr/bin/xslt-config
|
$(SED) 's,-L$(STAGING_DIR)/usr/lib,,g' $(1)/usr/bin/xslt-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libxslt/install
|
define Package/libxslt/install
|
||||||
|
@ -96,7 +96,7 @@ endef
|
|||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(1)/usr/bin/
|
||||||
ln -sf $(1)/usr/bin/mysql_config $(2)/bin/
|
ln -sf $(STAGING_DIR)/usr/bin/mysql_config $(2)/bin/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/mysql $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/mysql $(1)/usr/include/
|
||||||
# NOTE: needed for MySQL-Python
|
# NOTE: needed for MySQL-Python
|
||||||
$(CP) $(PKG_BUILD_DIR)/include/mysqld_error.h $(1)/usr/include/mysql/
|
$(CP) $(PKG_BUILD_DIR)/include/mysqld_error.h $(1)/usr/include/mysql/
|
||||||
|
@ -39,11 +39,10 @@ MAKE_FLAGS += \
|
|||||||
all
|
all
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin $(2)/bin $(1)/usr/include $(1)/usr/lib
|
||||||
$(CP) $(PKG_BUILD_DIR)/pcre-config $(1)/usr/bin/
|
$(CP) $(PKG_BUILD_DIR)/pcre-config $(1)/usr/bin/
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
ln -sf $(STAGING_DIR)/usr/bin/pcre-config $(2)/bin
|
||||||
$(CP) $(PKG_BUILD_DIR)/pcre{,posix}.h $(1)/usr/include/
|
$(CP) $(PKG_BUILD_DIR)/pcre{,posix}.h $(1)/usr/include/
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.{a,so*} $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ PKG_RELEASE:=1
|
|||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:= http://libtiff.maptools.org/dl/
|
PKG_SOURCE_URL:= http://libtiff.maptools.org/dl/
|
||||||
|
PKG_FIXUP := libtool
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -47,7 +48,6 @@ define Build/InstallDev
|
|||||||
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib* $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||||
$(SED) "s,"libdir\=\'/usr/lib\'",libdir='$(1)/usr/lib\'," $(1)/usr/lib/libtif{f,fxx}.la
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/tiff/Install
|
define Package/tiff/Install
|
||||||
|
@ -64,14 +64,12 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(2)/bin
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/include/uClibc++ $(1)/usr/lib
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/g++-uc $(2)/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/g++-uc $(2)/bin/
|
||||||
mkdir -p $(1)/usr/include/uClibc++
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/uClibc++/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/uClibc++/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libuClibc++*.{a,so*} $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libuClibc++*.{a,so*} $(1)/usr/lib/
|
||||||
$(SED) 's|-I/include/|-I$(1)/usr/include/uClibc++/|g' $(2)/bin/g++-uc
|
$(SED) 's|-I/include/|-I$(STAGING_DIR)/usr/include/uClibc++/|g' $(2)/bin/g++-uc
|
||||||
$(SED) 's|-L/lib/|-L$(1)/usr/lib/|g' $(2)/bin/g++-uc
|
$(SED) 's|-L/lib/|-L$(STAGING_DIR)/usr/lib/|g' $(2)/bin/g++-uc
|
||||||
# add another wrapper which links against both uClibc++ and libstdc++
|
# add another wrapper which links against both uClibc++ and libstdc++
|
||||||
$(INSTALL_BIN) $(2)/bin/g++-uc $(2)/bin/g++-uc+std
|
$(INSTALL_BIN) $(2)/bin/g++-uc $(2)/bin/g++-uc+std
|
||||||
$(SED) 's|^WRAPPER_INCLUDEDIR=.*||g' $(2)/bin/g++-uc+std
|
$(SED) 's|^WRAPPER_INCLUDEDIR=.*||g' $(2)/bin/g++-uc+std
|
||||||
|
@ -113,16 +113,14 @@ define Build/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
mkdir -p $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
||||||
$(CP) -L $(PKG_INSTALL_DIR)/usr/bin/wx-config $(1)/usr/bin/
|
$(CP) -L $(PKG_INSTALL_DIR)/usr/bin/wx-config $(1)/usr/bin/
|
||||||
mkdir -p $(1)/usr/include
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/wx-2.6 $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/wx-2.6 $(1)/usr/include/
|
||||||
mkdir -p $(1)/usr/lib
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6-*.so $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6-*.so $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6.so.* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6.so.* $(1)/usr/lib/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/wx $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/wx $(1)/usr/lib/
|
||||||
$(SED) 's,-I$$$${includedir}/wx-2.6,-I$(1)/usr/include/wx-2.6,g' $(1)/usr/bin/wx-config
|
$(SED) 's,-I$$$${includedir}/wx-2.6,-I$(STAGING_DIR)/usr/include/wx-2.6,g' $(1)/usr/bin/wx-config
|
||||||
$(SED) 's,-I$$$${libdir}/wx/include,-I$(1)/usr/lib/wx/include,g' $(1)/usr/bin/wx-config
|
$(SED) 's,-I$$$${libdir}/wx/include,-I$(STAGING_DIR)/usr/lib/wx/include,g' $(1)/usr/bin/wx-config
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libwxbase/install
|
define Package/libwxbase/install
|
||||||
|
@ -80,9 +80,9 @@ endef
|
|||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--with-apr="$(STAGING_DIR_HOST)/bin/apr-1-config" \
|
--with-apr="$(STAGING_DIR)/host/bin/apr-1-config" \
|
||||||
--with-apr-util="$(STAGING_DIR_HOST)/bin/apu-1-config" \
|
--with-apr-util="$(STAGING_DIR)/host/bin/apu-1-config" \
|
||||||
--with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \
|
--with-pcre="$(STAGING_DIR)/host/bin/pcre-config" \
|
||||||
--enable-http \
|
--enable-http \
|
||||||
--enable-ssl \
|
--enable-ssl \
|
||||||
--enable-proxy \
|
--enable-proxy \
|
||||||
|
@ -47,8 +47,8 @@ define Package/subversion-server
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-apr="$(STAGING_DIR_HOST)/bin/apr-1-config" \
|
--with-apr="$(STAGING_DIR)/host/bin/apr-1-config" \
|
||||||
--with-apr-util="$(STAGING_DIR_HOST)/bin/apu-1-config" \
|
--with-apr-util="$(STAGING_DIR)/host/bin/apu-1-config" \
|
||||||
--with-neon="$(STAGING_DIR)/usr/include/neon" \
|
--with-neon="$(STAGING_DIR)/usr/include/neon" \
|
||||||
--disable-mod-activation \
|
--disable-mod-activation \
|
||||||
--without-ruby-sitedir \
|
--without-ruby-sitedir \
|
||||||
|
@ -69,7 +69,6 @@ CONFIGURE_ARGS += \
|
|||||||
--with-rrd-default-font="/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf" \
|
--with-rrd-default-font="/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf" \
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/freetype2 -I$(STAGING_DIR)/usr/include/libart-2.0" \
|
|
||||||
LIBS="-lnotimpl" \
|
LIBS="-lnotimpl" \
|
||||||
rd_cv_ieee_works=yes \
|
rd_cv_ieee_works=yes \
|
||||||
rd_cv_null_realloc=nope \
|
rd_cv_null_realloc=nope \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user