mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 17:57:39 +08:00
33 lines
864 B
Bash
33 lines
864 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=vorbis-tools
|
||
|
pkgver=1.4.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Extra tools for Ogg-Vorbis"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url='http://www.xiph.org/vorbis/'
|
||
|
license=('GPL2')
|
||
|
depends=('libao' 'libvorbis' 'curl' 'flac')
|
||
|
source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('567e0fb8d321b2cd7124f8208b8b90e6')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr \
|
||
|
--without-speex \
|
||
|
--enable-vcut || return 1
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|