mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
30 lines
930 B
Bash
30 lines
930 B
Bash
|
#
|
||
|
# Platform 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=normalize
|
||
|
pkgver=0.7.7
|
||
|
pkgrel=1
|
||
|
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('GPL')
|
||
|
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
|
||
|
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
|
||
|
url="http://normalize.nongnu.org"
|
||
|
md5sums=('1749b16fc7a08aa5d0cf9f76eeaa8436')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
|
||
|
./configure --prefix=/usr \
|
||
|
--mandir=/usr/share/man \
|
||
|
--with-audiofile \
|
||
|
--with-mad
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
}
|