40 lines
1.5 KiB
YAML
40 lines
1.5 KiB
YAML
name : libim
|
|
version : 3.15
|
|
release : 1
|
|
source :
|
|
- https://sourceforge.net/projects/imtoolkit/files/3.15/Docs%20and%20Sources/im-3.15_Sources.zip : 3d46af9ed19b41fc0cbeb52c2b5983bb04b6da60a0990819ffe3fcc39f6ffe96
|
|
homepage : https://imtoolkit.sourceforge.net/
|
|
license : MIT
|
|
component : multimedia.library
|
|
summary : IM is a toolkit for Digital Imaging
|
|
description: |
|
|
IM is based on 4 concepts: Image Representation, Storage, Processing and Capture. The main goal of the library is to provide a simple API and abstraction of images for scientific applications.
|
|
The most popular file formats are supported: TIFF, BMP, PNG, JPEG, GIF and AVI. Image representation includes scientific data types, and about a hundred Image Processing operations are available.
|
|
builddeps :
|
|
- pkgconfig(fftw3)
|
|
- pkgconfig(lua)
|
|
- pkgconfig(libpng)
|
|
- lsb-release
|
|
patterns :
|
|
- lua :
|
|
- /usr/lib64/libimlua*.so
|
|
- /usr/lib64/*.so
|
|
- devel :
|
|
- /usr/include
|
|
environment:
|
|
export USE_PKGCONFIG=Yes
|
|
export USE_LUA_VERSION=53
|
|
export LIBLUA_SFX=
|
|
export LUA_SFX=
|
|
export LUA_INC=/usr/include
|
|
export LUA_LIB=/usr/lib
|
|
export LUA_BIN=/usr/bin/lua
|
|
build : |
|
|
%make -j1
|
|
install : |
|
|
install -dm00755 $installdir/usr/lib64
|
|
install -Dm00755 lib/Linux62_64/*.so $installdir/usr/lib64/
|
|
install -Dm00755 lib/Linux62_64/Lua53/*.so $installdir/usr/lib64/
|
|
install -dm00755 $installdir/usr/include
|
|
install -m00755 include/* $installdir/usr/include
|