summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-05 10:49:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-05 10:49:13 +0100
commit26d79f5e76b17c978ee4b21e17464ea9ea2e0203 (patch)
treedd856982dccb6e46240112775ade21247d627c6a
parent9037fba3edd4bffd403b342a1487d9bf59f25830 (diff)
parent4c93c2e27f98e0c00a101bc8b7df20b12d82f8b9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--package/MesaLib/Makefile13
-rw-r--r--package/MesaLib/patches/000-mesalib-xdemos.patch2
-rw-r--r--package/MesaLib/patches/patch-bin_mklib37
-rw-r--r--package/MesaLib/patches/patch-configs_default11
-rw-r--r--package/MesaLib/patches/patch-src_mesa_Makefile21
-rw-r--r--package/MesaLib/patches/patch-src_mesa_main_imports_c6
-rw-r--r--package/MesaLib/patches/patch-src_mesa_shader_slang_library_Makefile11
-rw-r--r--package/font-adobe-100dpi/Makefile2
-rw-r--r--package/font-adobe-75dpi/Makefile2
-rw-r--r--package/font-bh-100dpi/Makefile2
-rw-r--r--package/font-bh-75dpi/Makefile2
-rw-r--r--package/font-bh-lucidatypewriter-100dpi/Makefile2
-rw-r--r--package/font-bh-lucidatypewriter-75dpi/Makefile2
-rw-r--r--package/font-bh-ttf/Makefile2
-rw-r--r--package/font-bh-type1/Makefile2
-rw-r--r--package/font-bitstream-100dpi/Makefile2
-rw-r--r--package/font-bitstream-75dpi/Makefile2
-rw-r--r--package/font-bitstream-type1/Makefile2
-rw-r--r--package/font-misc-misc/Makefile2
-rw-r--r--package/font-util/patches/patch-fontutil_pc_in11
-rw-r--r--package/font-xfree86-type1/Makefile2
-rw-r--r--package/libtool/Makefile26
-rw-r--r--package/mplayer/Makefile3
-rwxr-xr-xscripts/tar17
24 files changed, 137 insertions, 47 deletions
diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 000c3c9e5..430142eaa 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= MesaLib
PKG_VERSION:= 7.8.2
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= c89b63d253605ed40e8ac370d25a833c
PKG_DESCR:= MESA library
PKG_SECTION:= libs
@@ -21,7 +21,6 @@ PKGSC_GLXINFO:= x11/apps
PKGSD_GLXGEARS:= Nice little OpenGL demo application
PKGSC_GLXGEARS:= x11/apps
-PKG_HOST_DEPENDS:= !cygwin !darwin
PKG_TARGET_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
WRKDIST= ${WRKDIR}/Mesa-${PKG_VERSION}
@@ -43,9 +42,9 @@ CONFIGURE_ARGS+= --disable-static \
--with-dri-drivers=${DRI_DRIVERS},swrast \
--with-demos=xdemos
-XAKE_FLAGS+= HOST_CC=${HOSTCC}
+XAKE_FLAGS+= HOST_CC=${HOSTCC} GLSL_CL=${STAGING_TOOLS}/bin/glslcompile
-pre-configure:
+post-extract:
(cd ${WRKBUILD}; rm -rf config.{cache,status}; \
./configure \
--disable-static \
@@ -56,9 +55,13 @@ pre-configure:
${MAKE} -C ${WRKBUILD}/src/glsl
${MAKE} -C ${WRKBUILD}/src/glsl/apps
${CP} ${WRKBUILD}/src/glsl/apps/compile \
- ${STAGING_TOOLS}/bin
+ ${STAGING_TOOLS}/bin/glslcompile
${MAKE} -C ${WRKBUILD}/src/glsl clean
+pre-configure:
+ $(SED) "s#@@RANLIB@@#${TARGET_CROSS}ranlib#" ${WRKBUILD}/configs/default
+ $(SED) "s#@@AR@@#${TARGET_CROSS}ar#" ${WRKBUILD}/configs/default
+
post-install:
$(INSTALL_DIR) $(IDIR_MESALIB)/usr/lib/dri
$(CP) $(WRKINST)/usr/lib/libGL*.so* \
diff --git a/package/MesaLib/patches/000-mesalib-xdemos.patch b/package/MesaLib/patches/000-mesalib-xdemos.patch
index 866e68c2e..0ebf160e5 100644
--- a/package/MesaLib/patches/000-mesalib-xdemos.patch
+++ b/package/MesaLib/patches/000-mesalib-xdemos.patch
@@ -7807,7 +7807,7 @@ diff -Naurp Mesa-7.8.1/progs/xdemos/Makefile Mesa-7.8.1.patched/progs/xdemos/Mak
+# Add X11 and pthread libs to satisfy GNU gold.
+APP_LIB_DEPS += -lX11 -lpthread
+
-+LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(libdir) $(APP_LIB_DEPS)
++LIBS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(APP_LIB_DEPS)
+
+PROGS = \
+ corender \
diff --git a/package/MesaLib/patches/patch-bin_mklib b/package/MesaLib/patches/patch-bin_mklib
index 159aba578..f198b424d 100644
--- a/package/MesaLib/patches/patch-bin_mklib
+++ b/package/MesaLib/patches/patch-bin_mklib
@@ -1,5 +1,40 @@
--- Mesa-7.8.2.orig/bin/mklib 2010-06-15 19:43:41.000000000 +0200
-+++ Mesa-7.8.2/bin/mklib 2010-10-11 20:40:45.000000000 +0200
++++ Mesa-7.8.2/bin/mklib 2010-12-04 23:25:12.000000000 +0100
+@@ -49,8 +49,8 @@ expand_archives() {
+ /*) ;;
+ *) FILE="$ORIG_DIR/$FILE" ;;
+ esac
+- MEMBERS=`ar t $FILE`
+- ar x $FILE
++ MEMBERS=`${AR} t $FILE`
++ ${AR} x $FILE
+ for MEMBER in $MEMBERS ; do
+ NEWFILES="$NEWFILES $DIR/$MEMBER"
+ done
+@@ -77,7 +77,7 @@ expand_archives() {
+ make_ar_static_lib() {
+ OPTS=$1
+ shift;
+- RANLIB=$1
++ RAN=$1
+ shift;
+ LIBNAME=$1
+ shift;
+@@ -87,11 +87,11 @@ make_ar_static_lib() {
+ rm -f ${LIBNAME}
+
+ # make static lib
+- ar ${OPTS} ${LIBNAME} ${OBJECTS}
++ ${AR} ${OPTS} ${LIBNAME} ${OBJECTS}
+
+ # run ranlib
+- if [ ${RANLIB} = 1 ] ; then
+- ranlib ${LIBNAME}
++ if [ ${RAN} = 1 ] ; then
++ ${RANLIB} ${LIBNAME}
+ fi
+
+ echo ${LIBNAME}
@@ -251,7 +251,7 @@ OBJECTS=$@
diff --git a/package/MesaLib/patches/patch-configs_default b/package/MesaLib/patches/patch-configs_default
new file mode 100644
index 000000000..e1fb0b669
--- /dev/null
+++ b/package/MesaLib/patches/patch-configs_default
@@ -0,0 +1,11 @@
+--- Mesa-7.8.2.orig/configs/default 2010-06-16 23:22:17.000000000 +0200
++++ Mesa-7.8.2/configs/default 2010-12-03 01:19:21.000000000 +0100
+@@ -32,7 +32,7 @@ APP_CXX = $(CXX)
+
+ # Misc tools and flags
+ SHELL = /bin/sh
+-MKLIB = $(SHELL) $(TOP)/bin/mklib
++MKLIB = env RANLIB=/Volumes/adk/openadk/cross_x86_glibc/host/bin/i686-openadk-linux-gnu-ranlib AR=/Volumes/adk/openadk/cross_x86_glibc/host/bin/i686-openadk-linux-gnu-ar $(SHELL) $(TOP)/bin/mklib
+ MKLIB_OPTIONS =
+ MKDEP = makedepend
+ MKDEP_OPTIONS = -fdepend
diff --git a/package/MesaLib/patches/patch-src_mesa_Makefile b/package/MesaLib/patches/patch-src_mesa_Makefile
new file mode 100644
index 000000000..35869314b
--- /dev/null
+++ b/package/MesaLib/patches/patch-src_mesa_Makefile
@@ -0,0 +1,21 @@
+--- Mesa-7.8.2.orig/src/mesa/Makefile 2010-06-15 19:43:42.000000000 +0200
++++ Mesa-7.8.2/src/mesa/Makefile 2010-12-04 22:11:40.000000000 +0100
+@@ -30,15 +30,15 @@ default: depend asm_subdirs glsl_builtin
+
+ # Make archive of core mesa object files
+ libmesa.a: $(MESA_OBJECTS) $(GLSL_LIBS)
+- @ $(MKLIB) -o mesa -static $(MESA_OBJECTS) $(GLSL_LIBS)
++ $(MKLIB) -o mesa -static $(MESA_OBJECTS) $(GLSL_LIBS)
+
+ # Make archive of subset of core mesa object files for gallium
+ libmesagallium.a: $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS)
+- @ $(MKLIB) -o mesagallium -static $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS)
++ $(MKLIB) -o mesagallium -static $(MESA_GALLIUM_OBJECTS) $(GLSL_LIBS)
+
+ # Make archive of gl* API dispatcher functions only
+ libglapi.a: $(GLAPI_OBJECTS)
+- @ $(MKLIB) -o glapi -static $(GLAPI_OBJECTS)
++ $(MKLIB) -o glapi -static $(GLAPI_OBJECTS)
+
+ ######################################################################
+ # Device drivers
diff --git a/package/MesaLib/patches/patch-src_mesa_main_imports_c b/package/MesaLib/patches/patch-src_mesa_main_imports_c
index 71c832adf..5dba4dd13 100644
--- a/package/MesaLib/patches/patch-src_mesa_main_imports_c
+++ b/package/MesaLib/patches/patch-src_mesa_main_imports_c
@@ -1,6 +1,6 @@
---- Mesa-7.8.1.orig/src/mesa/main/imports.c 2010-04-05 01:46:26.000000000 +0200
-+++ Mesa-7.8.1/src/mesa/main/imports.c 2010-04-19 21:22:52.000000000 +0200
-@@ -799,13 +799,7 @@ _mesa_strdup( const char *s )
+--- Mesa-7.8.2.orig/src/mesa/main/imports.c 2010-06-15 19:43:43.000000000 +0200
++++ Mesa-7.8.2/src/mesa/main/imports.c 2010-12-03 01:16:56.000000000 +0100
+@@ -800,13 +800,7 @@ _mesa_strdup( const char *s )
float
_mesa_strtof( const char *s, char **end )
{
diff --git a/package/MesaLib/patches/patch-src_mesa_shader_slang_library_Makefile b/package/MesaLib/patches/patch-src_mesa_shader_slang_library_Makefile
new file mode 100644
index 000000000..ea769cef9
--- /dev/null
+++ b/package/MesaLib/patches/patch-src_mesa_shader_slang_library_Makefile
@@ -0,0 +1,11 @@
+--- Mesa-7.8.2.orig/src/mesa/shader/slang/library/Makefile 2010-04-27 23:41:21.000000000 +0200
++++ Mesa-7.8.2/src/mesa/shader/slang/library/Makefile 2010-12-04 21:18:11.000000000 +0100
+@@ -4,7 +4,7 @@ TOP = ../../../../..
+
+ include $(TOP)/configs/current
+
+-GLSL_CL = $(TOP)/src/glsl/apps/compile
++GLSL_CL ?= $(TOP)/src/glsl/apps/compile
+
+ #
+ # targets
diff --git a/package/font-adobe-100dpi/Makefile b/package/font-adobe-100dpi/Makefile
index 0f4a1f934..35e10ec85 100644
--- a/package/font-adobe-100dpi/Makefile
+++ b/package/font-adobe-100dpi/Makefile
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= font-util
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-adobe-75dpi/Makefile b/package/font-adobe-75dpi/Makefile
index d1b317d6b..6f0da9876 100644
--- a/package/font-adobe-75dpi/Makefile
+++ b/package/font-adobe-75dpi/Makefile
@@ -14,7 +14,7 @@ PKG_BUILDDEP:= font-util
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-100dpi/Makefile b/package/font-bh-100dpi/Makefile
index 95d37624e..fc0b6c227 100644
--- a/package/font-bh-100dpi/Makefile
+++ b/package/font-bh-100dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-75dpi/Makefile b/package/font-bh-75dpi/Makefile
index d27714abe..645aac5b4 100644
--- a/package/font-bh-75dpi/Makefile
+++ b/package/font-bh-75dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-lucidatypewriter-100dpi/Makefile b/package/font-bh-lucidatypewriter-100dpi/Makefile
index dbb773be1..8df46f86f 100644
--- a/package/font-bh-lucidatypewriter-100dpi/Makefile
+++ b/package/font-bh-lucidatypewriter-100dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-lucidatypewriter-75dpi/Makefile b/package/font-bh-lucidatypewriter-75dpi/Makefile
index 8e1fa78e4..271fe18ad 100644
--- a/package/font-bh-lucidatypewriter-75dpi/Makefile
+++ b/package/font-bh-lucidatypewriter-75dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-ttf/Makefile b/package/font-bh-ttf/Makefile
index 5e9e8c336..e36e8710e 100644
--- a/package/font-bh-ttf/Makefile
+++ b/package/font-bh-ttf/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bh-type1/Makefile b/package/font-bh-type1/Makefile
index d789bb866..3cba71409 100644
--- a/package/font-bh-type1/Makefile
+++ b/package/font-bh-type1/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bitstream-100dpi/Makefile b/package/font-bitstream-100dpi/Makefile
index 104feb0eb..a65b12d9d 100644
--- a/package/font-bitstream-100dpi/Makefile
+++ b/package/font-bitstream-100dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bitstream-75dpi/Makefile b/package/font-bitstream-75dpi/Makefile
index da8af246b..40f4cec26 100644
--- a/package/font-bitstream-75dpi/Makefile
+++ b/package/font-bitstream-75dpi/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-bitstream-type1/Makefile b/package/font-bitstream-type1/Makefile
index e2bd31778..97e8ada96 100644
--- a/package/font-bitstream-type1/Makefile
+++ b/package/font-bitstream-type1/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-misc-misc/Makefile b/package/font-misc-misc/Makefile
index a45a2ab82..4e1015900 100644
--- a/package/font-misc-misc/Makefile
+++ b/package/font-misc-misc/Makefile
@@ -13,7 +13,7 @@ PKG_BUILDDEP:= font-util
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/font-util/patches/patch-fontutil_pc_in b/package/font-util/patches/patch-fontutil_pc_in
new file mode 100644
index 000000000..4662db361
--- /dev/null
+++ b/package/font-util/patches/patch-fontutil_pc_in
@@ -0,0 +1,11 @@
+--- font-util-1.1.1.orig/fontutil.pc.in 2009-10-11 06:32:56.000000000 +0200
++++ font-util-1.1.1/fontutil.pc.in 2010-12-02 22:28:16.000000000 +0100
+@@ -4,7 +4,7 @@ libdir=@libdir@
+ datarootdir=@datarootdir@
+ datadir=@datadir@
+ fontrootdir=@fontrootdir@
+-mapdir=@MAPDIR@
++mapdir=${prefix}/../@MAPDIR@
+
+ Name: FontUtil
+ Description: Font utilities dirs
diff --git a/package/font-xfree86-type1/Makefile b/package/font-xfree86-type1/Makefile
index 9ab43c284..2a08c9b10 100644
--- a/package/font-xfree86-type1/Makefile
+++ b/package/font-xfree86-type1/Makefile
@@ -12,7 +12,7 @@ PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= ${MASTER_SITE_XORG}
-PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd !darwin
+PKG_HOST_DEPENDS:= !netbsd !openbsd !cygwin !freebsd !mirbsd
include $(TOPDIR)/mk/package.mk
diff --git a/package/libtool/Makefile b/package/libtool/Makefile
index 85960b1bc..e22290dcf 100644
--- a/package/libtool/Makefile
+++ b/package/libtool/Makefile
@@ -4,21 +4,24 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libtool
-PKG_VERSION:= 2.2.10
+PKG_VERSION:= 2.4
PKG_RELEASE:= 1
-PKG_MD5SUM:= b745d220e88163fcd9eea0a90ccf21b0
+PKG_MD5SUM:= b32b04148ecdd7344abc6fe8bd1bb021
PKG_DESCR:= a generic dynamic object loading library
PKG_SECTION:= lang
PKG_URL:= http://www.gnu.org/software/libtool/
PKG_SITES:= ${MASTER_SITE_GNU:=libtool/}
-PKG_SUBPKGS:= LIBTOOL LIBLTDL
+PKG_SUBPKGS:= LIBTOOL LIBLTDL LIBLTDL_DEV
PKGSC_LIBLTDL:= libs
+PKGSD_LIBLTDL_DEV:= libltdl header files
+PKGSC_LIBLTDL_DEV:= devel
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBTOOL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBLTDL,libltdl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL}))
+$(eval $(call PKG_template,LIBLTDL_DEV,libltdl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_LIBLTDL_DEV}))
ifeq (${ADK_HOST_OPENBSD},y)
XAKE_FLAGS+= AUTOCONF_VERSION=2.62
@@ -26,11 +29,22 @@ endif
CONFIGURE_ARGS+= --enable-ltdl-install
-post-install:
- ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
+SUB_INSTALLS-y:=
+SUB_INSTALLS-m:=
+SUB_INSTALLS-${ADK_PACKAGE_LIBLTDL}+= libltdl-install
+SUB_INSTALLS-${ADK_PACKAGE_LIBLTDL_DEV}+= libltdl-dev-install
+
+post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_DIR} ${IDIR_LIBTOOL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/libtool ${IDIR_LIBTOOL}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/libtoolize ${IDIR_LIBTOOL}/usr/bin
+libltdl-install:
+ ${INSTALL_DIR} ${IDIR_LIBLTDL}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libltdl.so* ${IDIR_LIBLTDL}/usr/lib/
+
+libltdl-dev-install:
+ ${INSTALL_DIR} ${IDIR_LIBLTDL_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBLTDL_DEV}/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mplayer/Makefile b/package/mplayer/Makefile
index 60fc830d7..afb2e68d4 100644
--- a/package/mplayer/Makefile
+++ b/package/mplayer/Makefile
@@ -17,7 +17,6 @@ PKG_BUILDDEP+= libX11 libXv libpng libXext
PKG_URL:= http://www.mplayerhq.hu/
PKG_SITES:= http://openadk.org/distfiles/
-PKG_HOST_DEPENDS:= !darwin
PKG_TARGET_DEPENDS:= alix x86 x86_64 mips mipsel mips64 mips64el
PKG_FLAVOURS:= WITH_DIRECTFB
@@ -143,6 +142,8 @@ CONFIGURE_ARGS:= --prefix=/usr \
${CONFIGURE_DEBUG} \
${CONFIGURE_DIRECTFB}
+XAKE_FLAGS+= AR="${TARGET_CROSS}ar" RANLIB="${TARGET_CROSS}ranlib"
+
post-install:
${INSTALL_DIR} ${IDIR_MPLAYER}/usr/bin
${CP} ${WRKINST}/usr/bin/mplayer ${IDIR_MPLAYER}/usr/bin
diff --git a/scripts/tar b/scripts/tar
deleted file mode 100755
index 6f63d74c1..000000000
--- a/scripts/tar
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-if [ -z "$(which gtar 2>/dev/null)" ];then
- if [ -z "$(which gnutar 2>/dev/null)" ];then
- if [ -x /usr/bin/tar ];then
- /usr/bin/tar "$@"
- else
- /bin/tar "$@"
- fi
- else
- gnutar "$@"
- fi
-else
- gtar "$@"
-fi