#!/bin/bash #######Essential package info. #Change these if autodetection fails. #Name of the Syn-3 package that we are going to create NAME=`basename $0|sed 's/.SlackBuild//'` #Version of the sourcefiles VER=1.8.0_162 ARCH=i386 mkdir -p /tmp/pkg/usr/lib tar -xvzf jdk-8u162-linux-i586.tar.gz mv jdk1.8.0_162 /tmp/pkg/usr/lib/java || exit 1 #move development stuff and create seperate development package syn3_move_dev /tmp/pkg /tmp/pkgdev || exit 1 syn3_makepkg /tmp/pkgdev $NAME""_dev $VER $ARCH || exit 1 #make main package syn3_makepkg /tmp/pkg $NAME $VER $ARCH || exit 1