diff --git a/packages/devel/libtool/build b/packages/devel/libtool/build new file mode 100755 index 0000000000..6c3b2e47a8 --- /dev/null +++ b/packages/devel/libtool/build @@ -0,0 +1,22 @@ +#!/bin/sh + +. config/options $1 + +cd $PKG_BUILD + +mkdir -p .objdir-target +cd .objdir-target + +../configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --disable-static \ + --enable-shared \ + --enable-ltdl-install \ + +make + +$MAKEINSTALL diff --git a/packages/devel/libtool/install b/packages/devel/libtool/install new file mode 100755 index 0000000000..019bc4a0e9 --- /dev/null +++ b/packages/devel/libtool/install @@ -0,0 +1,6 @@ +#!/bin/sh + +. config/options $1 + +mkdir -p $INSTALL/usr/lib + cp -P $PKG_BUILD/.objdir-target/libltdl/.libs/*.so* $INSTALL/usr/lib diff --git a/packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_1.diff b/packages/devel/libtool/patches/libtool-2.2.10-lto_1.diff similarity index 100% rename from packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_1.diff rename to packages/devel/libtool/patches/libtool-2.2.10-lto_1.diff diff --git a/packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_3.diff b/packages/devel/libtool/patches/libtool-2.2.10-lto_3.diff similarity index 100% rename from packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_3.diff rename to packages/devel/libtool/patches/libtool-2.2.10-lto_3.diff diff --git a/packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_4.diff b/packages/devel/libtool/patches/libtool-2.2.10-lto_4.diff similarity index 100% rename from packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-lto_4.diff rename to packages/devel/libtool/patches/libtool-2.2.10-lto_4.diff diff --git a/packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-use_ld.diff b/packages/devel/libtool/patches/libtool-2.2.10-use_ld.diff similarity index 100% rename from packages/toolchain/devel/autotools/libtool/patches/libtool-2.2.10-use_ld.diff rename to packages/devel/libtool/patches/libtool-2.2.10-use_ld.diff diff --git a/packages/toolchain/devel/autotools/libtool/url b/packages/devel/libtool/url similarity index 100% rename from packages/toolchain/devel/autotools/libtool/url rename to packages/devel/libtool/url diff --git a/packages/toolchain/devel/autotools/autoconf-2.64/build b/packages/toolchain/devel/autotools/autoconf-2.64/build index 3af52095be..e041477622 100755 --- a/packages/toolchain/devel/autotools/autoconf-2.64/build +++ b/packages/toolchain/devel/autotools/autoconf-2.64/build @@ -3,7 +3,7 @@ . config/options $1 $SCRIPTS/build m4 -$SCRIPTS/build libtool +$SCRIPTS/build libtool-host setup_toolchain host diff --git a/packages/toolchain/devel/autotools/autoconf/build b/packages/toolchain/devel/autotools/autoconf/build index 3bcdadd35f..b0c96c2396 100755 --- a/packages/toolchain/devel/autotools/autoconf/build +++ b/packages/toolchain/devel/autotools/autoconf/build @@ -3,7 +3,7 @@ . config/options $1 $SCRIPTS/build m4 -$SCRIPTS/build libtool +$SCRIPTS/build libtool-host setup_toolchain host diff --git a/packages/toolchain/devel/autotools/libtool-host/build b/packages/toolchain/devel/autotools/libtool-host/build new file mode 100755 index 0000000000..357f69099e --- /dev/null +++ b/packages/toolchain/devel/autotools/libtool-host/build @@ -0,0 +1,22 @@ +#!/bin/sh + +. config/options $1 + +$SCRIPTS/unpack libtool + +setup_toolchain host + +cd $BUILD/libtool* + +mkdir -p .objdir-host +cd .objdir-host + +../configure --host=$HOST_NAME \ + --build=$HOST_NAME \ + --target=$TARGET_NAME \ + --prefix=$ROOT/$TOOLCHAIN \ + --enable-shared \ + --disable-static \ + +make +make install diff --git a/packages/toolchain/devel/autotools/libtool/build b/packages/toolchain/devel/autotools/libtool/build deleted file mode 100755 index 809ee74094..0000000000 --- a/packages/toolchain/devel/autotools/libtool/build +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -. config/options $1 - -setup_toolchain host - -cd $PKG_BUILD -./configure --host=$HOST_NAME \ - --build=$HOST_NAME \ - --target=$TARGET_NAME \ - --prefix=$ROOT/$TOOLCHAIN \ - --enable-shared \ - --disable-static \ - -make -make install -make prefix=$SYSROOT_PREFIX/usr install