iup-stack-solus/iup/package.yml

55 lines
1.7 KiB
YAML

name : iup
version : 3.30
release : 1
source :
- https://sourceforge.net/projects/iup/files/3.30/Docs%20and%20Sources/iup-3.30_Sources.zip : 656c6dd8edcfb4077f3cc43242e687212b9a70ddf10d509856316c3f87be1313
license : GPL-2.0-or-later # CHECK ME
component : PLEASE FILL ME IN
summary : PLEASE FILL ME IN
description: |
PLEASE FILL ME IN
builddeps :
- lsb-release
- libim-devel
- libcd-devel
- pkgconfig(lua)
- pkgconfig(gtk+-3.0)
- libglu-devel
- ftgl-devel
- libwebkit-gtk-devel
patterns :
- lua :
- /usr/bin/iuplua*
- /usr/lib64/libiuplua*.so
- /usr/lib64/*.so
- /usr/bin/{iupvled,iupview,ledc}
- devel :
- /usr/include
- /usr/lib64/*.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
export IM_LIB=/usr/lib
export IM_INC=/usr/include
export CD_LIB=/usr/lib
export CD_INC=/usr/include
export FTGL_LIB=/usr/lib
export FTGL_INC=/usr/include
setup : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch
build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
install -Dm00755 lib/Linux60_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux60_64/Lua/{*.so,*.a} $installdir/usr/lib64/
install -m00755 lib/Linux60_64/*.so $installdir/usr/lib64/
install -dm00755 $installdir/usr/bin
install -m00755 bin/Linux60_64/{iupview,iupvled,ledc} $installdir/usr/bin
install -m00755 bin/Linux60_64/Lua/* $installdir/usr/bin
install -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include