summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/autoconf/Makefile2
-rw-r--r--package/automake/Makefile2
-rw-r--r--package/bison/Makefile2
-rw-r--r--package/firefox/Makefile5
-rw-r--r--package/gdk-pixbuf/Makefile2
-rw-r--r--package/gettext-tiny/Makefile1
-rw-r--r--package/glib/Makefile3
-rw-r--r--package/libIDL/Makefile2
-rw-r--r--package/libiconv-tiny/Makefile1
-rw-r--r--package/libtool/Makefile1
-rw-r--r--package/libvpx/Makefile1
-rw-r--r--package/m4/Makefile1
-rw-r--r--package/yasm/Makefile10
-rw-r--r--package/zip/Makefile16
14 files changed, 37 insertions, 12 deletions
diff --git a/package/autoconf/Makefile b/package/autoconf/Makefile
index 389c3efd5..6813142bb 100644
--- a/package/autoconf/Makefile
+++ b/package/autoconf/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 82d05e03b93e45f5a39b828dc9c6c29b
PKG_DESCR:= GNU autoconf
PKG_SECTION:= lang
-PKG_BUILDDEP:= m4-host
+PKG_BUILDDEP:= m4-host autoconf-host
PKG_URL:= http://www.gnu.org/software/autoconf/
PKG_SITES:= ${MASTER_SITE_GNU:=autoconf/}
PKG_OPTS:= noscripts
diff --git a/package/automake/Makefile b/package/automake/Makefile
index 7c12ded6e..acc41cc8a 100644
--- a/package/automake/Makefile
+++ b/package/automake/Makefile
@@ -10,7 +10,7 @@ PKG_EXTRAVER:= 1.12
PKG_MD5SUM:= e620cb9e0259159341c0e0d6b712b67a
PKG_DESCR:= GNU automake
PKG_SECTION:= lang
-PKG_BUILDDEP:= autoconf-host
+PKG_BUILDDEP:= autoconf-host automake-host
PKG_URL:= http://www.gnu.org/software/automake/
PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
PKG_OPTS:= noscripts
diff --git a/package/bison/Makefile b/package/bison/Makefile
index aaef1b631..182e10310 100644
--- a/package/bison/Makefile
+++ b/package/bison/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= ea45c778b36bdc7a720096819e292a73
PKG_DESCR:= GNU parser generator
PKG_SECTION:= lang
+PKG_BUILDDEP:= flex-host bison-host
PKG_URL:= http://www.gnu.org/software/bison/
PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
@@ -19,7 +20,6 @@ $(eval $(call HOST_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,BISON,bison,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
HOST_STYLE:= auto
-#XAKE_FLAGS+= M4=m4
bison-install:
${INSTALL_DIR} ${IDIR_BISON}/usr/bin ${IDIR_BISON}/usr/share/bison
diff --git a/package/firefox/Makefile b/package/firefox/Makefile
index 3a21a2d80..69df75db1 100644
--- a/package/firefox/Makefile
+++ b/package/firefox/Makefile
@@ -15,7 +15,8 @@ PKG_DEPENDS+= libxdamage libxfixes libidl libsqlite libxcomposite gdk-pixbuf li
PKG_DEPENDS+= harfbuzz mesalib libvpx libbz2 ca-certificates libevent
PKG_BUILDDEP:= alsa-lib glib gtk+ libIDL libX11 MesaLib libtiff gdk-pixbuf
PKG_BUILDDEP+= nspr nss libjpeg-turbo libXt fontconfig sqlite atk libpng hicolor-icon-theme
-PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2 libevent python2-host
+PKG_BUILDDEP+= libvpx pango gettext-tiny bzip2 libevent python2-host yasm-host
+PKG_BUILDDEP+= zip-host
PKG_URL:= http://www.mozilla.org/
PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PKG_VERSION}/source/
PKG_NOPARALLEL:= 1
@@ -46,8 +47,6 @@ CONFIGURE_ENV+= CROSS_COMPILE=1 \
HOST_LDFLAGS="${LDLAGS_FOR_BUILD}" \
HOST_CXX="${CXX_FOR_BUILD}" \
HOST_CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \
- BUILD_LIBIDL_CONFIG="${BUILD_LIBIDL_CONFIG}" \
- PKG_HOSTLIB_DIR="${PKG_HOSTLIB_DIR}" \
HOST_RANLIB="ranlib" HOST_AR="ar" \
CPPFLAGS="-I${STAGING_TARGET_DIR}/usr/include/freetype2" \
ac_cv_sqlite_secure_delete=yes \
diff --git a/package/gdk-pixbuf/Makefile b/package/gdk-pixbuf/Makefile
index 719f614ca..66859b04c 100644
--- a/package/gdk-pixbuf/Makefile
+++ b/package/gdk-pixbuf/Makefile
@@ -9,7 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= bd7c2a9d23b573db467e39833f12103d
PKG_DESCR:= GDK pixbuf library
PKG_SECTION:= libs
-PKG_BUILDDEP:= jpeg libtiff
+PKG_BUILDDEP:= libjpeg-turbo libtiff
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
PKG_NEED_CXX:= 1
PKG_OPTS:= dev
diff --git a/package/gettext-tiny/Makefile b/package/gettext-tiny/Makefile
index 6a98b123f..71fdda509 100644
--- a/package/gettext-tiny/Makefile
+++ b/package/gettext-tiny/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 3af6fd8a9042603b61f634b1c6f49e7e
PKG_DESCR:= Gettext stub and replacement
PKG_SECTION:= libs
+PKG_BUILDDEP:= gettext-tiny-host
PKG_URL:= https://github.com/rofl0r/gettext-tiny
PKG_SITES:= http://ftp.barfooze.de/pub/sabotage/tarballs/
PKG_OPTS:= dev
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 87fd9d50a..842712601 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -11,8 +11,7 @@ PKG_MD5SUM:= 9f6e85e1e38490c3956f4415bcd33e6e
PKG_DESCR:= low-level core library that forms the basis of GTK+
PKG_SECTION:= libs
PKG_DEPENDS:= libpthread
-PKG_BUILDDEP:= gettext-tiny-host gettext-tiny libiconv-tiny-host
-PKG_BUILDDEP:= libiconv-tiny glib-host zlib
+PKG_BUILDDEP:= gettext-tiny libiconv-tiny glib-host zlib
PKG_URL:= http://www.gtk.org/
PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/glib/${PKG_EXTRAVER}/
PKG_NOPARALLEL:= 1
diff --git a/package/libIDL/Makefile b/package/libIDL/Makefile
index 983d6b865..58a6f7434 100644
--- a/package/libIDL/Makefile
+++ b/package/libIDL/Makefile
@@ -10,7 +10,7 @@ PKG_MD5SUM:= 531fbc1b40b80dd1d6f3b5e76b99067c
PKG_DESCR:= libraries for Interface Definition Language files
PKG_SECTION:= libs
PKG_DEPENDS:= glib
-PKG_BUILDDEP:= glib
+PKG_BUILDDEP:= glib flex-host bison-host
PKG_URL:= http://www.gnome.org/
PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
PKG_LIBNAME:= libidl
diff --git a/package/libiconv-tiny/Makefile b/package/libiconv-tiny/Makefile
index 3b88a24e1..d5da1049f 100644
--- a/package/libiconv-tiny/Makefile
+++ b/package/libiconv-tiny/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 4898b62aebc1614edab60bf1fe0ac661
PKG_DESCR:= iconv stub and replacement
PKG_SECTION:= libs
+PKG_BUILDDEP:= libiconv-tiny-host
PKG_URL:= http://www.openwrt.org/
PKG_SITES:= http://www.openadk.org/distfiles/
PKG_OPTS:= dev devonly
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index b2710ee63..adfd6f4cc 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= d2f3b7d4627e69e13514a40e72a24d50
PKG_DESCR:= a generic dynamic object loading library
PKG_SECTION:= lang
+PKG_BUILDDEP:= libtool-host
PKG_URL:= http://www.gnu.org/software/libtool/
PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
PKG_LIBNAME:= libltdl
diff --git a/package/libvpx/Makefile b/package/libvpx/Makefile
index 13796e7d5..98ceb7575 100644
--- a/package/libvpx/Makefile
+++ b/package/libvpx/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= f8de058e6ba14555144583a2d031fe19
PKG_DESCR:= VP8/VP9 codec library
PKG_SECTION:= libs
+PKG_BUILDDEP:= yasm-host
PKG_URL:= http://www.webmproject.org/about/
PKG_SITES:= http://webm.googlecode.com/files/
PKG_OPTS:= dev
diff --git a/package/m4/Makefile b/package/m4/Makefile
index 2d6516d25..b4b25b6e3 100644
--- a/package/m4/Makefile
+++ b/package/m4/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= a5dfb4f2b7370e9d34293d23fd09b280
PKG_DESCR:= macro processor
PKG_SECTION:= lang
+PKG_BUILDDEP:= m4-host
PKG_URL:= http://www.gnu.org/software/m4/
PKG_SITES:= ${MASTER_SITE_GNU:=m4/}
diff --git a/package/yasm/Makefile b/package/yasm/Makefile
index 7567b5d9b..bd9d7d716 100644
--- a/package/yasm/Makefile
+++ b/package/yasm/Makefile
@@ -4,20 +4,26 @@
include $(TOPDIR)/rules.mk
PKG_NAME:= yasm
-PKG_VERSION:= 1.1.0
+PKG_VERSION:= 1.2.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 8392e5f2235c2c2a981e1a633f2698cb
+PKG_MD5SUM:= 4cfc0686cf5350dd1305c4d905eb55a6
PKG_DESCR:= Modular Assembler Project
PKG_SECTION:= misc
+PKG_BUILDDEP:= yasm-host
PKG_URL:= http://www.tortall.net/projects/yasm/
PKG_SITES:= http://www.tortall.net/projects/yasm/releases/
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,YASM,yasm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= auto
+
yasm-install:
$(INSTALL_DIR) $(IDIR_YASM)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/yasm $(IDIR_YASM)/usr/bin
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/zip/Makefile b/package/zip/Makefile
index 1cc0f8ec0..242fc84ec 100644
--- a/package/zip/Makefile
+++ b/package/zip/Makefile
@@ -9,16 +9,20 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 7b74551e63f8ee6aab6fbc86676c0d37
PKG_DESCR:= zip compression utility
PKG_SECTION:= archive
+PKG_BUILDDEP:= zip-host
PKG_URL:= http://www.info-zip.org/Zip.html
PKG_SITES:= ftp://ftp.info-zip.org/pub/infozip/src/
WRKDIST= $(WRKDIR)/$(PKG_NAME)30
DISTFILES:= $(PKG_NAME)30.tgz
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,ZIP,zip,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,ZIP,zip,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= manual
CONFIG_STYLE:= minimal
INSTALL_STYLE:= manual
@@ -27,8 +31,20 @@ CONFIGURE_PROG:= unix/configure
MAKE_FILE:= unix/Makefile
ALL_TARGET:= generic_gcc
+host-configure:
+ (cd $(WRKBUILD) && $(BASH) $(CONFIGURE_PROG))
+
+host-build:
+ (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ ${HOST_MAKE_FLAGS} ${ALL_TARGET})
+
+zip-hostinstall:
+ $(CP) $(WRKBUILD)/zip \
+ $(STAGING_HOST_DIR)/usr/bin
+
zip-install:
${INSTALL_DIR} ${IDIR_ZIP}/usr/bin
${CP} ${WRKBUILD}/zip ${IDIR_ZIP}/usr/bin
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk