You are not logged in.
think we could get packages for an eggdrop bot pacmanable?
Offline
You mean something like this?
# Contributor: Michael Baehr <usemike@spamblocked.com>
pkgname=eggdrop
pkgver=1.6.15
pkgrel=1
pkgdesc="Extensible IRC bot with MegaHAL and MySQL support plus some patches"
url="http://www.eggheads.com"
source=("ftp://ftp.eggheads.org/pub/${pkgname}/source/1.6/${pkgname}${pkgver}.tar.gz"
"http://gentoo.mirror.at.stealer.net/files/${pkgname}-${pkgver}-STEALER.net.patch.bz2"
"${pkgname}-${pkgver}-botchk.patch" "${pkgname}-${pkgver}-config.patch"
"${pkgname}-${pkgver}-configure-in.patch"
"${pkgname}-${pkgver}-potential-undef-tm-struct.patch"
"${pkgname}-${pkgver}-server-c.patch" "megahal-mod.tar.bz2"
"eggdrop-installer")
md5sums=('f1f0c3e8b914d626c06a567560f737dd' 'b52560e86131aed26720c7662fe3f947'
'1892518b7bb9c06cf7cfd46868012971' 'e410ac6d9adce910c8f37daf99a4b0e1'
'de237a9eaabae91f41afbd6d18448320' '86513844ef13a664bc5bf7d1a68d2d59'
'4a66a8592f69fa42badbf3ff6e02fdf5' '38e1590efbd5da6e750ba2b2e1dd6527'
'd9866427a9434d88735b7673c3c0df9d')
depends=('tcl' 'mysql')
build() {
cd $startdir/src/${pkgname}${pkgver}
for i in `ls .. | grep patch`; do patch -p1 < ../$i; done
cd src/mod/
tar xjf $startdir/src/megahal-mod.tar.bz2
cd $startdir/src/${pkgname}${pkgver}
autoconf || die "autoconf failed o:"
./configure --prefix=/opt || die "configure failed :o"
make config || die "make config failed O:"
make || die "make failed :O"
make DEST=$startdir/pkg/opt/${pkgname} install || die "make install failed :0"
mkdir -p $startdir/pkg/usr/bin
cp $startdir/src/eggdrop-installer $startdir/pkg/usr/bin/
}
Offline
Die? Who's going to die? :-)
Offline
Die? Who's going to die? :-)
Hehe, good point. I adapted this from the Gentoo ebuild when i made it, and forgot to change the "die" to something that worked in bash, like "return 1"
Offline
Shouldn't the 'eggdrop' package be a clean Eggdrop package without extra modules? It would be better if you package the extra modules in their own packages instead of bloating the main package.
Offline