andykimpe / rpms / 389-ds-base

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