irssi: disable static; set -devel noarch; cross build support.
This commit is contained in:
parent
ab8a0ec010
commit
8762dc0a01
|
@ -1,12 +1,9 @@
|
|||
# Template file for 'irssi-devel'.
|
||||
#
|
||||
depends="perl>=5.16 glib-devel openssl-devel ncurses-devel"
|
||||
short_desc="${short_desc} (development files)"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
short_desc="${short_desc} -- development files"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/irssi/modules/*.a" usr/lib/irssi/modules
|
||||
}
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
# Template file for 'irssi-perl'.
|
||||
#
|
||||
depends="perl>=5.16 irssi>=$version"
|
||||
short_desc="${sourcepkg} perl support"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the modules to enable perl support with the
|
||||
irssi package, and related perl scripts included."
|
||||
short_desc="${short_desc} -- perl support"
|
||||
|
||||
do_install() {
|
||||
vmove usr/lib/perl5 usr/lib
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Template build file for 'irssi'
|
||||
pkgname=irssi
|
||||
version=0.8.15
|
||||
revision=5
|
||||
configure_args="--with-proxy --with-perl=module"
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-proxy --with-perl=module"
|
||||
makedepends="perl>=5.16 pkg-config glib-devel openssl-devel ncurses-devel"
|
||||
conf_files="/etc/irssi.conf"
|
||||
subpackages="irssi-devel irssi-perl"
|
||||
|
@ -13,9 +13,11 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
license="GPL-2"
|
||||
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
|
||||
checksum=c12d16fb605103d7c256ddce44012dc396af57f3771e086d0387c195a052a0a6
|
||||
long_desc="
|
||||
Irssi is a modular IRC client that currently has only text mode user
|
||||
interface, but 80-90% of the code isn't text mode specific, so other UIs
|
||||
could be created pretty easily. Also, Irssi isn't really even IRC specific
|
||||
anymore, there's already a working SILC module available. Support for other
|
||||
protocols like ICQ could be created some day too."
|
||||
|
||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||
# XXX perl module
|
||||
makedepends="pkg-config ncurses-devel"
|
||||
crossmakedepends="libglib-devel openssl-devel ncurses-devel"
|
||||
configure_args="${configure_args} --without-perl"
|
||||
subpackages="irssi-devel"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue