#!/bin/bash #DIT IS EEN ZEER OUDE LCDPROC #ik heb hier ooit een driver voor geschreven, voor mn eigen display. geen zin om te porten vandaar deze _edwin versie. #Strict build-dependencies. #Only use when really neccesary, this will rebuild our package if the dependencie has changed: ##DEP:linux ##DEP:linux_src #Loose build-dependencies. #Use this to specify the packages that are required to build our package: ##NEED:libcairo ##NEED:glib ##NEED:gtk+ ##NEED:glib2 ##NEED:gtk+2 ##NEED:xorg_lib ##NEED:xorg_proto ##NEED:ncurses #######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=`ls *.tar.*` #Version of the sourcefiles VER=0.4pre9 #Directory of the sourcefiles to build (after optional unpacking) SRC_DIR=src #Architecture that the created binaries run on. #Use noarch for scripts. ARCH=`arch` ########Build and create the pacakge. #Uncomment the stuff that you dont want or need #Unpack source #(uncomment if not needed) #syn3_unpack $SRC_ARC || exit 1 #apply patches #patch -p1 -d $SRC_DIR < fluxkiosk.patch || exit 1 #build and install sourcefiles #(use one of the other syn3_build_* scripts when needed) export CONFIGURE_OPTS="" export MAKE_OPTS="" #export NOTEST=1 #syn3_build_automake $SRC_DIR /tmp/pkg || exit 1 cd $SRC_DIR #make geeft errors maar boeit nie make -j1 mkdir -p /tmp/pkg/bin cp server/LCDd /tmp/pkg/bin/LCDd || exit 1 chmod +x /tmp/pkg/bin/LCDd || exit 1 #make -j1 install || exit 1 cd .. #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