andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone
458e05
#!/bin/bash
458e05
458e05
DATE=`date +%Y%m%d`
458e05
# use a real tag name here
458e05
VERSION=1.3.1.6
458e05
PKGNAME=389-ds-base
458e05
TAG=${TAG:-$PKGNAME-$VERSION}
458e05
URL="http://git.fedorahosted.org/git/?p=389/ds.git;a=snapshot;h=$TAG;sf=tgz"
458e05
SRCNAME=$PKGNAME-$VERSION
458e05
458e05
wget -O $SRCNAME.tar.gz "$URL"
458e05
458e05
echo convert tgz format to tar.bz2 format
458e05
458e05
gunzip $PKGNAME-$VERSION.tar.gz
458e05
bzip2 $PKGNAME-$VERSION.tar