diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-09-21 14:52:47 +0200 |
commit | e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc (patch) | |
tree | c6b816e7ba8f9b659e1be415ebf1dac4262c3b82 /main/moc | |
parent | 452d447d89b3a3775b7f602d7352a8cfe8a0f9d4 (diff) | |
download | aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.bz2 aports-e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc.tar.xz |
testing/*: move to main
Diffstat (limited to 'main/moc')
-rw-r--r-- | main/moc/APKBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/main/moc/APKBUILD b/main/moc/APKBUILD new file mode 100644 index 0000000000..95b35fada5 --- /dev/null +++ b/main/moc/APKBUILD @@ -0,0 +1,65 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to> +pkgname=moc +pkgver=2.5.0 +pkgrel=0 +pkgdesc="MOC is a console audio player" +url="http://moc.daper.net/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="curl-dev libtool file ffmpeg-dev speex-dev alsa-lib-dev + libmodplug-dev faad2-dev jack-dev libmad-dev ncurses-dev" +install="" +subpackages="$pkgname-doc" +source="http://ftp.daper.net/pub/soft/moc/stable/moc-${pkgver}.tar.bz2" + +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --without-rcc \ + --with-oss \ + --with-alsa \ + --with-jack \ + --with-aac \ + --with-mp3 \ + --with-musepack \ + --with-vorbis \ + --with-flac \ + --with-wavpack \ + --with-sndfile \ + --with-modplug \ + --with-ffmpeg \ + --with-speex \ + --with-samplerate \ + --with-curl \ + --disable-cache \ + --disable-debug \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install +} + +md5sums="18e3a979b67091bfee4b62217908c473 moc-2.5.0.tar.bz2" +sha256sums="d29ea52240af76c4aa56fa293553da9d66675823e689249cee5f8a60657a6091 moc-2.5.0.tar.bz2" +sha512sums="ca6cfd4d1d13030bd561df8ab671399a17dfb675c360ecc95a2491c6a85764d0f72259ac33665405b197f370f4fd7ef59d9a485706f8a882bff30d0fafcf252c moc-2.5.0.tar.bz2" |