51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
# Template build file for 'irssi'
|
|
pkgname=irssi
|
|
version=0.8.15
|
|
revision=7
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --with-proxy --with-perl=module"
|
|
hostmakedepends="pkg-config perl>=5.16"
|
|
makedepends="libglib-devel openssl-devel ncurses-devel"
|
|
homepage="http://www.irssi.org"
|
|
short_desc="Secure and modular IRC client with text mode user interface"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
|
|
checksum=c12d16fb605103d7c256ddce44012dc396af57f3771e086d0387c195a052a0a6
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
# XXX perl module
|
|
hostmakedepends="pkg-config"
|
|
configure_args+=" --without-perl"
|
|
subpackages="irssi-devel"
|
|
fi
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
irssi-perl_package() {
|
|
depends="perl>=5.16 irssi>=$version"
|
|
short_desc="${short_desc} -- perl support"
|
|
pkg_install() {
|
|
vmove usr/lib/perl5
|
|
vmove "usr/lib/irssi/modules/*perl*"
|
|
vmove usr/share/irssi/scripts
|
|
}
|
|
}
|
|
|
|
fi # !CROSS_BUILD
|
|
|
|
irssi-devel_package() {
|
|
depends="perl>=5.16 glib-devel openssl-devel ncurses-devel"
|
|
short_desc="${short_desc} -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
irssi_package() {
|
|
conf_files="/etc/irssi.conf"
|
|
pkg_install() {
|
|
vmove etc
|
|
vmove usr
|
|
}
|
|
}
|