mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
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=libtheora
|
|
pkgver=1.1.1
|
|
pkgrel=3
|
|
pkgdesc="An open video codec developed by the Xiph.org"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.xiph.org"
|
|
license=('BSD')
|
|
depends=('libogg')
|
|
makedepends=('libvorbis')
|
|
options=('!libtool')
|
|
source=(http://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2)
|
|
md5sums=('292ab65cedd5021d6b7ddd117e07cd8e')
|
|
sha1sums=('8dcaa8e61cd86eb1244467c0b64b9ddac04ae262')
|
|
|
|
build() {
|
|
cd "${srcdir}/libtheora-${pkgver}"
|
|
./configure --prefix=/usr --enable-shared --disable-static || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|