Fix dependencies, rebuild with libisl and build documentation
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
name: gcc
|
||||
description: The GNU C Compiler
|
||||
version: 15.2.0
|
||||
revision: 6
|
||||
revision: 7
|
||||
url: https://gcc.gnu.org/
|
||||
license: GPL3-or-later,LGPL3-or-later,GPL3 with GCC-exception
|
||||
architecture: any
|
||||
type: source
|
||||
make_depends:
|
||||
- python3
|
||||
- binutils
|
||||
- gcc-libs
|
||||
- doxygen
|
||||
- libisl
|
||||
- mpc
|
||||
- zstd
|
||||
check_depends:
|
||||
- dejagnu
|
||||
- expect
|
||||
- inetutils
|
||||
@@ -23,6 +29,7 @@ split_packages:
|
||||
depends:
|
||||
- binutils
|
||||
- gcc-libs
|
||||
- libisl
|
||||
- mpc
|
||||
- zstd
|
||||
- name: gcc-fortran
|
||||
|
||||
@@ -30,6 +30,9 @@ build() {
|
||||
--with-system-zlib \
|
||||
--enable-languages=c,c++,fortran,objc,obj-c++,m2
|
||||
make
|
||||
|
||||
# Make documentation
|
||||
make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
|
||||
}
|
||||
|
||||
# The check function is executed in the source directory
|
||||
@@ -100,6 +103,11 @@ package_gcc() {
|
||||
}
|
||||
|
||||
package_gcc-libs() {
|
||||
cd build
|
||||
|
||||
# Install libstdc++ man pages
|
||||
make -C $CHOST/libstdc++-v3/doc DESTDIR="$BPM_OUTPUT" doc-install-man
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/{COPYING3,COPYING.RUNTIME} -t "$BPM_OUTPUT"/usr/share/licenses/gcc-libs/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user