iup-stack-solus/libim/package.yml

41 lines
1.6 KiB
YAML
Raw Normal View History

2022-12-29 18:07:43 +00:00
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 :
2023-02-04 10:45:22 +00:00
- pkgconfig(fftw3)
2022-12-29 18:07:43 +00:00
- pkgconfig(lua)
- pkgconfig(libpng)
2023-02-04 10:45:22 +00:00
- lsb-release
2022-12-29 18:07:43 +00:00
patterns :
- lua :
- /usr/lib64/libimlua*.so
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/libim*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA53=Yes
export LUA_INC=/usr/include
export LUA_LIB=/usr/lib
export LUA_BIN=/usr/bin/lua
setup : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch
build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
2023-02-04 10:45:22 +00:00
install -Dm00755 lib/Linux61_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux61_64/Lua/{*.so,*.a} $installdir/usr/lib64/
2022-12-29 18:07:43 +00:00
install -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include