diff options
Diffstat (limited to 'i486-stage1/net-tools/DESCR')
-rw-r--r-- | i486-stage1/net-tools/DESCR | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/i486-stage1/net-tools/DESCR b/i486-stage1/net-tools/DESCR new file mode 100644 index 0000000..e0227f8 --- /dev/null +++ b/i486-stage1/net-tools/DESCR @@ -0,0 +1,11 @@ +# prepare configure for cross-compilation +sed -i "s@make @make CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld @g" PKGBUILD +sed -i "s@make\$@make CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld @g" PKGBUILD + +# git for release checkouts, using the one from host +sed -i "/makedepends/s/git//g" PKGBUILD + +# apply patch for double definitons in ip.h +sed -i 's@source=(@source=(net-tools-1.60-if_tunnel.patch @' PKGBUILD +sed -i "s@sha1sums=(@sha1sums=('SKIP' @" PKGBUILD +sed -i '2!N; /prepare() {/ a \ pushd ${srcdir}/${pkgname}; patch -Np1 < ${srcdir}/net-tools-1.60-if_tunnel.patch; popd' PKGBUILD |