New package: eggdrop-1.8.4
This commit is contained in:
parent
7a30054c18
commit
a75bedba46
1 changed files with 44 additions and 0 deletions
44
srcpkgs/eggdrop/template
Normal file
44
srcpkgs/eggdrop/template
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Template file for 'eggdrop'
|
||||||
|
pkgname=eggdrop
|
||||||
|
version=1.8.4
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="tcl-devel"
|
||||||
|
makedepends="tcl-devel libressl-devel zlib-devel"
|
||||||
|
short_desc="Internet relay chat (IRC) bot"
|
||||||
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://www.eggheads.org/"
|
||||||
|
distfiles="https://ftp.eggheads.org/pub/eggdrop/source/${version%.*}/eggdrop-${version}.tar.gz"
|
||||||
|
checksum=79644eb27a5568934422fa194ce3ec21cfb9a71f02069d39813e85d99cdebf9e
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
make config
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
_lib="usr/lib/eggdrop"
|
||||||
|
_share="usr/share/eggdrop"
|
||||||
|
_conf="etc/eggdrop"
|
||||||
|
|
||||||
|
make install DEST=ed_staging
|
||||||
|
|
||||||
|
vbin eggdrop
|
||||||
|
|
||||||
|
vmkdir "${_lib}"
|
||||||
|
vcopy "ed_staging/modules/*.so" "${_lib}"
|
||||||
|
vsed -e "s|modules/|/${_lib}/|" -i eggdrop.conf
|
||||||
|
|
||||||
|
for _asset in language scripts help; do
|
||||||
|
vmkdir "${_share}/${_asset}/"
|
||||||
|
vcopy "ed_staging/${_asset}/*" "${_share}/${_asset}"
|
||||||
|
vsed -e "s|${_asset}/|/${_share}/&|" -i eggdrop.conf
|
||||||
|
done
|
||||||
|
|
||||||
|
vmkdir "${_conf}/text"
|
||||||
|
vcopy "ed_staging/text/*" "${_conf}/text"
|
||||||
|
vsed -e "s|text/|/${_conf}/&|" -i eggdrop.conf
|
||||||
|
|
||||||
|
vsconf eggdrop.conf
|
||||||
|
vsconf eggdrop-basic.conf
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue