mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 06:07:15 +08:00
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
|
|
# Contributor (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# Contributor (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=openjpeg
|
|
pkgver=1.5.0
|
|
pkgrel=1
|
|
pkgdesc="An open source JPEG 2000 codec"
|
|
arch=(i686 x86_64)
|
|
license=('BSD')
|
|
url="http://www.openjpeg.org"
|
|
depends=('zlib')
|
|
source=(http://openjpeg.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=("e5d66193ddfa59a87da1eb08ea86293b")
|
|
|
|
options=('!libtool')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
# make sure we use system libs with --disable-static
|
|
# we want the most informative output during build,
|
|
# thus we pass --disable-silent-rules to configure
|
|
rm -rf libs
|
|
./configure --prefix=/usr \
|
|
--disable-static --disable-silent-rules
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/openjpeg"
|
|
install -m644 LICENSE "${pkgdir}/usr/share/licenses/openjpeg/LICENSE"
|
|
}
|
|
|