first initial
This commit is contained in:
9
Mojo-mysql/_do_it.sh
Executable file
9
Mojo-mysql/_do_it.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
# $Header: svn://svnsrv.mlands.com/systools/cpan2deb/trunk/Mojo-mysql/_do_it.sh 2139 2022-12-22 20:18:18Z js000387 $
|
||||
|
||||
export DEBFULLNAME="Jan Henning Thorsen"
|
||||
export DEBEMAIL="jhthorsen@cpan.org"
|
||||
#export DEB_BUILD_OPTIONS="nocheck"
|
||||
|
||||
cpan2deb Mojo::mysql
|
||||
#--depends "libmojolicious-perl, libdbd-mysql-perl, libsql-abstract-perl" --version "1.07-2"
|
||||
BIN
Mojo-mysql/libmojo-mysql-perl_1.27-1_all.deb
Normal file
BIN
Mojo-mysql/libmojo-mysql-perl_1.27-1_all.deb
Normal file
Binary file not shown.
26
Mojo-mysql/pbuild.sh
Normal file
26
Mojo-mysql/pbuild.sh
Normal file
@@ -0,0 +1,26 @@
|
||||
#! /bin/sh
|
||||
|
||||
script=`echo $0 | sed 's/^.*\///'`
|
||||
echo "$script"
|
||||
if [ -e ./$script ]; then
|
||||
workdir=/tmp/$USER\_`pwd | sed 's/^.*\///'`
|
||||
rm -Rf $workdir/*
|
||||
mkdir -p $workdir
|
||||
rsync -Ca ./DEBIAN $workdir/
|
||||
|
||||
rsync -Cav ./usr $workdir/
|
||||
|
||||
VER=`grep Version DEBIAN/control | cut -d: -f2`
|
||||
echo "Version $VER"
|
||||
|
||||
chmod -R g-s $workdir
|
||||
fakeroot dpkg-deb -b $workdir ./
|
||||
|
||||
echo "Installed-Size:"
|
||||
du -h -k --max-depth=0 $workdir
|
||||
|
||||
else
|
||||
echo Das Script $script muss im aktuellen Verzeichnis liegen!
|
||||
echo Bitte dorthin wechseln und nochmal probieren.
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user