build_audacious() { HERE=`pwd` NAME=audacious VER=3.1.2 BUILDEPS="compiletc.tcz nasm.tcz" #DEPS= . ./ncurses-sc.inc || exit 1 . ./curl-sc.inc || exit 1 . ./libcddb-sc.inc || exit 1 . ./libmowgli-sc.inc || exit 1 . ./libcdio-sc.inc || exit 1 . ./libguess-sc.inc || exit 1 . ./alsa-lib-sc.inc || exit 1 . ./desktop-file-utils-sc.inc || exit 1 . ./lame-sc.inc || exit 1 . ./libogg-sc.inc || exit 1 . ./libvorbis-sc.inc || exit 1 for I in `echo "$BUILDDEPS"`; do su tc -c "tce-load -i "$I"" || su tc -c "tce-load -iw "$I"" done PKGPATH=$1 export LDFLAGS="-L$PKGPATH/lib:/apps/gtk2/lib" export CPPFLAGS="-I$PKGPATH/include -I/apps/gtk2/include" export PATH="$PKGPATH/bin:/apps/gtk2/bin:$PATH" export PKG_CONFIG_PATH="$PKGPATH/lib/pkgconfig:/apps/gtk2/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH" if [ ! -f "$TMPDIR"/ncurses ]; then build_ncurses "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/curl ]; then build_curl "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/alsa-lib ]; then build_alsa-lib "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libcddb ]; then build_libcddb "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libcddb ]; then build_libcddb "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libmowgli ]; then build_libmowgli "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libcdio ]; then build_libcdio "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libguess ]; then build_libguess "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/desktop-file-utils ]; then build_desktop-file-utils "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/lame ]; then build_lame "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libogg ]; then build_libogg "$PKGPATH" || exit 1 fi if [ ! -f "$TMPDIR"/libvorbis ]; then build_libvorbis "$PKGPATH" || exit 1 fi tar xvf curl-7.23.1.tar.bz2 || exit 1 cd curl-7.23.1 || exit 1 ./configure --prefix="$PKGPATH" || exit 1 make || exit 1 make install || exit 1 cd "$HERE" touch "$TMPDIR"/curl }