wok-next rev 20485
Packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 12 11:33:04 2018 +0200 (2018-03-12) |
parents | 7b3f1ed30793 |
children | 8923c7424549 |
files | marco/receipt palemoon/receipt pbzip2/receipt phpeasyvcs/receipt phpqrcode/receipt phpsysinfo/receipt pigz/receipt |
line diff
1.1 --- a/marco/receipt Mon Mar 12 10:29:19 2018 +0100 1.2 +++ b/marco/receipt Mon Mar 12 11:33:04 2018 +0200 1.3 @@ -12,7 +12,8 @@ 1.4 WGET_URL="https://github.com/mate-desktop/marco/archive/v$VERSION.tar.gz" 1.5 1.6 BUILD_DEPENDS="mate-common yelp-tools gtk+3-dev startup-notification-dev \ 1.7 -xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool xorg-xcb-util" 1.8 +xorg-libXcursor-dev libgtop-dev libcanberra-dev zenity itstool \ 1.9 +xorg-xcb-util-dev" 1.10 SPLIT="marco-dev" 1.11 1.12 compile_rules() {
2.1 --- a/palemoon/receipt Mon Mar 12 10:29:19 2018 +0100 2.2 +++ b/palemoon/receipt Mon Mar 12 11:33:04 2018 +0200 2.3 @@ -15,7 +15,7 @@ 2.4 DEPENDS="gtk+" 2.5 BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \ 2.6 iw libpng16-dev gstreamer0 gstreamer0-dev gst0-plugins-base-dev gst0-plugins-base \ 2.7 -libvpx-dev mesa-dev virtualenv zlib-dev bzip2-dev python-dev \ 2.8 +libvpx-dev mesa17-dev virtualenv zlib-dev bzip2-dev python-dev \ 2.9 xorg-pixman xorg-pixman-dev libffi libffi-dev libjpeg-turbo libjpeg-turbo-dev " # sqlite sqlite-dev libevent libevent-dev 2.10 2.11 # Rules to configure and make the package.
3.1 --- a/pbzip2/receipt Mon Mar 12 10:29:19 2018 +0100 3.2 +++ b/pbzip2/receipt Mon Mar 12 11:33:04 2018 +0200 3.3 @@ -1,27 +1,24 @@ 3.4 -# SliTaz package receipt. 3.5 +# SliTaz package receipt v2. 3.6 3.7 PACKAGE="pbzip2" 3.8 VERSION="1.1.9" 3.9 CATEGORY="base-system" 3.10 -SHORT_DESC="Parallel implementation of bzip2." 3.11 +SHORT_DESC="Parallel implementation of bzip2" 3.12 MAINTAINER="pascal.bellard@slitaz.org" 3.13 LICENSE="BSD" 3.14 +WEB_SITE="http://compression.ca" 3.15 + 3.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 3.17 -WEB_SITE="http://compression.ca" 3.18 WGET_URL="https://launchpad.net/pbzip2/${VERSION%.*}/$VERSION/+download/$TARBALL" 3.19 3.20 -DEPENDS="bzlib" 3.21 -BUILD_DEPENDS="bzip2-dev wget" 3.22 +BUILD_DEPENDS="bzip2-dev" 3.23 3.24 -# Rules to configure and make the package. 3.25 -compile_rules() 3.26 -{ 3.27 - make 3.28 +compile_rules() { 3.29 + make && 3.30 + install -Dm 755 $src/pbzip2 $install/usr/bin/pbzip2 3.31 } 3.32 3.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.34 -genpkg_rules() 3.35 -{ 3.36 - mkdir -p $fs/usr/bin 3.37 - cp $src/pbzip2 $fs/usr/bin 3.38 +genpkg_rules() { 3.39 + copy @std 3.40 + DEPENDS="bzlib" 3.41 }
4.1 --- a/phpeasyvcs/receipt Mon Mar 12 10:29:19 2018 +0100 4.2 +++ b/phpeasyvcs/receipt Mon Mar 12 11:33:04 2018 +0200 4.3 @@ -1,37 +1,31 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="phpeasyvcs" 4.8 -SOURCE="phpEasyVCS" 4.9 VERSION="1.0" 4.10 CATEGORY="network" 4.11 -SHORT_DESC="A simple version control system (VCS) and WebDAV server." 4.12 +SHORT_DESC="A simple version control system (VCS) and WebDAV server" 4.13 MAINTAINER="pascal.bellard@slitaz.org" 4.14 LICENSE="GPL3" 4.15 WEB_SITE="http://phpeasyvcs.sourceforge.net/" 4.16 -TARBALL="$SOURCE-$VERSION.zip" 4.17 + 4.18 +TARBALL="phpEasyVCS-$VERSION.zip" 4.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 4.20 4.21 -DEPENDS="php" 4.22 - 4.23 -# Rules to configure and make the package. 4.24 -compile_rules() 4.25 -{ 4.26 - cd $src 4.27 +compile_rules() { 4.28 + mkdir -p $install/usr/share 4.29 + cp -a $src $install/usr/share/phpeasyvcs 4.30 } 4.31 4.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.33 -genpkg_rules() 4.34 -{ 4.35 - mkdir -p $fs/usr/share 4.36 - cp -a $src $fs/usr/share/phpeasyvcs 4.37 +genpkg_rules() { 4.38 + copy @std 4.39 + DEPENDS="php" 4.40 } 4.41 4.42 -post_install() 4.43 -{ 4.44 +post_install() { 4.45 # Configure lighttpd server 4.46 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 4.47 if ! grep -q /usr/share/phpeasyvcs/ "$1/etc/lighttpd/lighttpd.conf"; then 4.48 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpeasyvcs/" => "/usr/share/phpeasyvcs/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 4.49 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpeasyvcs/" => "/usr/share/phpeasyvcs/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 4.50 if [ -z "$1" ]; then 4.51 # Start Web server. 4.52 /etc/init.d/lighttpd stop
5.1 --- a/phpqrcode/receipt Mon Mar 12 10:29:19 2018 +0100 5.2 +++ b/phpqrcode/receipt Mon Mar 12 11:33:04 2018 +0200 5.3 @@ -1,28 +1,24 @@ 5.4 -# SliTaz package receipt. 5.5 +# SliTaz package receipt v2. 5.6 5.7 PACKAGE="phpqrcode" 5.8 VERSION="1.1.4" 5.9 CATEGORY="development" 5.10 -SHORT_DESC="Library for generating QR Code, 2-dimensional barcode." 5.11 +SHORT_DESC="Library for generating QR Code, 2-dimensional barcode" 5.12 MAINTAINER="pascal.bellard@slitaz.org" 5.13 LICENSE="GPL3" 5.14 +WEB_SITE="http://phpqrcode.sourceforge.net/" 5.15 + 5.16 TARBALL="$PACKAGE-2010100721_$VERSION.zip" 5.17 -WEB_SITE="http://phpqrcode.sourceforge.net/" 5.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 5.19 5.20 -DEPENDS="qrencode php-gd" 5.21 - 5.22 -# Rules to configure and make the package. 5.23 -compile_rules() 5.24 -{ 5.25 - mv phpqrcode $src 2> /dev/null 5.26 +compile_rules() { 5.27 + mv phpqrcode $src 2>/dev/null 5.28 cd $src 5.29 + mkdir -p $install/usr/share/$PACKAGE 5.30 + cp -a $src $install/usr/share/$PACKAGE/ 5.31 } 5.32 5.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.34 -genpkg_rules() 5.35 -{ 5.36 - mkdir -p $fs/usr/share/$PACKAGE 5.37 - cp -a $src $fs//usr/share/$PACKAGE/ 5.38 +genpkg_rules() { 5.39 + copy @std 5.40 + DEPENDS="qrencode php-gd" 5.41 } 5.42 -
6.1 --- a/phpsysinfo/receipt Mon Mar 12 10:29:19 2018 +0100 6.2 +++ b/phpsysinfo/receipt Mon Mar 12 11:33:04 2018 +0200 6.3 @@ -1,23 +1,17 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="phpsysinfo" 6.8 VERSION="3.0.18" 6.9 CATEGORY="misc" 6.10 -SHORT_DESC="Displays information about your system nicely." 6.11 +SHORT_DESC="Displays information about your system nicely" 6.12 MAINTAINER="pascal.bellard@slitaz.org" 6.13 LICENSE="GPL2" 6.14 WEB_SITE="http://phpsysinfo.sourceforge.net/" 6.15 + 6.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 6.18 -CONFIG_FILES="/etc/phpsysinfo.conf" 6.19 6.20 -DEPENDS="php pcre-dev" 6.21 -BUILD_DEPENDS="" 6.22 - 6.23 -# Rules to configure and make the package. 6.24 -compile_rules() 6.25 -{ 6.26 - cd $src 6.27 +compile_rules() { 6.28 # SliTazisation from http://enira.net/?p=61 6.29 sed -i "s/'-q'/'-a | grep -i pts -c'/" includes/os/class.Linux.inc.php 6.30 grep -i slitaz data/distros.ini || cat >> data/distros.ini <<EOT 6.31 @@ -27,25 +21,28 @@ 6.32 Files = "/etc/slitaz-release" 6.33 6.34 EOT 6.35 + 6.36 + mkdir -p \ 6.37 + $install/usr/share/phpsysinfo \ 6.38 + $install/etc 6.39 + cp -a $src/* $install/usr/share/phpsysinfo 6.40 + chown -R www.www $install/usr/share/phpsysinfo 6.41 + mv $install/usr/share/phpsysinfo/config.php.new $install/etc/phpsysinfo.conf 6.42 + ln -s /etc/phpsysinfo.conf $install/usr/share/phpsysinfo/config.php 6.43 } 6.44 6.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.46 -genpkg_rules() 6.47 -{ 6.48 - mkdir -p $fs/usr/share/phpsysinfo $fs/etc 6.49 - cp -a $src/* $fs/usr/share/phpsysinfo 6.50 - chown -R www.www $fs/usr/share/phpsysinfo 6.51 - mv $fs/usr/share/phpsysinfo/config.php.new $fs/etc/phpsysinfo.conf 6.52 +genpkg_rules() { 6.53 + copy @std 6.54 chmod 600 $fs/etc/phpsysinfo.conf 6.55 - ln -s /etc/phpsysinfo.conf $fs/usr/share/phpsysinfo/config.php 6.56 + DEPENDS="php pcre-dev" 6.57 + CONFIG_FILES="/etc/phpsysinfo.conf" 6.58 } 6.59 6.60 -post_install() 6.61 -{ 6.62 +post_install() { 6.63 # Configure lighttpd server 6.64 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 6.65 if ! grep -q /usr/share/phpsysinfo/ "$1/etc/lighttpd/lighttpd.conf"; then 6.66 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpsysinfo/" => "/usr/share/phpsysinfo/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 6.67 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/phpsysinfo/" => "/usr/share/phpsysinfo/",|g' -i "$1/etc/lighttpd/lighttpd.conf" 6.68 if [ -z "$1" ]; then 6.69 # Start Web server. 6.70 /etc/init.d/lighttpd stop
7.1 --- a/pigz/receipt Mon Mar 12 10:29:19 2018 +0100 7.2 +++ b/pigz/receipt Mon Mar 12 11:33:04 2018 +0200 7.3 @@ -1,29 +1,27 @@ 7.4 -# SliTaz package receipt. 7.5 +# SliTaz package receipt v2. 7.6 7.7 PACKAGE="pigz" 7.8 VERSION="2.3.3" 7.9 CATEGORY="base-system" 7.10 -SHORT_DESC="Parallel Implementation of GZip." 7.11 +SHORT_DESC="Parallel Implementation of GZip" 7.12 MAINTAINER="pascal.bellard@slitaz.org" 7.13 LICENSE="Apache" 7.14 +WEB_SITE="http://www.zlib.net/pigz" 7.15 + 7.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 7.17 -WEB_SITE="http://www.zlib.net/pigz" 7.18 WGET_URL="$WEB_SITE/$TARBALL" 7.19 7.20 -DEPENDS="zlib" 7.21 BUILD_DEPENDS="zlib-dev" 7.22 7.23 -# Rules to configure and make the package. 7.24 -compile_rules() 7.25 -{ 7.26 +compile_rules() { 7.27 sed -i 's/-lz/& -lm/' Makefile 7.28 - make 7.29 + make || return 1 7.30 + 7.31 + install -Dm 755 $src/pigz $install/usr/bin/pigz 7.32 + ln -s pigz $install/usr/bin/unpigz 7.33 } 7.34 7.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.36 -genpkg_rules() 7.37 -{ 7.38 - mkdir -p $fs/usr/bin 7.39 - cp $src/pigz $fs/usr/bin 7.40 - ln -s pigz $fs/usr/bin/unpigz 7.41 +genpkg_rules() { 7.42 + copy @std 7.43 + DEPENDS="zlib" 7.44 }