31 lines
1000 B
Bash
31 lines
1000 B
Bash
# Template file for 'libopenraw'
|
|
pkgname=libopenraw
|
|
version=0.1.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="pkg-config curl"
|
|
makedepends="glib-devel gdk-pixbuf-devel boost-devel libxml2-devel libjpeg-turbo-devel"
|
|
triggers="gtk-pixbuf-loaders"
|
|
short_desc="Library for camera RAW files decoding"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-3"
|
|
homepage="http://${pkgname}.freedesktop.org/wiki/"
|
|
distfiles="http://${pkgname}.freedesktop.org/download/${pkgname}-${version}.tar.bz2"
|
|
checksum=4dede1db9b85c9c22a1ddaf37839f2713746a00b81a6d4623d66556000cb76cf
|
|
|
|
post_install() {
|
|
# Remove gdk-pixbuf static lib
|
|
rm ${DESTDIR}/usr/lib/gdk-pixbuf-*/*/loaders/libopenraw_pixbuf.a
|
|
}
|
|
libopenraw-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
description=" - development files"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/include
|
|
}
|
|
}
|