Skip to content

Commit b02379f

Browse files
committed
Updating
1 parent 705940e commit b02379f

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

recipes/meta/eclipse/eclipse.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,25 @@ app: eclipse-cpp
22

33
ingredients:
44
script:
5-
- URL="http://mirror.internode.on.net/pub/eclipse/technology/epp/downloads/release/neon/R/eclipse-cpp-neon-R-linux-gtk-x86_64.tar.gz"
6-
- wget -c "$URL" --trust-server-names
7-
- VERSION="4.6.0"
5+
- VERSION="$(wget -q https://www.eclipse.org/downloads/ -O - | grep "64" | head -n 1 | cut -d '"' -f 4 | cut -d '/' -f 8)"
86
- echo $VERSION > VERSION
7+
- URL="http://mirror.internode.on.net/pub/eclipse/technology/epp/downloads/release/$VERSION/R/eclipse-cpp-$VERSION-R-linux-gtk-x86_64.tar.gz"
8+
- wget -c "$URL" --trust-server-names
99
- tar zxvf eclipse*.gz
10+
- wget -c --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jre-8u66-linux-x64.tar.gz
1011

1112
script:
1213
- cp -r ../eclipse/* usr/bin/
14+
- mkdir -p usr/lib/jvm/
15+
- tar xf ../jre*.gz -C usr/lib/jvm/
16+
- mkdir -p bin
17+
- ( cd ./bin; ln -sf ../usr/lib/jvm/jre*/bin/java . )
1318
- cp ../../eclipse.png .
1419
- cat > eclipse-cpp.desktop <<EOF
1520
- [Desktop Entry]
1621
- Version=1.0
1722
- Type=Application
18-
- Name=Eclipse C/C++ IDE
23+
- Name=Eclipse C++ IDE
1924
- Icon=eclipse
2025
- Exec=eclipse
2126
- Categories=Development;IDE;C;C++

0 commit comments

Comments
 (0)