--- embedaddon/build.sh 2011/10/31 12:56:54 1.5 +++ embedaddon/build.sh 2011/11/01 21:38:11 1.5.2.3 @@ -1,10 +1,10 @@ #!/bin/sh # -# (C)`10 PKG-Builder for elwix by Michael Pounov +# (C)`10 PKG-Builder for ELWIX by Michael Pounov # -# ./build.sh [package] [prefix_dir] [os_specific_set] [other_make_opts ...] +# ./build.sh [package] [os_specific_build_set] [prefix_dir] [other_make_opts ...] # -# $Id: build.sh,v 1.5 2011/10/31 12:56:54 misho Exp $ +# $Id: build.sh,v 1.5.2.3 2011/11/01 21:38:11 misho Exp $ # CMD=$1 @@ -32,7 +32,12 @@ case $CMD in ${PFX} ${MK} clean ${MK} - ${MK} install + install src/sudo ${P}/bin + ln ${P}/bin/sudo ${P}/bin/sudoedit + install plugins/sudoers/sudoreplay ${P}/bin + install plugins/sudoers/visudo ${P}/sbin + install plugins/sudoers/.libs/sudoers.so ${P}/libexec + install src/.libs/libsudo_noexec.so ${P}/libexec echo ">>> Now rebuild elwix firmware image ..." ;; ntpd) @@ -403,7 +408,10 @@ case $CMD in ./configure --enable-utf8 --enable-unicode-properties ${PFX} ${MK} clean ${MK} - ${MK} install + install .libs/libpcre.so.* ${P}/lib + install .libs/libpcreposix.so.* ${P}/lib + install .libs/libpcrecpp.so.* ${P}/lib + rm -f ${P}/lib/libpcrecpp.so*T ${P}/lib/libpcreposix.so*T echo ">>> Now rebuild elwix firmware image ..." ;; spawn-fcgi) @@ -430,7 +438,7 @@ case $CMD in ./configure --without-python ${PFX} ${MK} clean ${MK} - ${MK} install + install .libs/libxml2.so.* ${P}/lib cd .. cd php # [ ! -r config.log ] && \