summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2007-04-05 10:40:41 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2007-04-05 10:40:41 +0000
commit4f417a092e87d879c0d57aff1be185646878cb96 (patch)
tree85c1695913daf97b50ea7bef9da2698e446b93cf
parentab4ed138ed1800e41cbd339258056ffee34a7caa (diff)
meta-sdk-sbox: Several updates - we can build binaries now and have the most important tools.
Depens on debian, doctools and perl devkit
-rw-r--r--packages/meta/meta-sdk-sbox.bb13
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/meta/meta-sdk-sbox.bb b/packages/meta/meta-sdk-sbox.bb
index a586972a94..98fb6053c0 100644
--- a/packages/meta/meta-sdk-sbox.bb
+++ b/packages/meta/meta-sdk-sbox.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Meta package for a Scratchbox SDK"
LICENSE = "MIT"
-PR = "r2"
+PACKAGES = ""
+PR = "r4"
inherit rootfs_ipk sdk meta
@@ -14,6 +15,7 @@ FILES_${PN} = "${prefix}"
TARGET_INSTALL = "\
task-sdk-base \
+ task-sdk-sbox \
task-sdk-x11 \
task-sdk-x11-ext \
task-sdk-gpe \
@@ -22,6 +24,7 @@ TARGET_INSTALL = "\
DEPENDS = "ipkg-native ipkg-utils-native fakeroot-native sed-native"
RDEPENDS = "${TARGET_INSTALL}"
+
IPKG_TARGET = "ipkg-cl -f ${SDK_DIR}/ipkg-target.conf -o ${SDK_OUTPUT}/${prefix}"
do_populate_sdk() {
@@ -73,8 +76,12 @@ EOF
# remove unwanted executables
rm -rf ${SDK_OUTPUT}/${prefix}/sbin ${SDK_OUTPUT}/${prefix}/etc
- # remove broken .la files
- #rm ${SDK_OUTPUT}/${prefix}/lib/*.la
+ # fixup libtool files
+ cd ${SDK_OUTPUT}/${prefix}/lib/
+ for f in *.la ; do
+ sed -i 's%${STAGING_DIR}${TARGET_SYS}%/usr/%g' "$f"
+ done
+
# fix pkgconfig data files
cd ${SDK_OUTPUT}/${prefix}/usr/lib/pkgconfig