void-packages/srcpkgs/bitlbee/template

37 lines
1.1 KiB
Bash
Raw Normal View History

2015-02-23 16:45:31 +01:00
# Template file for 'bitlbee'
pkgname=bitlbee
2015-03-27 07:24:51 +01:00
version=3.4
revision=1
2015-02-23 16:45:31 +01:00
build_style=gnu-configure
configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin
--pidfile=/run/${pkgname}/${pkgname}.pid
--ipcsocket=/run/${pkgname}/${pkgname}.sock
--ssl=openssl --strip=0 --otr=plugin --skype=plugin"
hostmakedepends="pkg-config asciidoc"
makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel"
2015-02-23 16:45:31 +01:00
make_install_args="install-etc"
short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.bitlbee.org/"
distfiles="http://get.bitlbee.org/src/$pkgname-$version.tar.gz"
2015-03-27 07:24:51 +01:00
checksum=cebad646bbfd17c80923743244039fd970e3ca27e8c1b7cf872622e773239d5e
2015-02-23 16:45:31 +01:00
system_accounts="$pkgname"
bitlbee_homedir="/var/lib/$pkgname"
conf_files="
/etc/${pkgname}/motd.txt
/etc/${pkgname}/${pkgname}.conf
/etc/skyped/skyped.conf
/etc/skyped/skyped.cnf"
post_configure() {
sed -e "s,-L/lib,-L${XBPS_CROSS_BASE}/usr/lib,g" \
-e "s,-I/include,-I${XBPS_CROSS_BASE}/usr/include,g" \
-i Makefile.settings
}
post_install() {
vsv $pkgname
}