19 |
# change here what you need to fit your environment |
# change here what you need to fit your environment |
20 |
# |
# |
21 |
|
|
22 |
CVSROOT=":ext:mose@subversions.nongnu.org:/cvsroot/ludap" |
CVSROOT=":ext:mose@subversions.gnu.org:/cvsroot/ludap" |
23 |
SCPROOT="mose@subversions.gnu.org:/upload/ludap/" |
SCPROOT="mose@subversions.gnu.org:/upload/ludap" |
24 |
WORKDIR="/home/mose/packaging" |
WORKDIR="/home/mose/packaging" |
25 |
PKGDIR="ludap.pkg" |
PKGDIR="ludap.pkg" |
26 |
MODULE="ludap" |
MODULE="ludap" |
42 |
|
|
43 |
cd $WORKDIR |
cd $WORKDIR |
44 |
|
|
45 |
if [ -d $PKGDIR ]; then |
if [ ! -d $PKGDIR ]; then |
46 |
mkdir $PKGDIR |
mkdir $PKGDIR |
47 |
fi |
fi |
48 |
cd $PKGDIR |
cd $PKGDIR |
58 |
find $MODULE-$VER -name .cvsignore -type f -exec rm -f {} \; |
find $MODULE-$VER -name .cvsignore -type f -exec rm -f {} \; |
59 |
find $MODULE-$VER -type d -exec chmod 775 {} \; |
find $MODULE-$VER -type d -exec chmod 775 {} \; |
60 |
find $MODULE-$VER -type f -exec chmod 664 {} \; |
find $MODULE-$VER -type f -exec chmod 664 {} \; |
61 |
chmod 775 $MODULE-$VER/configure.sh |
chmod 775 $MODULE-$VER/configure |
62 |
|
|
63 |
tar -czf $MODULE-$VER.tar.gz $MODULE-$VER |
tar -czf $MODULE-$VER.tar.gz $MODULE-$VER |
64 |
tar -cjf $MODULE-$VER.tar.bz2 $MODULE-$VER |
tar -cjf $MODULE-$VER.tar.bz2 $MODULE-$VER |
65 |
|
zip -r $MODULE-$VER.zip $MODULE-$VER |
66 |
|
rm -rf $MODULE-$VER |
67 |
|
|
68 |
echo "" |
echo "" |
69 |
echo "copy-paste and execute the following line at will :" |
echo "copy-paste and execute the following line at will :" |