wok diff irssi/receipt @ rev 21350

amule: add debian libupnp1.8.patch
author Richard Dunbar <mojo@slitaz.org>
date Sat Apr 20 15:44:26 2019 -0400 (2019-04-20)
parents a78610b2eb47
children 70f0e2dabf6b
line diff
     1.1 --- a/irssi/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/irssi/receipt	Sat Apr 20 15:44:26 2019 -0400
     1.3 @@ -1,28 +1,30 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="irssi"
     1.7 -VERSION="0.8.17"
     1.8 +VERSION="1.2.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Lightweight console IRC client"
    1.11 +TAGS="irc"
    1.12 +SHORT_DESC="Lightweight console IRC client."
    1.13  MAINTAINER="mallory@sweetpeople.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WEB_SITE="https://irssi.org/"
    1.17 -WGET_URL="https://irssi.org/files/$TARBALL"
    1.18 -TAGS="irc"
    1.19  
    1.20 -DEPENDS="glib openssl perl ncurses"
    1.21 -BUILD_DEPENDS="glib glib-dev ncurses-dev pkg-config slitaz-toolchain openssl-dev perl"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL"
    1.24 +
    1.25 +DEPENDS="glib ncurses openssl perl"
    1.26 +BUILD_DEPENDS="glib glib-dev ncurses-dev openssl-dev perl pkg-config"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {	
    1.31  	export LDFLAGS="$LDFLAGS -ltinfo"
    1.32 -	./configure \
    1.33 -		--prefix=/usr \
    1.34 -		--sysconfdir=/etc/irssi \
    1.35 +
    1.36 +	./configure			\
    1.37 +		--prefix=/usr		\
    1.38 +		--sysconfdir=/etc/irssi	\
    1.39  		$CONFIGURE_ARGS &&
    1.40 -	make &&
    1.41 +	make -j 1 &&
    1.42  	make DESTDIR=$DESTDIR install
    1.43  }
    1.44  
    1.45 @@ -30,8 +32,9 @@
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p $fs/usr/share/
    1.49 -	cp -a $install/etc $fs
    1.50 -	cp -a $install/usr/bin $fs/usr
    1.51 -	cp -a $install/usr/lib $fs/usr
    1.52 -	cp -a $install/usr/share/irssi $fs/usr/share
    1.53 +
    1.54 +	cp -a $install/etc		$fs
    1.55 +	cp -a $install/usr/bin		$fs/usr
    1.56 +	cp -a $install/usr/lib		$fs/usr
    1.57 +	cp -a $install/usr/share/irssi	$fs/usr/share
    1.58  }