kumquat-buildroot/scripts/buildall.sh

517 lines
6.9 KiB
Bash
Raw Normal View History

#!/bin/sh
alias mk="scripts/mkpkg"
function nmk()
{
2009-01-16 23:45:31 +01:00
printf "mk %-31s" "$1"
if [ "$2X" == "OKX" ] ; then
echo "DISABLED $3 $4"
elif [ "$2X" == "FAILX" ] ; then
echo "DISABLED $3 $4"
elif [ "$2X" == "BROKENX" ] ; then
echo "DISABLED $3 $4"
elif [ "$2X" == "DISABLEDX" ] ; then
echo "DISABLED $3 $4"
else
echo "DISABLED $2 $3 $4"
fi
}
if [ ${already-done} == 1 ] ; then
nmk busybox
2009-01-16 23:45:31 +01:00
fi # ********* already-done
#**********************************************************************************
2009-01-16 23:45:31 +01:00
# Enable HASERL
sed -i s/.*BR2_PACKAGE_HASERL.*// .config
echo "# BR2_PACKAGE_HASERL_VERSION_0_8_X is not set" >> .config
echo "BR2_PACKAGE_HASERL_VERSION_0_9_X=y" >> .config
echo "BR2_PACKAGE_HASERL_VERSION=\"0.9.25\"" >> .config
echo "BR2_PACKAGE_HASERL=y" >> .config
# Enable SSL
sed -i s/.*BR2_PACKAGE_OPENSSL.*// .config
echo "BR2_PACKAGE_OPENSSL=y" >> .config
# Enable socat
sed -i s/.*BR2_PACKAGE_SOCAT.*// .config
echo "BR2_PACKAGE_SOCAT=y" >> .config
echo "BR2_PACKAGE_SOCAT_PREDEF_CRDLY_SHIFT=\"9\"" >> .config
echo "BR2_PACKAGE_SOCAT_PREDEF_TABDLY_SHIFT=\"11\"" >> .config
echo "BR2_PACKAGE_SOCAT_PREDEF_CSIZE_SHIFT=\"4\"" >> .config
# Enable Freetype
sed -i s/.*BR2_PACKAGE_FREETYPE.*// .config
echo "BR2_PACKAGE_FREETYPE=y" >> .config
sed -i s/.*BR2_FREETYPE_VERSION.*// .config
echo "# BR2_FREETYPE_VERSION_2_2_1 is not set" >> .config
echo "BR2_FREETYPE_VERSION_2_3_7=y" >> .config
echo "BR2_FREETYPE_VERSION=\"2.3.7\"" >> .config
if [ ${busybox-tools} == 1 ] ; then
mk bash
mk bzip2
mk coreutils
mk diffutils
mk findutils
fi
mk flex
if [ ${busybox-tools} == 1 ] ; then
mk gawk
fi
if [ ${busybox-tools} == 1 ] ; then
mk grep
fi
mk make
if [ ${busybox-tools} == 1 ] ; then
mk patch
mk sed
mk tar
fi
2009-01-16 23:45:31 +01:00
echo "# Other development stuff"
mk autoconf
mk automake
mk bison
mk cvs
mk distcc
mk dmalloc
mk fakeroot
mk gettext
2009-01-16 23:45:31 +01:00
mk libgmp
mk gperf
mk libmpfr
mk libtool
mk m4
2009-01-16 23:45:31 +01:00
nmk mpatrol "Needs gdb to build, and GDB_VERSION is not defined"
mk oprofile
mk pkgconfig
mk readline
2009-01-16 23:45:31 +01:00
nmk valgrind "x86 specific"
mk pcre
2009-01-16 23:45:31 +01:00
echo "# Other stuff"
mk at
mk beecrypt
mk berkeleydb
mk bsdiff
if [ ${busybox-tools} == 1 ] ; then
mk bootutils
fi
mk cups
mk customize
if [ ${busybox-tools} == 1 ] ; then
mk dash
fi
mk file
mk gamin
mk icu
mk kexec
if [ ${busybox-tools} == 1 ] ; then
mk less
fi
mk libconfig
mk libconfuse
mk libdaemon
mk libelf
mk libevent
2009-01-13 19:43:46 +01:00
nmk libfloat # obsolete
mk libgcrypt
mk libgpg-error
2009-01-16 23:45:31 +01:00
nmk libiconv
mk liblockfile
mk liboil
mk libsysfs
mk lockfile-progs
mk logrotate
mk lsof
nmk ltp-testsuite
mk ltrace
mk ltt
mk memstat
if [ ${busybox-tools} == 1 ] ; then
mk module-init-tools
mk modutils
fi
mk ng-spice-rework
mk popt
if [ ${busybox-tools} == 1 ] ; then
mk procps
fi
if [ ${busybox-tools} == 1 ] ; then
mk psmisc
fi
mk screen
mk strace
mk sudo
if [ ${busybox-tools} == 1 ] ; then
mk sysklogd
# busybox has init and the runit stuff
mk sysvinit
mk tinylogin
mk util-linux
mk which
fi
2009-01-16 23:45:31 +01:00
nmk database BROKEN "Need to enter subdirectory"
if [ ${busybox-tools} == 1 ] ; then
# busybox has an editor
# text editors
mk editors
fi
2009-01-16 23:45:31 +01:00
echo "# Networking applications"
mk argus
mk avahi
mk axel
if [ ${busybox-tools} == 1 ] ; then
mk boa
fi
mk bind
mk bridge
if [ ${busybox-tools} == 1 ] ; then
mk dhcp
fi
mk dnsmasq
mk dropbear
mk ethtool
2009-01-16 23:45:31 +01:00
mk haserl
mk hostap
mk ifplugd
2009-01-16 23:45:31 +01:00
mk irda-utils "Makefile is invalid"
mk iperf
mk iproute2
mk ipsec-tools
mk iptables
mk kismet
mk l2tp
mk libcgi
mk libcgicc
mk libeXosip2
mk libpcap
mk libupnp
if [ ${busybox-tools} == 1 ] ; then
mk lighttpd
fi
2009-01-16 23:45:31 +01:00
mk links
mk lrzsz
mk mdnsresponder
if [ ${busybox-tools} == 1 ] ; then
mk microcom
fi
mk mii-diag
mk mrouted
mk mutt
mk nbd
mk ncftp
mk neon
if [ ${busybox-tools} == 1 ] ; then
mk netcat
fi
mk netkitbase
mk netkittelnet
mk netplug
mk netsnmp
mk nfs-utils
mk ntp
mk olsr
2009-01-16 23:45:31 +01:00
2009-01-13 19:43:46 +01:00
mk ntpd
mk openssh
2009-01-16 23:45:31 +01:00
mk openssl
2009-01-16 23:45:31 +01:00
mk libcurl
mk openvpn
mk openswan
mk portmap
mk pppd
mk rp-pppoe
mk pptp-linux
2009-01-16 23:45:31 +01:00
mk proftpd
nmk quagga
mk rsync
mk samba
mk socat
mk stunnel
mk tcpdump
mk tftpd
if [ ${busybox-tools} == 1 ] ; then
mk thttpd
mk tinyhttpd
fi
mk tn5250
mk ttcp
if [ ${busybox-tools} == 1 ] ; then
# ATTENTION! This was merged into busybox!
nmk udhcp
fi
mk udpcast
mk vpnc
mk vsftpd
mk vtun
mk webif
2009-01-16 23:45:31 +01:00
mk libsoup.mk
mk gssdp
mk gupnp
mk gupnp-av
mk gupnp-igd
if [ ${busybox-tools} == 1 ] ; then
mk wget
fi
mk wireless-tools
2009-01-16 23:45:31 +01:00
echo "# Hardware handling / blockdevices and filesystem maintenance"
mk acpid
mk dbus
mk dbus-glib
mk devmem2
mk dm
mk dmraid
mk e2fsprogs
mk eeprog
mk fconfig
mk fis
2009-01-16 23:45:31 +01:00
mk libfuse
mk gadgetfs-test
2009-01-16 23:45:31 +01:00
mk hal
if [ ${busybox-tools} == 1 ] ; then
mk hdparm
mk hotplug
fi
mk hwdata
mk i2c-tools
mk input-tools
mk iostat
mk libaio
mk libraw1394
mk libusb
mk lm-sensors
mk lvm2
mk mdadm
mk memtester
mk mkdosfs
mk mtd
mk ntfs-3g
mk pciutils
mk pcmcia
2009-01-13 19:43:46 +01:00
mk raidtools2
mk setserial
if [ ${busybox-tools} == 1 ] ; then
# busybox has fdisk
mk sfdisk
fi
mk smartmontools
if [ ${busybox-tools} == 1 ] ; then
# mdev
mk udev
fi
mk usbmount
mk usbutils
mk wipe
nmk xfsprogs
2009-01-16 23:45:31 +01:00
echo "# Interpreter languages / Scripting"
mk lua
mk microperl
mk python
mk ruby
mk tcl
mk php
echo "# text rendering applications"
mk dialog
# Audio/Video support
2009-01-16 23:45:31 +01:00
echo "# Audio and video libraries and applications"
mk alsa-lib
mk alsa-utils
mk asterisk
mk aumix
mk gstreamer
mk gst-plugins-base
mk gst-plugins-good
mk gst-plugins-ugly
mk libid3tag
mk libmad
mk libmpd
mk libogg
mk libsndfile
mk libtheora
mk libvorbis
mk madplay
mk mpg123
mk mplayer
mk speex
mk festival
mk vlc
2009-01-16 23:45:31 +01:00
echo "# Graphic libraries and applications (graphic/text)"
echo "# text rendering libraries"
mk ncurses
mk newt
mk slang
2009-01-16 23:45:31 +01:00
echo "# graphic libraries"
mk directfb
mk directfb-examples
mk fbdump
mk linux-fusion
mk imagemagick
mk jpeg
mk libart
mk libpng
mk libungif
mk lite
mk pixman
mk sawman
mk sdl
mk sdl_image
mk sdl_mixer
2009-01-13 19:43:46 +01:00
mk SDL_net
mk sdl_ttf
mk tiff
2009-01-16 23:45:31 +01:00
echo "# busybox graphic applications"
echo "# --> May be broken in busybox"
mk fbv
mk fbset
2009-01-16 23:45:31 +01:00
echo "# other GUIs"
nmk qte
nmk qtopia4
if [ ${X-WIN} == 1 ] ; then
mk x11r7
2009-01-16 23:45:31 +01:00
echo "# X libraries and helper libraries"
echo "# maybe some of these should depend on !BR2_PACKAGE_XSERVER_none"
mk atk
mk cairo
mk pango
mk libdrm
mk liberation
mk libglade
mk libglib12
mk libglib2
mk libgtk12
mk libgtk2
mk gtk2-engines
mk gtk2-themes
mk libsexy
mk fltk
mk openmotif
mk fontconfig
mk freetype
mk tslib
mk webkit
2009-01-13 19:43:46 +01:00
nmk startup-notification # Depends on X11
2009-01-16 23:45:31 +01:00
echo "# X Window managers"
mk matchbox
mk metacity
mk blackbox
2009-01-16 23:45:31 +01:00
echo "# X applications"
mk alsamixergui
mk dillo
mk docker
mk gqview
mk gmpc
mk gtkperf
mk leafpad
mk midori
mk pcmanfm
mk rdesktop
mk rxvt
mk sylpheed
mk synergy
mk torsmo
mk x11vnc
mk xpdf
mk xstroke
mk xvkbd
fi
2009-01-16 23:45:31 +01:00
echo "# Compressors / decompressors"
if [ ${busybox-tools} == 1 ] ; then
mk gzip
fi
mk lzo
mk lzma-host
mk lzma-target
mk zlib
2009-01-16 23:45:31 +01:00
echo "# Package managers"
mk ipkg
nmk portage
if [ ${busybox-tools} == 1 ] ; then
mk rpm
fi
2009-01-16 23:45:31 +01:00
echo "# XML handling"
mk expat
mk ezxml
mk libxml2
mk libxslt
mk xerces
2009-01-16 23:45:31 +01:00
# java support
nmk java
# various games packages
nmk games