diff --git a/pkg/bdb/build b/pkg/bdb/build index 9374762..c8ad99b 100755 --- a/pkg/bdb/build +++ b/pkg/bdb/build @@ -32,7 +32,5 @@ deploy() { strip_files ${DEPLOY}/lib/*.so ${DEPLOY}/bin/db_* rm -r "$DEPLOY/docs" - rm ${DEPLOY}/lib/*.la - split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/expat/build b/pkg/expat/build index 44227ca..a3adb03 100644 --- a/pkg/expat/build +++ b/pkg/expat/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/file/build b/pkg/file/build index ee0ba92..3681117 100755 --- a/pkg/file/build +++ b/pkg/file/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm -r ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/gmp/build b/pkg/gmp/build index a911a53..e420f59 100755 --- a/pkg/gmp/build +++ b/pkg/gmp/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/kbd/build b/pkg/kbd/build index 073d3ba..073cd08 100755 --- a/pkg/kbd/build +++ b/pkg/kbd/build @@ -28,7 +28,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r ${DEPLOY}/share/man if [ -e ${DEPLOY}/share/doc ]; then diff --git a/pkg/kmod/build b/pkg/kmod/build index bd3a3e6..05db9d9 100644 --- a/pkg/kmod/build +++ b/pkg/kmod/build @@ -29,7 +29,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share/man" - rm -r ${DEPLOY}/lib/*.la for target in depmod insmod lsmod modinfo modprobe rmmod; do ln -sf kmod $DEPLOY/bin/$target diff --git a/pkg/libbsd/build b/pkg/libbsd/build index a54b9eb..cf54b3f 100644 --- a/pkg/libbsd/build +++ b/pkg/libbsd/build @@ -26,7 +26,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/libevent/build b/pkg/libevent/build index 9e7e4fc..460f5ee 100755 --- a/pkg/libevent/build +++ b/pkg/libevent/build @@ -26,7 +26,6 @@ deploy() { make DESTDIR="$DEPLOY" install - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/bin" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/libiconv/build b/pkg/libiconv/build index d96a59d..928f914 100755 --- a/pkg/libiconv/build +++ b/pkg/libiconv/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/libidn2/build b/pkg/libidn2/build index 4254d99..ecf80ee 100755 --- a/pkg/libidn2/build +++ b/pkg/libidn2/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/libmnl/build b/pkg/libmnl/build index b5611d9..c834d83 100644 --- a/pkg/libmnl/build +++ b/pkg/libmnl/build @@ -26,7 +26,5 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la - split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/libnftnl/build b/pkg/libnftnl/build index e4a5965..008df0a 100644 --- a/pkg/libnftnl/build +++ b/pkg/libnftnl/build @@ -26,7 +26,5 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la - split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/libseccomp/build b/pkg/libseccomp/build index ec76529..1071cfe 100644 --- a/pkg/libseccomp/build +++ b/pkg/libseccomp/build @@ -26,7 +26,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/libtasn1/build b/pkg/libtasn1/build index 622bbc0..60c8312 100755 --- a/pkg/libtasn1/build +++ b/pkg/libtasn1/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/libunistring/build b/pkg/libunistring/build index 221d5b6..a5484b5 100755 --- a/pkg/libunistring/build +++ b/pkg/libunistring/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/lzo/build b/pkg/lzo/build index be0331d..d2b8ffd 100644 --- a/pkg/lzo/build +++ b/pkg/lzo/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/procps-ng/build b/pkg/procps-ng/build index a5ad115..44c6e4c 100755 --- a/pkg/procps-ng/build +++ b/pkg/procps-ng/build @@ -30,7 +30,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/sqlite3/build b/pkg/sqlite3/build index aae761a..ed05602 100755 --- a/pkg/sqlite3/build +++ b/pkg/sqlite3/build @@ -27,7 +27,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip rm -r "$DEPLOY/share" - rm ${DEPLOY}/lib/*.la split_dev_deploy "$DEPLOY" "$DEVDEPLOY" } diff --git a/pkg/unbound/build b/pkg/unbound/build index fdf44ec..51b3e9c 100644 --- a/pkg/unbound/build +++ b/pkg/unbound/build @@ -29,7 +29,6 @@ deploy() { make DESTDIR="$DEPLOY" install - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/pkg/util-linux/build b/pkg/util-linux/build index 7c1520b..d7a852c 100755 --- a/pkg/util-linux/build +++ b/pkg/util-linux/build @@ -61,7 +61,6 @@ deploy() { rm -r "$DEPLOY/share/man" rm -r "$DEPLOY/share/doc" - rm -r ${DEPLOY}/lib/*.la if [ -e "$DEPLOY/sbin" ]; then mv ${DEPLOY}/sbin/* ${DEPLOY}/bin diff --git a/pkg/xz/build b/pkg/xz/build index 6fc3b73..345cd6d 100644 --- a/pkg/xz/build +++ b/pkg/xz/build @@ -26,7 +26,6 @@ deploy() { make DESTDIR="$DEPLOY" install-strip - rm ${DEPLOY}/lib/*.la rm -r "$DEPLOY/share" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" diff --git a/util/misc.sh b/util/misc.sh index a395df2..df53f1e 100644 --- a/util/misc.sh +++ b/util/misc.sh @@ -32,6 +32,12 @@ split_dev_deploy() { mv "$1/lib/pkgconfig" "$2/lib" fi + for f in ${1}/lib/*.la; do + if [ -e "$f" ]; then + rm "$f" + fi + done + for f in ${1}/lib/*.a; do if [ -f "$f" ]; then mkdir -p "$2/lib"