|
version 1.2, 2011/07/20 12:25:35
|
version 1.4.2.1, 2011/07/22 11:19:05
|
|
Line 1
|
Line 1
|
| #!/bin/sh |
#!/bin/sh |
| # |
# |
| # (C)`10 PKG-Builder for elwix by Michael Pounov <misho@elwix.org> | # (C)`10 PKG-Builder for ELWIX by Michael Pounov <misho@elwix.org> |
| # |
# |
| # ./build.sh [package] [prefix_dir] [os_specific_set] [other_make_opts ...] | # ./build.sh [package] [os_specific_build_set] [prefix_dir] [other_make_opts ...] |
| # |
# |
| # $Id$ |
# $Id$ |
| # |
# |
|
Line 121 case $CMD in
|
Line 121 case $CMD in
|
| --enable-dhcpv6 ${PFX} |
--enable-dhcpv6 ${PFX} |
| ${MK} clean |
${MK} clean |
| ${MK} |
${MK} |
| ${MK} install | install server/dhcpd ${P}/sbin |
| | install relay/dhcrelay ${P}/sbin |
| | install dhcpctl/omshell ${P}/bin |
| echo ">>> Now rebuild elwix firmware image ..." |
echo ">>> Now rebuild elwix firmware image ..." |
| ;; |
;; |
| dhcping) |
dhcping) |
|
Line 196 case $CMD in
|
Line 198 case $CMD in
|
| ${MK} install |
${MK} install |
| echo ">>> Now rebuild elwix firmware image ..." |
echo ">>> Now rebuild elwix firmware image ..." |
| ;; |
;; |
| hping2) | hping) |
| cd hping2 | cd hping |
| # [ ! -r config.log ] && \ |
# [ ! -r config.log ] && \ |
| ./configure ${PFX} |
./configure ${PFX} |
| ${MK} clean |
${MK} clean |
|
Line 426 case $CMD in
|
Line 428 case $CMD in
|
| cd .. |
cd .. |
| cd php |
cd php |
| # [ ! -r config.log ] && \ |
# [ ! -r config.log ] && \ |
| ./configure --localstatedir=/tmp --with-config-file-scan-dir=/etc/php --disable-all \ | ./configure --localstatedir=/var --with-config-file-scan-dir=/etc/php --disable-all \ |
| --enable-libxml=../libxml2/.libs --with-openssl \ |
--enable-libxml=../libxml2/.libs --with-openssl \ |
| --enable-zip --enable-sqlite-utf8 ${PFX} |
--enable-zip --enable-sqlite-utf8 ${PFX} |
| |
${MK} clean |
| |
${MK} |
| |
${MK} install |
| |
echo ">>> Now rebuild elwix firmware image ..." |
| |
;; |
| |
scan_ffs) |
| |
cd scan_ffs |
| |
${MK} clean |
| |
${MK} |
| |
install scan_ffs ${P}/bin |
| |
echo ">>> Now rebuild elwix firmware image ..." |
| |
;; |
| |
rsync) |
| |
cd rsync |
| |
./configure.sh --disable-debug --enable-ipv6 --with-rsyncd-conf=/etc/rsyncd.conf \ |
| |
--disable-iconv --with-included-popt ${PFX} |
| |
${MK} clean |
| |
${MK} |
| |
${MK} install |
| |
echo ">>> Now rebuild elwix firmware image ..." |
| |
;; |
| |
pciutils) |
| |
cd pciutils |
| |
${MK} clean |
| |
${MK} |
| |
install lspci ${P}/bin |
| |
install setpci ${P}/bin |
| |
echo ">>> Now rebuild elwix firmware image ..." |
| |
;; |
| |
pure-ftpd) |
| |
cd pure-ftpd |
| |
./configure --with-everything --with-paranoidmsg --sysconfdir=/etc --localstatedir=/var \ |
| |
--with-privsep --with-peruserlimits --with-throttling --with-tls --with-pam \ |
| |
--with-uploadscript --with-rfc2640 --with-sendfile --enable-largefile \ |
| |
--with-virtualchroot ${PFX} |
| |
${MK} clean |
| |
${MK} |
| |
${MK} install |
| |
echo ">>> Now rebuild elwix firmware image ..." |
| |
;; |
| |
ladvd) |
| |
cd ladvd |
| |
./configure --with-chroot-dir=/var/empty ${PFX} |
| ${MK} clean |
${MK} clean |
| ${MK} |
${MK} |
| ${MK} install |
${MK} install |