forked from ps2dev/ps2toolchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathps2dev-gcc.spec
52 lines (41 loc) · 1.17 KB
/
ps2dev-gcc.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: ps2dev-gcc
Version: 0.1
Release: alt1
Summary: ps2dev project's patched cross-gcc
License: GPL
Group: Development/Other
Url: https://github.com/ps2dev/ps2toolchain
Packager: Ildar Mulyukov <[email protected]>
Source: https://github.com/ps2dev/ps2toolchain.tar
Source1: https://github.com/downloads/ps2dev/ps2toolchain/gcc-3.2.2.tar.bz2
# Automatically added by buildreq on Mon Dec 03 2012 (-bi)
# optimized out: elfutils python-base
BuildRequires: git-core ps2dev-binutils ps2dev-newlib wget
BuildRequires: ps2dev-binutils >= %version
Requires: ps2dev-binutils >= %version , ps2dev-newlib >= %version
Conflicts: %name-stage1
%description
%name is the part of ps2dev toolchain.
This package provides the GNU C compiler.
%prep
%setup -n ps2toolchain
mkdir downloads
cp -al %SOURCE1 downloads/
%install
export _DESTDIR=%buildroot
./toolchain.sh 4
# remove unnessesary files
rm -rf %buildroot$PS2DEV/{\
*/info/,\
*/man/,\
*/share/locale/,\
ps2sdk/,\
test.tmp\
}
%files
%prefix/ps2dev/ee/*/*
%exclude %prefix/ps2dev/ee/bin/ee-c++filt
%exclude %prefix/ps2dev/ee/lib/libiberty.a
%changelog
* Mon Dec 03 2012 Ildar Mulyukov <[email protected]> 0.1-alt1
- initial build for ALT Linux family