iup-stack-solus/libcd/package.yml

45 lines
1.3 KiB
YAML

name : libcd
version : 5
release : 1
source :
- https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/cd-5.14_Sources.zip : 416190b4fac1ad1949e6e3ec4976ce6cdd68a4e1622a1dc891afb38593c0c982
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
- pkgconfig(fontconfig)
- pkgconfig(gtk+-3.0)
- ftgl-devel
- pkgconfig(lua)
- libglu-devel
- libim-devel
- libpdflib-devel
patterns :
- lua :
- /usr/lib64/libcdlua*.so
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/libcd*.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
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 -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include