development/p4: Added (cli client for Perforce)

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Andy Bailey 2010-06-13 14:51:07 -05:00 committed by Robby Workman
parent 4b33e18593
commit feb4d19f4b
5 changed files with 2331 additions and 0 deletions

6
development/p4/README Normal file
View File

@ -0,0 +1,6 @@
This is the command line client for the Perforce change control system.
For a graphical Perforce client, see the "p4v" Slackbuild.
For an excellent introduction to Perforce, check out:
http://www.perforce.com/perforce/doc.092/manuals/intro/index.html

View File

@ -0,0 +1,42 @@
#!/bin/sh
# Slackware build script for p4
# Manpage from: http://www.perforce.com/perforce/doc.052/man/p4.1
# Written by Andy Bailey <bailey@akamai.com
PRGNAM=p4
VERSION=${VERSION:-r0.92}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
cp $CWD/p4 $PKG/usr/bin
gzip -9 -c < $CWD/p4.man > $PKG/usr/man/man1/p4.1.gz
chown root:root $PKG/usr/bin/p4 $PKG/usr/man/man1/p4.1.gz
chmod 0755 $PKG/usr/bin/p4
chmod 0644 $PKG/usr/man/man1/p4.1.gz
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

10
development/p4/p4.info Normal file
View File

@ -0,0 +1,10 @@
PRGNAM="p4"
VERSION="r09.2"
HOMEPAGE="http://www.perforce.com/"
DOWNLOAD="http://www.perforce.com/downloads/perforce/r09.2/bin.linux26x86/p4"
MD5SUM="5e687ee9f0dc520af5a129c46e26d156"
DOWNLOAD_x86_64="http://www.perforce.com/downloads/perforce/r09.2/bin.linux26x86/p4"
MD5SUM_x86_64="f6a13e7b59b3e1814a19e9c2bf4bde36"
MAINTAINER="Andy Bailey"
EMAIL="GooseYArd@gmail.com"
APPROVED="rworkman"

2254
development/p4/p4.man Normal file

File diff suppressed because it is too large Load Diff

19
development/p4/slack-desc Normal file
View File

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler---------------------------------------------------|
p4: p4 (Perforce source management system client)
p4:
p4: p4 is the client interface for the Perforce source management
p4: system. p4 connects to the server daemon, p4d, which manages
p4: access to the central respository, or depot.
p4:
p4: Homepage: http://www.perforce.com/
p4:
p4:
p4:
p4: