summaryrefslogtreecommitdiffstats
path: root/libstdc++-compat/Pkgfile
blob: 5bfc7784621cbeb6f060ca049365c58b3184c6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description="Compatibility libraries"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="ftp://sunsite.cnlab-switch.ch/mirror/fedora/linux/core/3/x86_64/os/Fedora/RPMS"
depends=()

name=libstdc++-compat
version=3.1
release=2
source=(http://crux.nu/files/distfiles/libstdc++-compat-3.1.tar.xz)
build () 
{ 
    cd $name-$version;
    install -d $PKG/usr/lib;
    install -m 755 libstdc++-2-libc6.1-1-2.9.0.so $PKG/usr/lib;
    install -m 755 libstdc++-3-libc6.2-2-2.10.0.so $PKG/usr/lib;
    install -m 755 libstdc++.so.5.0.6 $PKG/usr/lib;
    ln -s libstdc++-2-libc6.1-1-2.9.0.so $PKG/usr/lib/libstdc++-libc6.1-1.so.2;
    ln -s libstdc++-3-libc6.2-2-2.10.0.so $PKG/usr/lib/libstdc++-libc6.2-2.so.3;
    ln -s libstdc++.so.5.0.6 $PKG/usr/lib/libstdc++.so.5
}