44 lines
1.4 KiB
Text
Executable file
44 lines
1.4 KiB
Text
Executable file
app=libraw
|
|
version=0.18.12
|
|
build=1sml
|
|
DEMOSAICV=0.18.8
|
|
homepage="http://www.libraw.org/"
|
|
requires="gcc-libs libjpeg-turbo jasper lcms2"
|
|
desc="library for decoding raw digital photos"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version-build
|
|
|
|
mkdir -p $app-$version-build && cd $app-$version-build
|
|
tar xf $srcdir/LibRaw-$version.tar.?z*
|
|
tar xf $srcdir/LibRaw-demosaic-pack-GPL2-$DEMOSAICV.tar.?z*
|
|
tar xf $srcdir/LibRaw-demosaic-pack-GPL3-$DEMOSAICV.tar.?z*
|
|
|
|
cd LibRaw-$version
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-demosaic-pack-gpl2=../LibRaw-demosaic-pack-GPL2-$DEMOSAICV \
|
|
--enable-demosaic-pack-gpl3=../LibRaw-demosaic-pack-GPL3-$DEMOSAICV \
|
|
--enable-jasper \
|
|
--enable-lcms \
|
|
--disable-examples
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp LICENSE* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
dadf8701382f1d9c0e93b2c755c2a4639945aac601e4a469b23960bbd930ad6ada72111607acce74ca822bdeb336a558711535d226978eae8c02a32a067b89a7 LibRaw-0.18.12.tar.lz
|
|
ca8045ab0b351c1d0f20e94381ecf3e89676aafdb09d63990ad77acd5a57807b67ada81f941cc2d2d0b55982fdc0413cbfdb4d7c4e4105aa8b1379fecbb76277 LibRaw-demosaic-pack-GPL2-0.18.8.tar.lz
|
|
5fda62cb3693cfa9a9f13d922cdfcecc11fbc425a8dcfda380b412ae60d0ef7beb3e7f1109c1cbaaedc2cf6454c4d71b6a2c0fd84d1c98b158fe9d8d1792b3db LibRaw-demosaic-pack-GPL3-0.18.8.tar.lz
|
|
"
|