wok-next rev 20516
Add liblinear, up nmap, py3k -> python3
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 22 04:47:38 2018 +0200 (2018-03-22) |
parents | 593af19ee346 |
children | e378adc8b6a0 |
files | cmark-gfm/receipt cortex/receipt iso-codes/receipt liblinear/receipt libpcap/receipt lirc/receipt nmap/receipt slitaz-base-files/receipt suplemon/receipt terminus-font/receipt wipe/receipt wireless_tools/receipt wireshark/receipt wkhtmltopdf/receipt wmctrl/receipt wol/receipt wordpress/receipt wordwarvi/receipt wput/receipt wv/receipt |
line diff
1.1 --- a/cmark-gfm/receipt Wed Mar 21 16:16:38 2018 +0200 1.2 +++ b/cmark-gfm/receipt Thu Mar 22 04:47:38 2018 +0200 1.3 @@ -12,7 +12,7 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="$GITHUB/github/cmark/tarball/${COMMIT:-$VERSION}" 1.6 1.7 -BUILD_DEPENDS="cmake py3k" 1.8 +BUILD_DEPENDS="cmake python3" 1.9 1.10 # Rules to configure and make the package. 1.11 compile_rules()
2.1 --- a/cortex/receipt Wed Mar 21 16:16:38 2018 +0200 2.2 +++ b/cortex/receipt Thu Mar 22 04:47:38 2018 +0200 2.3 @@ -10,7 +10,7 @@ 2.4 WEB_SITE="http://cortex.glacicle.org/" 2.5 WGET_URL="git|git://github.com/GGLucas/cortex" 2.6 2.7 -DEPENDS="py3k cacerts" 2.8 +DEPENDS="python3 cacerts" 2.9 BUILD_DEPENDS="git bzip2" 2.10 2.11
3.1 --- a/iso-codes/receipt Wed Mar 21 16:16:38 2018 +0200 3.2 +++ b/iso-codes/receipt Thu Mar 22 04:47:38 2018 +0200 3.3 @@ -12,7 +12,7 @@ 3.4 WGET_URL="${WEB_SITE}downloads/$TARBALL" 3.5 3.6 DEPENDS="" 3.7 -BUILD_DEPENDS="gettext py3k" 3.8 +BUILD_DEPENDS="gettext python3" 3.9 3.10 # Rules to configure and make the package. 3.11 compile_rules()
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/liblinear/receipt Thu Mar 22 04:47:38 2018 +0200 4.3 @@ -0,0 +1,29 @@ 4.4 +# SliTaz package receipt v2. 4.5 + 4.6 +PACKAGE="liblinear" 4.7 +VERSION="2.20" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="A Library for Large Linear Classification" 4.10 +MAINTAINER="al.bobylev@gmail.com" 4.11 +LICENSE="BSD" 4.12 +WEB_SITE="https://github.com/cjlin1/liblinear/" 4.13 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/liblinear.html" 4.14 + 4.15 +TARBALL="$PACKAGE-${VERSION//./}.tar.gz" 4.16 +WGET_URL="https://github.com/cjlin1/liblinear/archive/v${VERSION//./}/$TARBALL" 4.17 + 4.18 +SPLIT="liblinear-dev" 4.19 + 4.20 +compile_rules() { 4.21 + make lib || return 1 4.22 + install -Dm644 linear.h $install/usr/include/linear.h 4.23 + install -Dm755 liblinear.so.3 $install/usr/lib/liblinear.so.3 4.24 + ln -sf liblinear.so.3 $install/usr/lib/liblinear.so 4.25 +} 4.26 + 4.27 +genpkg_rules() { 4.28 + case $PACKAGE in 4.29 + liblinear) copy @std;; 4.30 + *-dev) copy @dev;; 4.31 + esac 4.32 +}
5.1 --- a/libpcap/receipt Wed Mar 21 16:16:38 2018 +0200 5.2 +++ b/libpcap/receipt Thu Mar 22 04:47:38 2018 +0200 5.3 @@ -8,35 +8,34 @@ 5.4 MAINTAINER="sdaigl@lacitec.on.ca" 5.5 LICENSE="BSD" 5.6 WEB_SITE="http://www.tcpdump.org/" 5.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/libpcap.html" 5.8 5.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.10 WGET_URL="http://www.tcpdump.org/release/$TARBALL" 5.11 5.12 +BUILD_DEPENDS_arm=" " 5.13 BUILD_DEPENDS="flex bison libnl-dev" 5.14 -BUILD_DEPENDS_arm=" " 5.15 SPLIT="libpcap-dev" 5.16 5.17 -# Handle cross compilation 5.18 -case "$ARCH" in 5.19 - arm) 5.20 - ARCH_ARGS="--with-pcap=linux" 5.21 - export ac_cv_linux_vers=2 5.22 - ;; 5.23 -esac 5.24 +compile_rules() { 5.25 + case "$ARCH" in 5.26 + arm) 5.27 + ARCH_ARGS="--with-pcap=linux" 5.28 + export ac_cv_linux_vers=2 5.29 + ;; 5.30 + esac 5.31 5.32 -# Rules to configure and make the package. 5.33 -compile_rules() 5.34 -{ 5.35 ./configure \ 5.36 $CONFIGURE_ARGS $ARCH_ARGS && 5.37 make && make install 5.38 } 5.39 5.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.41 -genpkg_rules() 5.42 -{ 5.43 +genpkg_rules() { 5.44 case $PACKAGE in 5.45 - libpcap) copy @std; DEPENDS="libnl";; 5.46 + libpcap) 5.47 + copy @std 5.48 + DEPENDS="libnl" 5.49 + ;; 5.50 *-dev) copy @dev;; 5.51 esac 5.52 }
6.1 --- a/lirc/receipt Wed Mar 21 16:16:38 2018 +0200 6.2 +++ b/lirc/receipt Thu Mar 22 04:47:38 2018 +0200 6.3 @@ -12,7 +12,7 @@ 6.4 6.5 BUILD_DEPENDS="linux linux-module-headers python libusb-dev libirman-dev \ 6.6 portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \ 6.7 -libftdi-dev jack-dev libxslt py3k udev-dev" 6.8 +libftdi-dev jack-dev libxslt python3 udev-dev" 6.9 SPLIT="lirc lirc-dev" 6.10 6.11 # Rules to configure and make the package.
7.1 --- a/nmap/receipt Wed Mar 21 16:16:38 2018 +0200 7.2 +++ b/nmap/receipt Thu Mar 22 04:47:38 2018 +0200 7.3 @@ -1,31 +1,31 @@ 7.4 # SliTaz package receipt v2. 7.5 7.6 PACKAGE="nmap" 7.7 -VERSION="6.25" 7.8 +VERSION="7.70" 7.9 CATEGORY="security" 7.10 SHORT_DESC="The Network Mapper" 7.11 MAINTAINER="erjo@slitaz.org" 7.12 LICENSE="GPL2" 7.13 WEB_SITE="http://nmap.org/" 7.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/nmap.html" 7.15 7.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 7.17 -WGET_URL="http://download.insecure.org/nmap/dist/$TARBALL" 7.18 +WGET_URL="https://nmap.org/dist/$TARBALL" 7.19 7.20 BUILD_DEPENDS="libpcap-dev python-dev openssl-dev pcre-dev" 7.21 +BUILD_DEPENDS="python openssl-dev libpcap-dev pcre-dev zlib-dev libssh2-dev \ 7.22 +liblinear-dev" 7.23 7.24 compile_rules() { 7.25 - patch -p1 < $stuff/$PACKAGE-$VERSION-nolua.patch 7.26 - 7.27 ./configure \ 7.28 - --cache-file=$PWD/config.cache \ 7.29 - --without-liblua \ 7.30 + --with-liblua=included \ 7.31 $CONFIGURE_ARGS && 7.32 make && 7.33 - make DESTDIR=$DESTDIR install-nmap 7.34 + make DESTDIR=$DESTDIR install 7.35 } 7.36 7.37 genpkg_rules() { 7.38 copy @std 7.39 - DEPENDS="openssl libpcap pcre gcc-lib-base" 7.40 + DEPENDS="liblinear libpcap libssh2 openssl pcre python zlib" 7.41 TAGS="network" 7.42 }
8.1 --- a/slitaz-base-files/receipt Wed Mar 21 16:16:38 2018 +0200 8.2 +++ b/slitaz-base-files/receipt Thu Mar 22 04:47:38 2018 +0200 8.3 @@ -1,7 +1,7 @@ 8.4 # SliTaz package receipt v2. 8.5 8.6 PACKAGE="slitaz-base-files" 8.7 -VERSION="336" 8.8 +VERSION="337" 8.9 CATEGORY="base-system" 8.10 SHORT_DESC="Linux tree and the necessary files for the base system" 8.11 MAINTAINER="pankso@slitaz.org"
9.1 --- a/suplemon/receipt Wed Mar 21 16:16:38 2018 +0200 9.2 +++ b/suplemon/receipt Thu Mar 22 04:47:38 2018 +0200 9.3 @@ -10,8 +10,8 @@ 9.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 9.5 WGET_URL="git|git://github.com/richrd/suplemon" 9.6 9.7 -DEPENDS="py3k" 9.8 -BUILD_DEPENDS="py3k-dev git bzip2" 9.9 +DEPENDS="python3" 9.10 +BUILD_DEPENDS="python3-dev git bzip2" 9.11 9.12 # Rules to configure and make the package. 9.13 compile_rules()
10.1 --- a/terminus-font/receipt Wed Mar 21 16:16:38 2018 +0200 10.2 +++ b/terminus-font/receipt Thu Mar 22 04:47:38 2018 +0200 10.3 @@ -11,7 +11,7 @@ 10.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 10.5 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 10.6 10.7 -BUILD_DEPENDS="py3k xorg-bdftopcf patch" 10.8 +BUILD_DEPENDS="python3 xorg-bdftopcf patch" 10.9 SPLIT="terminus-font-x11 terminus-font-base terminus-font" 10.10 10.11 # Rules to configure and make the package.
11.1 --- a/wipe/receipt Wed Mar 21 16:16:38 2018 +0200 11.2 +++ b/wipe/receipt Thu Mar 22 04:47:38 2018 +0200 11.3 @@ -1,30 +1,25 @@ 11.4 -# SliTaz package receipt. 11.5 +# SliTaz package receipt v2. 11.6 11.7 PACKAGE="wipe" 11.8 VERSION="2.3.1" 11.9 CATEGORY="misc" 11.10 +SHORT_DESC="A file and block device delete/erase utility - a secure rm" 11.11 MAINTAINER="jozee@slitaz.org" 11.12 LICENSE="GPL2" 11.13 -SHORT_DESC="A file and block device delete/erase utility - a secure rm" 11.14 WEB_SITE="http://wipe.sourceforge.net/" 11.15 + 11.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 11.17 -WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" 11.18 -TAGS="delete" 11.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 11.20 11.21 -DEPENDS="glibc-base" 11.22 +compile_rules() { 11.23 + ./configure \ 11.24 + --prefix=/usr \ 11.25 + $CONFIGURE_ARGS && 11.26 + make && 11.27 + make prefix=$DESTDIR/usr install 11.28 +} 11.29 11.30 -# Rules to configure and make the package. 11.31 -compile_rules() 11.32 -{ 11.33 - cd $src 11.34 - ./configure --prefix=/usr $CONFIGURE_ARGS && 11.35 - make && 11.36 - make prefix=$DESTDIR/usr install 11.37 +genpkg_rules() { 11.38 + copy @std 11.39 + TAGS="delete" 11.40 } 11.41 - 11.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 11.43 -genpkg_rules() 11.44 -{ 11.45 - mkdir -p $fs/usr 11.46 - cp -a $install/usr/bin $fs/usr 11.47 -}
12.1 --- a/wireless_tools/receipt Wed Mar 21 16:16:38 2018 +0200 12.2 +++ b/wireless_tools/receipt Thu Mar 22 04:47:38 2018 +0200 12.3 @@ -7,36 +7,37 @@ 12.4 MAINTAINER="erjo@slitaz.org" 12.5 LICENSE="GPL2" 12.6 WEB_SITE="https://hewlettpackard.github.io/wireless-tools/Tools.html" 12.7 -TAGS="wireless wifi network" 12.8 -SUGGESTED="linux-wireless" 12.9 12.10 TARBALL="$PACKAGE.$VERSION.tar.gz" 12.11 WGET_URL="https://hewlettpackard.github.io/wireless-tools/$TARBALL" 12.12 12.13 SPLIT="wireless_tools-dev" 12.14 12.15 -# Rules to configure and make the package. 12.16 -compile_rules() 12.17 -{ 12.18 +compile_rules() { 12.19 sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile 12.20 + 12.21 make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr && 12.22 make PREFIX=$DESTDIR/usr install 12.23 } 12.24 12.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 12.26 -genpkg_rules() 12.27 -{ 12.28 +genpkg_rules() { 12.29 case $PACKAGE in 12.30 - wireless_tools) copy @std;; 12.31 + wireless_tools) 12.32 + copy @std 12.33 + SUGGESTED="linux-wireless" 12.34 + TAGS="wireless wifi network" 12.35 + ;; 12.36 *-dev) copy @dev;; 12.37 esac 12.38 } 12.39 12.40 -post_install_wireless_tools() 12.41 -{ 12.42 - [ -n "$quiet" ] && return 12.43 - cat <<EOT 12.44 -You may need to install linux-wireless to have wireless network drivers. 12.45 -Or install tazndis to use Windows drivers. 12.46 +post_install_wireless_tools() { 12.47 + [ -n "$quiet" ] || cat <<EOT 12.48 + 12.49 + .--------------------------------------------. 12.50 + | You may need to install linux-wireless | 12.51 + | to have wireless network drivers. | 12.52 + | Or install tazndis to use Windows drivers. | 12.53 + '--------------------------------------------' 12.54 EOT 12.55 }
13.1 --- a/wireshark/receipt Wed Mar 21 16:16:38 2018 +0200 13.2 +++ b/wireshark/receipt Thu Mar 22 04:47:38 2018 +0200 13.3 @@ -1,24 +1,20 @@ 13.4 -# SliTaz package receipt. 13.5 +# SliTaz package receipt v2. 13.6 13.7 PACKAGE="wireshark" 13.8 VERSION="2.0.0" 13.9 CATEGORY="network" 13.10 -SHORT_DESC="Wireshark is an award-winning network protocol analyzer." 13.11 +SHORT_DESC="Wireshark is an award-winning network protocol analyzer" 13.12 MAINTAINER="pankso@slitaz.org" 13.13 LICENSE="GPL2" 13.14 +WEB_SITE="http://www.wireshark.org/" 13.15 + 13.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 13.17 -WEB_SITE="http://www.wireshark.org/" 13.18 WGET_URL="https://1.eu.dl.wireshark.org/src/$TARBALL" 13.19 -TAGS="network analysis" 13.20 13.21 -DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 attr \ 13.22 -libgcrypt portaudio libpcap libkrb5" 13.23 BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \ 13.24 libgcrypt-dev flex libtasn1-dev bison perl" 13.25 13.26 -# Rules to configure and make the package. 13.27 -compile_rules() 13.28 -{ 13.29 +compile_rules() { 13.30 ./configure \ 13.31 --prefix=/usr \ 13.32 --mandir=/usr/share/man \ 13.33 @@ -26,20 +22,15 @@ 13.34 --with-qt=no \ 13.35 --with-gtk2=yes \ 13.36 --with-gtk3=no \ 13.37 - $CONFIGURE_ARGS 13.38 - sed -i 's/mozilla/browser/' config.h 13.39 + $CONFIGURE_ARGS && 13.40 + sed -i 's/mozilla/browser/' config.h && 13.41 make $MAKEFLAGS && 13.42 make install 13.43 } 13.44 13.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 13.46 -genpkg_rules() 13.47 -{ 13.48 - mkdir -p $fs/usr/lib \ 13.49 - $fs/usr/share 13.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 13.51 - cp -a $install/usr/lib/wireshark $fs/usr/lib 13.52 - rm $fs/usr/lib/wireshark/plugins/$VERSION/*.la 13.53 - cp -a $install/usr/bin $fs/usr 13.54 - cp -a $install/usr/share/wireshark $fs/usr/share 13.55 +genpkg_rules() { 13.56 + copy @std 13.57 + DEPENDS="gnutls libgpg-error libcap gtk+ pcre xorg-libXdamage libcomerr3 \ 13.58 + attr libgcrypt portaudio libpcap libkrb5" 13.59 + TAGS="network analysis" 13.60 }
14.1 --- a/wkhtmltopdf/receipt Wed Mar 21 16:16:38 2018 +0200 14.2 +++ b/wkhtmltopdf/receipt Thu Mar 22 04:47:38 2018 +0200 14.3 @@ -1,21 +1,19 @@ 14.4 -# SliTaz package receipt. 14.5 +# SliTaz package receipt v2. 14.6 14.7 PACKAGE="wkhtmltopdf" 14.8 VERSION="0.12.2.1" 14.9 CATEGORY="misc" 14.10 -SHORT_DESC="Tools to render HTML into PDF and various image formats." 14.11 +SHORT_DESC="Tools to render HTML into PDF and various image formats" 14.12 MAINTAINER="pascal.bellard@slitaz.org" 14.13 LICENSE="LGPL3" 14.14 +WEB_SITE="http://wkhtmltopdf.org/" 14.15 + 14.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 14.17 -WEB_SITE="http://wkhtmltopdf.org/" 14.18 WGET_URL="https://github.com/wkhtmltopdf/wkhtmltopdf/archive/$VERSION.tar.gz" 14.19 14.20 -DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore" 14.21 BUILD_DEPENDS="python qmake Qt4-dev" 14.22 14.23 -# Rules to configure and make the package. 14.24 -compile_rules() 14.25 -{ 14.26 +compile_rules() { 14.27 cat > qt/configure <<EOT 14.28 #!/bin/sh 14.29 14.30 @@ -29,10 +27,7 @@ 14.31 make INSTALL_ROOT=$DESTDIR/usr install 14.32 } 14.33 14.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 14.35 -genpkg_rules() 14.36 -{ 14.37 - mkdir -p $fs/usr 14.38 - cp -a $install/usr/bin $fs/usr 14.39 - cp -a $install/usr/lib $fs/usr 14.40 +genpkg_rules() { 14.41 + copy @std 14.42 + DEPENDS="libQtWebkit libQtSvg libQtXml libQtGui libQtNetwork libQtCore" 14.43 }
15.1 --- a/wmctrl/receipt Wed Mar 21 16:16:38 2018 +0200 15.2 +++ b/wmctrl/receipt Thu Mar 22 04:47:38 2018 +0200 15.3 @@ -1,30 +1,29 @@ 15.4 -# SliTaz package receipt. 15.5 +# SliTaz package receipt v2. 15.6 15.7 PACKAGE="wmctrl" 15.8 VERSION="c5c5eb8" 15.9 CATEGORY="utilities" 15.10 +SHORT_DESC="A UNIX/Linux command line tool to interact with an EWMH/NetWM \ 15.11 +compatible X Window Manager" 15.12 +MAINTAINER="yuripourre@gmail.com" 15.13 LICENSE="GPL" 15.14 -MAINTAINER="yuripourre@gmail.com" 15.15 +WEB_SITE="https://sites.google.com/site/tstyblo/wmctrl/" 15.16 + 15.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 15.18 -WEB_SITE="https://sites.google.com/site/tstyblo/wmctrl/" 15.19 WGET_URL="http://git.make-linux.org/tools/$PACKAGE.git/snapshot/$TARBALL" 15.20 -SHORT_DESC="A UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager." 15.21 -DEPENDS="glib" 15.22 + 15.23 BUILD_DEPENDS="glib-dev xorg-dev" 15.24 15.25 -# Rules to configure and make the package. 15.26 -compile_rules() 15.27 -{ 15.28 - ./configure \ 15.29 - --prefix=/usr \ 15.30 - --mandir=/usr/share/man\ 15.31 +compile_rules() { 15.32 + ./configure \ 15.33 + --prefix=/usr \ 15.34 + --mandir=/usr/share/man \ 15.35 $CONFIGURE_ARGS && 15.36 make && 15.37 make DESTDIR=$DESTDIR install 15.38 } 15.39 15.40 -genpkg_rules() 15.41 -{ 15.42 - mkdir -p $fs/usr 15.43 - cp -a $install/usr/bin $fs/usr 15.44 +genpkg_rules() { 15.45 + copy @std 15.46 + DEPENDS="glib" 15.47 }
16.1 --- a/wol/receipt Wed Mar 21 16:16:38 2018 +0200 16.2 +++ b/wol/receipt Thu Mar 22 04:47:38 2018 +0200 16.3 @@ -1,29 +1,20 @@ 16.4 -# SliTaz package receipt. 16.5 +# SliTaz package receipt v2. 16.6 16.7 PACKAGE="wol" 16.8 VERSION="0.7.1" 16.9 CATEGORY="network" 16.10 -SHORT_DESC="wol implements Wake On LAN functionality in a small program." 16.11 +SHORT_DESC="wol implements Wake On LAN functionality in a small program" 16.12 MAINTAINER="l.lemarinel@gmail.com" 16.13 LICENSE="GPL2" 16.14 -TARBALL="${PACKAGE}-${VERSION}.tar.gz" 16.15 -WGET_URL="$SF_MIRROR/ahh/$TARBALL" 16.16 WEB_SITE="http://wake-on-lan.sourceforge.net/" 16.17 16.18 -BUILD_DEPENDS="" 16.19 -DEPENDS="" 16.20 +TARBALL="$PACKAGE-$VERSION.tar.gz" 16.21 +WGET_URL="$SF_MIRROR/ahh/$TARBALL" 16.22 16.23 -# Rules to configure and make the package. 16.24 -compile_rules() 16.25 -{ 16.26 - cd $src 16.27 - ./configure $CONFIGURE_ARGS && 16.28 - make && make install 16.29 +compile_rules() { 16.30 + ./configure $CONFIGURE_ARGS && make && make install 16.31 } 16.32 16.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.34 -genpkg_rules() 16.35 -{ 16.36 - mkdir -p $fs/usr 16.37 - cp -a $install/usr/bin $fs/usr 16.38 +genpkg_rules() { 16.39 + copy @std 16.40 }
17.1 --- a/wordpress/receipt Wed Mar 21 16:16:38 2018 +0200 17.2 +++ b/wordpress/receipt Thu Mar 22 04:47:38 2018 +0200 17.3 @@ -1,81 +1,79 @@ 17.4 -# SliTaz package receipt. 17.5 +# SliTaz package receipt v2. 17.6 17.7 PACKAGE="wordpress" 17.8 VERSION="3.4.1" 17.9 CATEGORY="misc" 17.10 -SHORT_DESC="Blog Tool and Publishing Platform." 17.11 +SHORT_DESC="Blog Tool and Publishing Platform" 17.12 MAINTAINER="slaxemulator@gmail.com" 17.13 LICENSE="GPL2" 17.14 -SUGGESTED="apache cherokee" 17.15 +WEB_SITE="http://wordpress.org" 17.16 + 17.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 17.18 -WEB_SITE="http://wordpress.org" 17.19 WGET_URL="$WEB_SITE/$TARBALL" 17.20 17.21 DEPENDS="php mysql php-mysql" 17.22 17.23 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.24 -genpkg_rules() 17.25 -{ 17.26 +genpkg_rules() { 17.27 mkdir -p $fs/var/www/wordpress 17.28 cp -a $src/* $fs/var/www/wordpress 17.29 chown -R www.www $fs/var/www/wordpress 17.30 +SUGGESTED="apache cherokee" 17.31 } 17.32 17.33 -post_install() 17.34 -{ 17.35 +post_install() { 17.36 local db=wordpress 17.37 local db_user=wordpress 17.38 local db_password=wordpress 17.39 - 17.40 + 17.41 # Minimal config for wordpress. 17.42 - if [ -z "$1" ]; then 17.43 - if ( ! mysqladmin -s ping > /dev/null ); then 17.44 - echo "Starting MySQL server" 17.45 - ( /etc/init.d/mysql start ; status ) || exit 17.46 - sleep 4 #let the mysql daemon start 17.47 - fi 17.48 - if ( ! mysql -u root -Be 'show databases' | grep -q $db ); then 17.49 - echo -n "Create $db database" 17.50 - mysql -Be "create database $db" ; status 17.51 - # We suppose that $DB_USER user does not exist. 17.52 - # It may be false. 17.53 - echo -n "Create user $db_user with password $db_password" 17.54 - mysql -Be "grant all privileges on $db.* to '"$db_user"'@'localhost' 17.55 - identified by '"$db_password"'" ; status 17.56 - # At last create the database for $PACKAGE. 17.57 - echo -n "Create $db database schema." 17.58 - #mysql -u glpi -pglpi -D glpi < /usr/share/glpi/install/mysql/glpi-${VERSION}-empty.sql ; status 17.59 - fi 17.60 + [ -z "$1" ] || return 0 17.61 + 17.62 + if ( ! mysqladmin -s ping >/dev/null ); then 17.63 + echo "Starting MySQL server" 17.64 + ( /etc/init.d/mysql start; status ) || exit 17.65 + sleep 4 #let the mysql daemon start 17.66 fi 17.67 - 17.68 + if ( ! mysql -u root -Be 'show databases' | grep -q $db ); then 17.69 + action "Create $db database" 17.70 + mysql -Be "create database $db"; status 17.71 + 17.72 + # We suppose that $DB_USER user does not exist. 17.73 + # It may be false. 17.74 + action "Create user $db_user with password $db_password" 17.75 + mysql -Be "grant all privileges on $db.* to '"$db_user"'@'localhost' 17.76 + identified by '"$db_password"'" ; status 17.77 + 17.78 + # At last create the database for $PACKAGE. 17.79 + action "Create $db database schema." 17.80 + #mysql -u glpi -pglpi -D glpi < /usr/share/glpi/install/mysql/glpi-${VERSION}-empty.sql ; status 17.81 + fi 17.82 } 17.83 17.84 -post_remove() 17.85 -{ 17.86 +post_remove() { 17.87 local db=wordpress 17.88 local db_user=wordpress 17.89 local db_password=wordpress 17.90 - 17.91 - if [ -z "$1" ]; then 17.92 - echo -n "Would you like to remove data and database files.(y/n) " 17.93 - read answer 17.94 17.95 - case $answer in 17.96 + [ -z "$1" ] || return 0 17.97 + 17.98 + echo -n "Would you like to remove data and database files.(y/n) " 17.99 + read answer 17.100 + 17.101 + case $answer in 17.102 y|Y) 17.103 - echo -n "Removing data directories..." 17.104 - [ -d /var/lib/wordpress ] && rm -rf /var/lib/wordpress ; status 17.105 + action "Removing data directories..." 17.106 + [ -d /var/lib/wordpress ] && rm -rf /var/lib/wordpress; status 17.107 + 17.108 if ( mysql -u root -Be 'show databases' | grep -q $db ); then 17.109 - echo -n "Deleting $db database" 17.110 - mysql -Be "drop database $db" ; status 17.111 + action "Deleting $db database" 17.112 + mysql -Be "drop database $db"; status 17.113 + 17.114 # We suppose that glpi user does not exist. 17.115 # It may be false. 17.116 - echo -n "Delete user $db_user" 17.117 - mysql -Be "delete from mysql.db where user='"$db_user"'" ; status 17.118 + action "Delete user $db_user" 17.119 + mysql -Be "delete from mysql.db where user='"$db_user"'"; status 17.120 fi 17.121 unset $answer 17.122 ;; 17.123 - *) 17.124 - ;; 17.125 - esac 17.126 - fi 17.127 + esac 17.128 }
18.1 --- a/wordwarvi/receipt Wed Mar 21 16:16:38 2018 +0200 18.2 +++ b/wordwarvi/receipt Thu Mar 22 04:47:38 2018 +0200 18.3 @@ -1,36 +1,31 @@ 18.4 -# SliTaz package receipt. 18.5 +# SliTaz package receipt v2. 18.6 18.7 PACKAGE="wordwarvi" 18.8 VERSION="1.00" 18.9 CATEGORY="games" 18.10 -SHORT_DESC="Retro shoot'em up game." 18.11 +SHORT_DESC="Retro shoot'em up game" 18.12 MAINTAINER="paul@slitaz.org" 18.13 LICENSE="GPL2" 18.14 +WEB_SITE="http://wordwarvi.sourceforge.net/" 18.15 + 18.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 18.17 -WEB_SITE="http://wordwarvi.sourceforge.net/" 18.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 18.19 -TAGS="shooting" 18.20 18.21 -DEPENDS="portaudio expat gtk+ libvorbis xorg-libX11 xorg-libXau 18.22 - xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext 18.23 - xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender 18.24 - xorg-libXdamage" 18.25 -BUILD_DEPENDS="libvorbis-dev libogg-dev portaudio portaudio-dev gtk+-dev 18.26 - xorg-libXrender-dev xorg-xproto xorg-renderproto 18.27 - xorg-kbproto xorg-pixman-dev glib-dev" 18.28 +BUILD_DEPENDS="libvorbis-dev libogg-dev portaudio portaudio-dev gtk+-dev \ 18.29 +xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-kbproto xorg-pixman-dev \ 18.30 +glib-dev" 18.31 18.32 -# Rules to configure and make the package. 18.33 -compile_rules() 18.34 -{ 18.35 - cd $src 18.36 - make && make DESTDIR=$DESTDIR install 18.37 +compile_rules() { 18.38 + make && make DESTDIR=$DESTDIR install || return 1 18.39 + 18.40 + cp -a stuff/* $install 18.41 } 18.42 18.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.44 -genpkg_rules() 18.45 -{ 18.46 - mkdir -p $fs/usr/share/wordwarvi 18.47 - cp -a $install/usr/bin $fs/usr 18.48 - cp -a $install/usr/share/wordwarvi/* $fs/usr/share/wordwarvi 18.49 - cp -a stuff/* $fs 18.50 +genpkg_rules() { 18.51 + copy @std 18.52 + DEPENDS="portaudio expat gtk+ libvorbis xorg-libX11 xorg-libXau \ 18.53 + xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ 18.54 + xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ 18.55 + xorg-libXdamage" 18.56 + TAGS="shooting" 18.57 }
19.1 --- a/wput/receipt Wed Mar 21 16:16:38 2018 +0200 19.2 +++ b/wput/receipt Thu Mar 22 04:47:38 2018 +0200 19.3 @@ -1,4 +1,4 @@ 19.4 -# SliTaz package receipt. 19.5 +# SliTaz package receipt v2. 19.6 19.7 PACKAGE="wput" 19.8 VERSION="0.6.2" 19.9 @@ -7,12 +7,11 @@ 19.10 MAINTAINER="l.lemarinel@gmail.com" 19.11 LICENSE="GPL2" 19.12 WEB_SITE="http://wput.sourceforge.net/" 19.13 -TARBALL="${PACKAGE}-${VERSION}.tgz" 19.14 + 19.15 +TARBALL="$PACKAGE-$VERSION.tgz" 19.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 19.17 19.18 -# Rules to configure and make the package. 19.19 -compile_rules() 19.20 -{ 19.21 +compile_rules() { 19.22 sed -i "s|^prefix *=.*|prefix = $DESTDIR/usr|" Makefile.in 19.23 ./configure \ 19.24 --prefix=/usr \ 19.25 @@ -23,9 +22,6 @@ 19.26 make DESTDIR=$DESTDIR install 19.27 } 19.28 19.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.30 -genpkg_rules() 19.31 -{ 19.32 - mkdir -p $fs/usr 19.33 - cp -a $install/usr/bin $fs/usr 19.34 +genpkg_rules() { 19.35 + copy @std 19.36 }
20.1 --- a/wv/receipt Wed Mar 21 16:16:38 2018 +0200 20.2 +++ b/wv/receipt Thu Mar 22 04:47:38 2018 +0200 20.3 @@ -27,18 +27,12 @@ 20.4 genpkg_rules() { 20.5 case $PACKAGE in 20.6 wv) 20.7 - mkdir -p $fs/usr/lib $fs/usr/share 20.8 - cp -a $install/usr/bin $fs/usr 20.9 - chmod +x $fs/usr/bin/* 20.10 - cp -a $install/usr/lib/*.so* $fs/usr/lib 20.11 - cp -a $install/usr/share/wv $fs/usr/share 20.12 + copy @std 20.13 + #chmod +x $fs/usr/bin/* 20.14 DEPENDS="glib libgsf libpng16 libxml2 zlib" 20.15 ;; 20.16 *-dev) 20.17 - mkdir -p $fs/usr/lib 20.18 - cp -a $install/usr/lib/*.*a $fs/usr/lib 20.19 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 20.20 - cp -a $install/usr/include $fs/usr 20.21 + copy @dev 20.22 ;; 20.23 esac 20.24 }