# Description file for tinycore extension ($ extbuild sample.desc) # Source PACKAGE="mpd" RENAME_TO="mpd-minimal" SEP="-" VERSION="0.16.8" STYPE="http" MIRROR="downloads.sourceforge.net/project/musicpd/$PACKAGE/$VERSION" PKG_EXT=".tar.gz" # Dependencies, Build flags, dev auto-added BUILD_DEPS="glib2 libcue sqlite3 libsamplerate curl audiofile faad flac libmad mpg123 libsndfile libmpc libmpcdec libogg libvorbis wavpack lame alsa libffi libao libid3tag libcdio tcp_wrappers" RUN_DEPS="glib2 audiofile curl faad flac lame libasound libcdio libcue libid3tag libltdl libmad libmpcdec libogg libsamplerate libsndfile libvorbis mpg123 sqlite3 wavpack libao tcp_wrappers" FLAGS="--enable-ffado=no \ --with-zeroconf=no \ --enable-audiofile=yes \ --enable-cue=yes \ --enable-curl=yes \ --enable-openal=no \ --enable-iso9660=yes \ --enable-zzip=no \ --enable-wildmidi=no \ --enable-pipe-output=no \ --enable-lastfm=no \ --enable-libwrap=yes \ --enable-alsa=yes \ --enable-oss=yes \ --enable-wavpack=yes \ --enable-wave-encoder=yes \ --enable-vorbis-encoder=yes \ --enable-ao=yes \ --enable-bzip2=no \ --enable-fluidsynth=no \ --enable-gme=no \ --enable-ffmpeg=no \ --enable-curl=yes \ --enable-id3=yes \ --enable-flac=yes \ --enable-jack=no \ --enable-shout=no \ --enable-sidplay=no \ --enable-lame-encoder=yes \ --enable-twolame-encoder=no \ --enable-mad=yes \ --enable-mpg123=yes \ --enable-aac=yes \ --enable-mpc=yes \ --enable-vorbis=yes \ --enable-pulse=no \ --enable-modplug=no \ --enable-mms=no \ --enable-lsr=yes \ --enable-mikmod=no \ --enable-mvp=no" #DBG_PKG=1 #OVERWRITE_LOCAL=1 #NO_DESTDIR=1 #NO_PERL=1 #NO_AUTOTOOLS=1 #NO_OWN_MOD=1 #UPX_COMPRESS=1 # Packaging DEV_MASK="-name *.h -o -name *.c -o -name *.la -o -name *.a -o -name *.m4 -o -name *.pc -o -name *.rh" LOCALE_MASK="-name locale -type d" DOC_MASK="( -name man -o -name manual -o -name doc -o -name info ) -a -type d" CONF_MASK="-name *.conf" CONF_MAND_MASK="" # Info DESCRIPTION="mpd-minimal - Basic Music Player Daemon" AUTHORS="Various" MAINTAINER="gutmensch" HOMEPAGE="http://mpd.wikia.com" LICENSE="GPL" TAGS="mpd music player daemon server network" COMMENTS="Only minimal functionality. - playback: mp3, mp4, wav, flac, ogg, vorbis, mpc - encode: mp3, wav, ogg, flac - output: alsa, oss, ao - streaming: httpd, curl - NO zeroconf (avahi) - NO firewire (ffado) - NO ffmpeg, midi, fluidsynth - NO shoutcast, lastfm" CHANGE="__TODAY__ " ##### changelog, dont modify! is done by script! ##### #CHANGELOG[0]="2012/05/07 Bump to 0.16.8, recompiled against TC 4.x" ############### end of changelog ##################### configure_special_source () { true # dummy_file filename [ $? -eq 0 ] && success || fail } work_special_build () { mkdir -p ${TCB_BLDDIR}/${PACKAGE}/usr/local/etc cp ${TCB_BLDDIR}/${PACKAGE}-doc/usr/local/share/doc/mpd/mpdconf.example ${TCB_BLDDIR}/${PACKAGE}/usr/local/etc/mpd.conf.sample # to_new_extension "-name file1.txt -o -name file2.bin" new_ext "dep1 dep2" # create_start_script $EXTENSION # echo "my command" >> ${SS1} # create_wbar_icon $EXTENSION $TMPICONPATH $EXECUTE $WBARNAME # create_initd_script $EXTENSION $DAEMONPATH $PIDFILE $LOGFILE $OPTIONS # cat < ${TCB_BLDDIR}/${PACKAGE}/usr/local/etc/ # EOF [ $? -eq 0 ] && success || fail }