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

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

View File

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

View File

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