Динамическая связка библиотек

This commit is contained in:
Alexander Zhirov 2023-05-11 09:53:16 +03:00
parent 990b2da842
commit 647fafd181
4 changed files with 10 additions and 12 deletions

View File

@ -16,7 +16,9 @@ builddeps :
- pkgconfig(webkit2gtk-4.0)
- lsb-release
- libim-devel
- libim-lua
- libcd-devel
- libcd-lua
patterns :
- lua :
- /usr/bin/iuplua*
@ -25,7 +27,6 @@ patterns :
- /usr/bin/{iupvled,iupview,ledc}
- devel :
- /usr/include
- /usr/lib64/*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=53
@ -46,8 +47,8 @@ build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
install -Dm00755 lib/Linux62_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/Lua53/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/*.so $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/Lua53/*.so $installdir/usr/lib64/
install -m00755 lib/Linux62_64/*.so $installdir/usr/lib64/
install -dm00755 $installdir/usr/bin
install -m00755 bin/Linux62_64/{iupview,iupvled,ledc} $installdir/usr/bin

View File

@ -16,6 +16,7 @@ builddeps :
- pkgconfig(gtk+-3.0)
- pkgconfig(lua)
- libim-devel
- libim-lua
- libpdflib-devel
- lsb-release
patterns :
@ -24,7 +25,6 @@ patterns :
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/libcd*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=53
@ -41,7 +41,7 @@ build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
install -Dm00755 lib/Linux62_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/Lua53/{*.so,*.a} $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

View File

@ -20,7 +20,6 @@ patterns :
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=53
@ -33,6 +32,6 @@ build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
install -Dm00755 lib/Linux62_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/*.so $installdir/usr/lib64/
install -dm00755 $installdir/usr/include/FTGL
install -Dm00755 include/FTGL/* $installdir/usr/include/FTGL

View File

@ -14,7 +14,6 @@ builddeps :
- pkgconfig(fftw3)
- pkgconfig(lua)
- pkgconfig(libpng)
- pkgconfig(ftgl)
- lsb-release
patterns :
- lua :
@ -22,7 +21,6 @@ patterns :
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/libim*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA_VERSION=53
@ -35,7 +33,7 @@ build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
install -Dm00755 lib/Linux62_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux62_64/Lua53/{*.so,*.a} $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