wok-next rev 19874
Add autoconf-archive; up hexchat.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 29 04:22:40 2017 +0300 (2017-09-29) |
parents | 0b55786d7d72 |
children | 2ef4101ba8f7 |
files | autoconf-archive/receipt hexchat-plugin/receipt hexchat/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/autoconf-archive/receipt Fri Sep 29 04:22:40 2017 +0300 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="autoconf-archive" 1.7 +VERSION="2017.03.21" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Collection of GNU Autoconf macros" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL" 1.12 +WEB_SITE="https://www.gnu.org/software/autoconf-archive/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +compile_rules() { 1.18 + ./configure $CONFIGURE_ARGS && make && make install 1.19 + 1.20 + rm -r $install/usr/share/autoconf-archive 1.21 + cook_pick_docs AUTHORS COPYING COPYING.EXCEPTION README TODO 1.22 +} 1.23 + 1.24 +genpkg_rules() { 1.25 + copy @dev 1.26 + DEPENDS="autoconf" 1.27 +}
2.1 --- a/hexchat-plugin/receipt Fri Sep 29 01:32:06 2017 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,44 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="hexchat-plugin" 2.7 -VERSION="2.10.2" 2.8 -CATEGORY="network" 2.9 -SHORT_DESC="IRC client using GTK+ with plugins support" 2.10 -MAINTAINER="lenios@slitaz.org" 2.11 -LICENSE="GPL2" 2.12 -WEB_SITE="http://hexchat.github.io/" 2.13 -SOURCE="hexchat" 2.14 -TARBALL="$SOURCE-$VERSION.tar.xz" 2.15 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" 2.16 -PROVIDE="hexchat" 2.17 - 2.18 -DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python" 2.19 -BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev" 2.20 - 2.21 -# Rules to configure and make the package. 2.22 -compile_rules() 2.23 -{ 2.24 - sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ 2.25 - -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' 2.26 - sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c 2.27 - sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c 2.28 - 2.29 - ./configure \ 2.30 - --prefix=/usr \ 2.31 - --infodir=/usr/share/info \ 2.32 - --mandir=/usr/share/man \ 2.33 - --disable-tcl \ 2.34 - --enable-spell=static \ 2.35 - --enable-ipv6 \ 2.36 - $CONFIGURE_ARGS && 2.37 - make && 2.38 - make DESTDIR=$DESTDIR install 2.39 -} 2.40 - 2.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.42 -genpkg_rules() 2.43 -{ 2.44 - mkdir -p $fs/usr 2.45 - cp -a $install/usr/bin $fs/usr 2.46 - # cp -a $install/usr/share/dbus-1 $fs/usr/share 2.47 -}
3.1 --- a/hexchat/receipt Fri Sep 29 01:32:06 2017 +0300 3.2 +++ b/hexchat/receipt Fri Sep 29 04:22:40 2017 +0300 3.3 @@ -1,41 +1,58 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="hexchat" 3.8 -VERSION="2.10.2" 3.9 +VERSION="2.12.4" 3.10 CATEGORY="network" 3.11 SHORT_DESC="IRC client using GTK+" 3.12 MAINTAINER="lenios@slitaz.org" 3.13 LICENSE="GPL2" 3.14 -WEB_SITE="http://hexchat.github.io/" 3.15 +WEB_SITE="https://hexchat.github.io/" 3.16 + 3.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 3.18 -WGET_URL="http://dl.hexchat.net/hexchat/$TARBALL" 3.19 +WGET_URL="https://dl.hexchat.net/hexchat/$TARBALL" 3.20 3.21 -DEPENDS="gtk+ openssl gettext-base dbus-glib xorg-libXdamage \ 3.22 -harfbuzz" 3.23 -BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info" 3.24 +BUILD_DEPENDS="automake autoconf-archive libtool intltool gtk+-dev perl-dev \ 3.25 +python-dev openssl-dev pciutils-dev dbus-glib-dev libnotify-dev \ 3.26 +libcanberra-dev iso-codes" # libproxy-dev 3.27 +SPLIT="hexchat-plugin-perl hexchat-plugin-python hexchat hexchat-dev" 3.28 3.29 -# Rules to configure and make the package. 3.30 -compile_rules() 3.31 -{ 3.32 +compile_rules() { 3.33 + autoreconf -fi && 3.34 + sed -i '/_Keywords=/d; /Actions=/d' $src/data/misc/hexchat.desktop.in.in && 3.35 ./configure \ 3.36 - --prefix=/usr \ 3.37 - --infodir=/usr/share/info \ 3.38 - --mandir=/usr/share/man \ 3.39 - --disable-plugin \ 3.40 - --disable-tcl \ 3.41 - --disable-dbus \ 3.42 - --disable-python \ 3.43 - --enable-spell=static \ 3.44 - --enable-ipv6 \ 3.45 + --disable-lua \ 3.46 $CONFIGURE_ARGS && 3.47 make && 3.48 - make DESTDIR=$DESTDIR install 3.49 + make install 3.50 } 3.51 3.52 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.53 -genpkg_rules() 3.54 -{ 3.55 - mkdir -p $fs/usr 3.56 - cp -a $install/usr/bin $fs/usr 3.57 - # cp -a $install/usr/share/dbus-1 $fs/usr/share 3.58 +genpkg_rules() { 3.59 + case $PACKAGE in 3.60 + *-perl) 3.61 + copy perl.so 3.62 + DEPENDS="hexchat perl-core" 3.63 + ;; 3.64 + *-python) 3.65 + copy python.so 3.66 + DEPENDS="hexchat python" 3.67 + ;; 3.68 + hexchat) 3.69 + copy @std 3.70 + remove_already_packed 3.71 + rm -r $fs/usr/share/appdata/ 3.72 + DEPENDS="atk bzlib cairo dbus dbus-glib fontconfig freetype \ 3.73 + gdk-pixbuf glib gtk+ libcanberra libcrypto libffi libharfbuzz \ 3.74 + libltdl liblzma libnotify libogg libpng16 libssl libvorbis libxml2 \ 3.75 + pango pciutils pcre util-linux-blkid util-linux-mount \ 3.76 + util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 3.77 + xorg-libXrender xorg-libxcb xorg-pixman zlib" 3.78 + ;; 3.79 + *-dev) 3.80 + copy @dev 3.81 + DEPENDS="hexchat hexchat-plugin-perl hexchat-plugin-python \ 3.82 + glib-dev libffi-dev openssl-dev pciutils-dev pcre-dev perl-core \ 3.83 + python util-linux-blkid-dev util-linux-mount-dev \ 3.84 + util-linux-uuid-dev zlib-dev" 3.85 + ;; 3.86 + esac 3.87 }