andykimpe / rpms / 389-ds-base

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