LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-20-2009, 06:03 PM   #1
ROXR
Member
 
Registered: Jan 2009
Location: Spain
Posts: 111
Blog Entries: 1

Rep: Reputation: 20
For the Krusader fans on slackware64 slackbuild


There are script for make package compatible with Slackware64

the slackbuild source: http://slackbuilds.org/slackbuilds/1...rusader.tar.gz

the source krusader 2.0.0: http://prdownloads.sourceforge.net/k...ar.gz?download

the krusader page:http://www.krusader.org/downloads.php

simply change original code for this.

Code:
#!/bin/sh

# Slackware64 build script for krusader

# Copyright 2006-2008  Robby Workman, Northport, Alabama, USA
# All rights reserved.
#


PRGNAM=krusader
VERSION=2.0.0
ARCH=${ARCH:-x86_64}
BUILD=${BUILD:-1}
TAG=${TAG:-_SB64}

CWD=$(pwd)
TMP=${TMP:-/tmp/SB64}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
 elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
 elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
fi

# Avoid a version number in .la files:
if [ -d /usr/lib/qt ]; then
  QTDIR=/usr/lib/qt
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .

CFLAGS=$SLKCFLAGS \
CXXFLAGS=$SLKCFLAGS \
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DQT_INCLUDES=/usr/share/qt4/include
#  --prefix=/usr \
#  --sysconfdir=/etc/kde \
#  --program-prefix="" \
#  --program-suffix="" \
#  --build=$ARCH-slackware-linux
#  --DQT_INCLUDES=/usr/share/qt4/include
make
make install DESTDIR=$PKG

#mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
#cp -a AUTHORS COPYING CVSNEWS ChangeLog FAQ INSTALL README TODO krusader.lsm \
#  doc/actions_tutorial.txt  $PKG/usr/doc/$PRGNAM-$VERSION
#cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

#find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
#  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

#mv $PKG/usr/share/man $PKG/usr
#gzip -9 $PKG/usr/man/man?/*

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 10:10 PM
Can Krusader be better ? frenchn00b Linux - Software 1 09-03-2007 04:22 PM
Anyone use Krusader? DoctorWynn Linux - Software 5 05-27-2006 08:53 PM
Krusader wonderpun Linux - Software 5 04-13-2005 07:35 AM
Krusader frumenti Linux - Software 6 09-08-2002 04:16 AM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration