47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
|
name: libglu-meta
|
||
|
modules:
|
||
|
- name: libglu-platform
|
||
|
sources:
|
||
|
- type: archive
|
||
|
url: https://mesa.freedesktop.org/archive/glu/glu-9.0.1.tar.xz
|
||
|
sha256: fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc
|
||
|
builddir: true
|
||
|
build-options:
|
||
|
make-install-args:
|
||
|
- DESTDIR=/usr/tmp_glu
|
||
|
- install
|
||
|
post-install:
|
||
|
- rm -rfv /usr/tmp_glu/usr/share
|
||
|
- cp -rav /usr/tmp_glu/usr /
|
||
|
- rm -rfv /usr/tmp_glu
|
||
|
cleanup-platform:
|
||
|
- "*.la"
|
||
|
- "*.a"
|
||
|
- "/include"
|
||
|
- name: libglu-32bit
|
||
|
sources:
|
||
|
- type: archive
|
||
|
url: https://mesa.freedesktop.org/archive/glu/glu-9.0.1.tar.xz
|
||
|
sha256: fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc
|
||
|
builddir: true
|
||
|
config-opts:
|
||
|
- --build=i686-unknown-linux
|
||
|
- --libdir=/usr/lib32
|
||
|
- CFLAGS=-m32
|
||
|
- CXXFLAGS=-m32
|
||
|
- LDFLAGS=-m32
|
||
|
build-options:
|
||
|
make-install-args:
|
||
|
- DESTDIR=/usr/tmp_glu
|
||
|
- install
|
||
|
post-install:
|
||
|
- rm -rfv /usr/tmp_glu/usr/share
|
||
|
- cp -rav /usr/tmp_glu/usr /
|
||
|
- rm -rfv /usr/tmp_glu
|
||
|
cleanup-platform:
|
||
|
- "*.la"
|
||
|
- "*.a"
|
||
|
- "/include"
|
||
|
only-arches:
|
||
|
- x86_64
|