aboutsummaryrefslogtreecommitdiff
path: root/trunk/simplepkg.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/simplepkg.SlackBuild')
-rwxr-xr-xtrunk/simplepkg.SlackBuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/trunk/simplepkg.SlackBuild b/trunk/simplepkg.SlackBuild
deleted file mode 100755
index a854be0..0000000
--- a/trunk/simplepkg.SlackBuild
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/bash
-#
-# SlackBuild script for simplepkg
-#
-# This SlackBuild is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 2 of the License, or any later version.
-#
-# This SlackBuild is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place - Suite 330, Boston, MA 02111-1307, USA
-#
-
-PACKAGE="simplepkg"
-PACK_DIR="package-$PACKAGE"
-BUILD=${BUILD:=1rha}
-VERSION="0.6pre27"
-ARCH="noarch"
-LIBEXEC="/usr/libexec/$PACKAGE"
-BINDIR="/usr/bin"
-BINARY_LIST="simplaret repos lspkg mkbuild mkpatch"
-SBINDIR="/usr/sbin"
-SBINARY_LIST="mkjail templatepkg jail-update jail-commit metapkg rebuildpkg createpkg exec-slackbuild simpletrack"
-LIB_LIST="common.sh"
-DOC_DIR="/usr/doc"
-DOC_LIST="COPYING TODO CHANGELOG README README.pt_BR README.simplaret README.simplaret.pt_BR"
-
-find . -name *~ | xargs rm # clean local backups
-
-rm -rf $PACK_DIR
-mkdir -p $PACK_DIR/install
-cp install/slack-desc $PACK_DIR/install
-cp install/doinst.sh $PACK_DIR/install
-
-mkdir -p $PACK_DIR/$SBINDIR
-for binary in $SBINARY_LIST; do
- if [ -f "src/$binary" ]; then
- cp src/$binary $PACK_DIR/$SBINDIR
- chmod +x $PACK_DIR/$SBINDIR/$binary
- fi
-done
-
-mkdir -p $PACK_DIR/$BINDIR
-for binary in $BINARY_LIST; do
- cp src/$binary $PACK_DIR/$BINDIR/
- chmod +x $PACK_DIR/$BINDIR/$binary
-done
-
-mkdir -p $PACK_DIR/$LIBEXEC
-for lib in $LIB_LIST; do
- cp lib/$lib $PACK_DIR/$LIBEXEC/
-done
-
-rm -rf $PACK_DIR/$DOC_DIR
-mkdir -p $PACK_DIR/$DOC_DIR/$PACKAGE-$VERSION
-for file in $DOC_LIST; do
- cp doc/$file $PACK_DIR/$DOC_DIR/$PACKAGE-$VERSION/
-done
-
-mkdir -p $PACK_DIR/etc/$PACKAGE/{defaults/mkbuild,templates}
-rsync -av --exclude=.svn templates/* $PACK_DIR/etc/$PACKAGE/defaults/templates/
-chmod +x $PACK_DIR/etc/$PACKAGE/defaults/templates/vserver/vserver.s/*.sh
-chmod +x $PACK_DIR/etc/$PACKAGE/defaults/templates/vserver-legacy/vserver-legacy.s/*.sh
-cp conf/simplepkg.conf.new $PACK_DIR/etc/$PACKAGE/
-cp conf/repos.conf.new $PACK_DIR/etc/$PACKAGE/
-cp mkbuild/* $PACK_DIR/etc/$PACKAGE/defaults/mkbuild/
-
-if [ -f "$PACK_DIR/usr/sbin/jail-upgrade" ]; then
- cd $PACK_DIR/usr/sbin && ln -s jail-upgrade vserver-upgrade
- cd -
-fi
-
-cd $PACK_DIR
-chown -R root.root *
-
-makepkg -c y -l y /tmp/simplepkg-$VERSION-$ARCH-$BUILD.tgz
-cd ..
-
-if [ "$CLEANUP" != "no" ]; then
- rm -rf $PACK_DIR
-fi