You are not logged in.

#1 2004-08-26 00:18:54

jbsnake
Member
Registered: 2004-04-26
Posts: 23

[Request] - Eggdrop

think we could get packages for an eggdrop bot pacmanable?

Offline

#2 2004-08-26 02:37:11

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: [Request] - Eggdrop

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/
}

Yeah, I got that

wink


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#3 2004-08-26 09:18:42

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: [Request] - Eggdrop

Die?  roll Who's going to die? :-)

Offline

#4 2004-08-26 20:10:50

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: [Request] - Eggdrop

lanrat wrote:

Die?  roll 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" wink


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#5 2004-08-27 21:08:59

tehdely
Member
Registered: 2004-02-20
Posts: 148
Website

Re: [Request] - Eggdrop

Eggdrop is now in my TUR.


[Arch GNUstep Repository] [ PKGBUILDS ]
[code][gnustep]
Server = ftp://blkwidow.lerp.com/pub/mirror/arch/gnustep[/code]

Offline

#6 2004-08-27 22:35:49

Egil.B
Member
From: Universitas Osloensis
Registered: 2004-02-14
Posts: 116

Re: [Request] - Eggdrop

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.   wink

Offline

Board footer

Powered by FluxBB