aborted git pulling build, back to versionned
This commit is contained in:
parent
126612dea0
commit
e7cb507baf
1 changed files with 15 additions and 2 deletions
|
@ -6,11 +6,12 @@
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=$(basename $CWD)
|
PRGNAM=$(basename $CWD)
|
||||||
VERSION=${VERSION:=2.6.3}
|
VERSION=${VERSION:=2.6.3} #$(date +%Y.%m.%d_%H.%M)}
|
||||||
ARCH=${ARCH:-$(uname -m)}
|
ARCH=${ARCH:-$(uname -m)}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-cyco}
|
TAG=${TAG:-cyco}
|
||||||
|
|
||||||
|
# REPOSITORY=/home/cycojesus/projets/packages/repositories/$PRGNAM
|
||||||
TMP=${TMP:-/tmp/$TAG}
|
TMP=${TMP:-/tmp/$TAG}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
@ -31,9 +32,18 @@ mkdir -p $TMP $PKG/usr
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
|
||||||
[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c -O $CWD/$PRGNAM-$VERSION.tar.gz http://cloud.github.com/downloads/jwiegley/$PRGNAM/$PRGNAM-$VERSION.tar.gz
|
# if [ ! -e $REPOSITORY ]; then
|
||||||
|
# git clone https://github.com/jwiegley/ledger.git $REPOSITORY
|
||||||
|
# else
|
||||||
|
# ( cd $REPOSITORY
|
||||||
|
# git pull
|
||||||
|
# )
|
||||||
|
# fi
|
||||||
|
# cp -R $REPOSITORY $PRGNAM-$VERSION
|
||||||
|
|
||||||
|
[ ! -e $CWD/$PRGNAM-$VERSION.tar.gz ] && wget -c -O $CWD/$PRGNAM-$VERSION.tar.gz http://cloud.github.com/downloads/jwiegley/$PRGNAM/$PRGNAM-$VERSION.tar.gz
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
|
||||||
|
|
||||||
cd $PRGNAM-$VERSION || exit 1
|
cd $PRGNAM-$VERSION || exit 1
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
|
@ -42,6 +52,9 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
|
# we're old fashioned like this
|
||||||
|
# ./acprep autoconf
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
Loading…
Reference in a new issue