#!/bin/sh # Copyright (c) 2005 Frederick Emmott CWD=`pwd` ARCH=${ARCH:-x86_64} VERSION=${VERSION:-1.0} BUILD=${BUILD:-3} rm -rf /tmp/package-linux32 mkdir -p /tmp/package-linux32/bin cd /tmp/package-linux32/bin gcc $CWD/linux32.c -o linux32 strip linux32 cd .. mkdir install cat $CWD/slack-desc > install/slack-desc makepkg -l y -c n ../linux32-$VERSION-$ARCH-$BUILD.tgz