#!/bin/bash # http://registrationcenter-download.intel.com/akdlm/irc_nas/1326/l_ipp_ia32_p_6.0.1.071.tar.gz # rpm2targz gebruiken op de grote intel-ipp60071ia32-6.0p-071.noarch.rpm die in deze targz zit. # je krijgt dan intel-ipp60071ia32-6.0p-071.noarch.tar.gz #######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//'` #Archive of the sourcefiles to unpack SRC_ARC=intel-ipp60071ia32-6.0p-071.noarch.tar.gz #Version of the sourcefiles VER=6.0p #Architecture that the created binaries run on. #Use noarch for scripts. ARCH=noarch #from this point on, exit on errors: set -e ########Build and create the pacakge. #Uncomment the stuff that you dont want or need #Unpack source #(uncomment if not needed) syn3_unpack $SRC_ARC mkdir -p /tmp/pkg mv opt /tmp/pkg #strip bins and other stuff syn3_strip /tmp/pkg || 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