Author: viper Date: 2006-09-28 18:21:22 +0200 (Thu, 28 Sep 2006) New Revision: 1960 Modified: crux-2.2/ports/opt/irssi/Pkgfile Log: irssi: adopted from Jukka Heino Modified: crux-2.2/ports/opt/irssi/Pkgfile =================================================================== --- crux-2.2/ports/opt/irssi/Pkgfile 2006-09-28 15:58:42 UTC (rev 1959) +++ crux-2.2/ports/opt/irssi/Pkgfile 2006-09-28 16:21:22 UTC (rev 1960) @@ -1,6 +1,6 @@ # Description: Terminal based IRC client for UNIX systems # URL: http://www.irssi.org/ -# Maintainer: Jukka Heino, jukka dot heino at gmail dot com +# Maintainer: Simon Glo�ner, viper at hometux dot de # Packager: Daniel K. Gebhart, dkg at con-fuse dot org # Depends on: glib # Group: ipv6 @@ -8,19 +8,24 @@ name=irssi version=0.8.10 release=2 -source=(http://www.irssi.org/files/$name-$version.tar.bz2 \ +source=(http://www.irssi.org/files/${name}-${version}.tar.bz2 \ fix_segfault_on_exit.patch) build () { cd $name-$version + patch -p1 < $SRC/fix_segfault_on_exit.patch - ./configure --prefix=/usr \ - --enable-ipv6 \ - --with-proxy + + ./configure \ + --prefix=/usr \ + --enable-ipv6 \ + --with-proxy make make DESTDIR=$PKG install - find $PKG -name '*.bs' -or \ - -name perllocal.pod -or \ - -name .packlist | xargs rm + + find $PKG -name '*.bs' -delete + find $PKG -name perllocal.pod -delete + find $PKG -name .packlist -delete + rm -rf $PKG/usr/{include,share/doc} }