found the repo :P
This commit is contained in:
parent
af6029d576
commit
67de620b56
1 changed files with 18 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
PRGNAM=love
|
PRGNAM=love
|
||||||
VERSION=0.6.0
|
VERSION=$(date +%F.%m.%d_%H.%M) #0.7.0
|
||||||
RELEASE_ID=20091214-301312c82b00
|
RELEASE_ID=20091214-301312c82b00
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@ PKG=$TMP/$PACKAGER/pkg-$PRGNAM
|
||||||
|
|
||||||
PREFIX=/usr
|
PREFIX=/usr
|
||||||
|
|
||||||
|
REPOSITORIES=/home/cycojesus/projets/packages/repositories/
|
||||||
|
|
||||||
# Cleaning
|
# Cleaning
|
||||||
( cd $TMP
|
( cd $TMP
|
||||||
rm -fr $PRGNAM-$VERSION
|
rm -fr $PRGNAM-$VERSION
|
||||||
|
@ -25,12 +27,20 @@ PREFIX=/usr
|
||||||
|
|
||||||
# Fetching sources
|
# Fetching sources
|
||||||
( cd $TMP
|
( cd $TMP
|
||||||
[ -e $CWD/$PRGNAM-$VERSION-linux-src.tar.?z* ] \
|
if [ -e $CWD/$PRGNAM-$VERSION-linux-src.tar.?z* ]; then
|
||||||
&& tar xvf $CWD/$PRGNAM-$VERSION-linux-src.tar.?z*
|
tar xvf $CWD/$PRGNAM-$VERSION-linux-src.tar.?z*
|
||||||
# [ ! -e $PRGNAM-$VERSION ] \
|
find . -type d -name "$PRGNAM-*-*" -exec mv {} $PRGNAM-$VERSION \;
|
||||||
# && wget -c http://$PRGNAM.googlecode.com/files/$PRGNAM-$VERSION.tar.bz2 \
|
else
|
||||||
# && tar xvf $PRGNAM-$VERSION.tar.?z*
|
[ ! -e $REPOSITORIES ] && mkdir -p $REPOSITORIES
|
||||||
find . -type d -name "$PRGNAM-*-*" -exec mv {} $PRGNAM-$VERSION \;
|
if [ -e $REPOSITORIES/$PRGNAM ]; then
|
||||||
|
( cd $REPOSITORIES/$PRGNAM
|
||||||
|
hg pull -u
|
||||||
|
)
|
||||||
|
else
|
||||||
|
hg clone http://bitbucket.org/rude/love $REPOSITORIES/$PRGNAM
|
||||||
|
fi
|
||||||
|
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM-$VERSION
|
||||||
|
fi
|
||||||
)
|
)
|
||||||
|
|
||||||
# Preparation
|
# Preparation
|
||||||
|
@ -45,6 +55,7 @@ PREFIX=/usr
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
( cd $TMP/$PRGNAM-$VERSION
|
( cd $TMP/$PRGNAM-$VERSION
|
||||||
|
[ ! -e ./configure ] && ./platform/unix/automagic
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=$PREFIX \
|
--prefix=$PREFIX \
|
||||||
--mandir=$PREFIX/man \
|
--mandir=$PREFIX/man \
|
||||||
|
|
Loading…
Reference in a new issue