wok-next rev 20456
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 03:33:54 2018 +0200 (2018-03-02) |
parents | 6d173c4b9591 |
children | c37be8966f03 |
files | GConf-dev/receipt GConf/receipt attica-dev/receipt attica/receipt boxbackup-client/description.txt boxbackup-client/receipt boxbackup-client/stuff/bbackupd boxbackup-server/description.txt boxbackup-server/receipt boxbackup-server/stuff/bbstored boxbackup/description.boxbackup-client.txt boxbackup/description.boxbackup-server.txt boxbackup/receipt boxbackup/stuff/bbackupd boxbackup/stuff/bbstored compiz-core-dev/receipt compiz-core/receipt compiz-plugins-extra-dev/receipt compiz-plugins-extra/receipt dbus-python-dev/receipt dbus-python/receipt discount-dev/receipt discount/receipt djvulibre-dev/receipt djvulibre/receipt freeglut-dev/receipt freeglut/receipt freetds-dev/receipt freetds/receipt freetype-infinality-dev/receipt freetype-infinality/receipt freetype1-dev/receipt freetype1/receipt frei0r-plugins-dev/receipt frei0r-plugins/receipt gamin-dev/receipt gamin/receipt gcc49-lib-base/receipt gcc49/receipt gcc54-lib-base/receipt gcc54/receipt gdb-dev/receipt gdb-python/receipt gdb/receipt gf2x-dev/receipt gf2x/receipt gnet-dev/receipt gnet/receipt gst0-python-dev/receipt gst0-python/receipt gtkdatabox-dev/receipt gtkdatabox/receipt gtkglext-dev/receipt gtkglext/receipt ibus-dev/receipt ibus/receipt ilmbase-dev/receipt ilmbase/receipt irrlicht-dev/receipt irrlicht/receipt jikes-dev/receipt jikes/receipt kqoauth-dev/receipt kqoauth/receipt lguest-libre/receipt libdnet-dev/receipt libdnet/receipt libdvdread-dev/receipt libdvdread/receipt libedit-dev/receipt libedit/receipt libglademm-dev/receipt libglademm/receipt libgtkhtml-dev/receipt libgtkhtml/receipt libjson-dev/receipt libjson/receipt liblognorm-dev/receipt liblognorm/receipt libmicrohttpd-dev/receipt libmicrohttpd/receipt libotr-dev/receipt libotr/receipt libquicktime-dev/receipt libquicktime/receipt libsexy-dev/receipt libsexy/receipt libsexymm-dev/receipt libsexymm/receipt libtar-dev/receipt libtar/receipt libupnp-dev/receipt libupnp/receipt libzdb-dev/receipt libzdb/receipt linux-libre/receipt lorcon-old-dev/receipt lorcon-old/description.txt lorcon-old/receipt luajit-dev/receipt luajit/receipt marlin-dev/receipt marlin/receipt memcached-dev/receipt memcached/receipt mencoder/receipt mplayer/receipt mxml-dev/receipt mxml/receipt nareto-doc/receipt nareto/receipt obby-dev/receipt obby/receipt ola-dev/receipt ola/receipt openal-dev/receipt openal/receipt opencore-amr-dev/receipt opencore-amr/receipt openmpi-dev/receipt openmpi/receipt pari-dev/receipt pari/receipt portaudio-dev/receipt portaudio/receipt python-ecore-dev/receipt python-ecore/receipt python-pygame-dev/receipt python-pygame/receipt python-stfl/receipt qasmixer/receipt qastools/receipt qpdf-dev/receipt qpdf/receipt qtkeychain-dev/receipt qtkeychain/receipt qupzilla-locales/receipt qupzilla/receipt rtmpdump-dev/receipt rtmpdump/receipt ruby-enterprise-doc/receipt ruby-enterprise/receipt sox-dev/receipt sox/receipt ssfs-server/receipt ssfs/receipt stfl/receipt sylpheed-dev/receipt sylpheed/receipt udev-dev/receipt udev/receipt vanessa_socket-dev/receipt vanessa_socket/receipt waterline-dev/receipt waterline/receipt wine-dev/receipt wine/receipt xfprint-dev/receipt xfprint/receipt xfwm4-themes/receipt xfwm4/receipt xplc-dev/receipt xplc/receipt |
line diff
1.1 --- a/GConf-dev/receipt Thu Mar 01 20:46:32 2018 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,28 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="GConf-dev" 1.7 -VERSION="2.32.3" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="GConf devel files." 1.10 -MAINTAINER="rcx@zoominternet.net" 1.11 -LICENSE="LGPL2" 1.12 -WEB_SITE="http://projects.gnome.org/gconf/" 1.13 -WANTED="GConf" 1.14 - 1.15 -DEPENDS="GConf ORBit2-dev pkg-config" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib/GConf/2/ 1.21 - cp -a $install/usr/lib/GConf/2/*.*a $fs/usr/lib/GConf/2 1.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.24 - 1.25 - mkdir -p $fs/usr/share 1.26 - cp -a $install/usr/share/aclocal $fs/usr/share 1.27 - cp -a $install/usr/share/sgml $fs/usr/share 1.28 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 1.29 - 1.30 - cp -a $install/usr/include $fs/usr 1.31 -}
2.1 --- a/GConf/receipt Thu Mar 01 20:46:32 2018 +0200 2.2 +++ b/GConf/receipt Fri Mar 02 03:33:54 2018 +0200 2.3 @@ -1,25 +1,21 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="GConf" 2.8 VERSION="2.32.3" 2.9 CATEGORY="utilities" 2.10 -SHORT_DESC="A configuration database system." 2.11 +SHORT_DESC="A configuration database system" 2.12 MAINTAINER="rcx@zoominternet.net" 2.13 LICENSE="LGPL2" 2.14 +WEB_SITE="http://projects.gnome.org/gconf/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.17 -WEB_SITE="http://projects.gnome.org/gconf/" 2.18 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 2.19 2.20 -DEPENDS="glibc-base glib dbus dbus-glib expat libxml2 zlib \ 2.21 -polkit ORBit2 atk cairo gtk+ fontconfig freetype pango xorg-pixman libpng16 \ 2.22 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ 2.23 -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" 2.24 BUILD_DEPENDS="intltool gettext openssl libcomerr3 gobject-introspection-dev \ 2.25 ORBit2-dev dbus-dev dbus-glib-dev polkit-dev libxml2-dev" 2.26 +SPLIT="GConf-dev" 2.27 2.28 -# Rules to configure and make the package. 2.29 -compile_rules() 2.30 -{ 2.31 +compile_rules() { 2.32 ./configure \ 2.33 --sysconfdir=/etc \ 2.34 --libexecdir=/usr/lib/GConf \ 2.35 @@ -27,16 +23,37 @@ 2.36 make && make install 2.37 } 2.38 2.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.40 -genpkg_rules() 2.41 -{ 2.42 - mkdir -p $fs/usr/lib $fs/usr/share 2.43 - cp -a $install/usr/lib/GConf $fs/usr/lib 2.44 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.45 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 2.46 - rm $fs/usr/lib/GConf/2/*.*a 2.47 - cp -a $install/usr/bin $fs/usr 2.48 - cp -a $install/etc $fs 2.49 - cp -a $install/usr/share/dbus-1 $fs/usr/share 2.50 - cp -a $install/usr/share/polkit-1 $fs/usr/share 2.51 +genpkg_rules() { 2.52 + case $PACKAGE in 2.53 + GConf) 2.54 + mkdir -p $fs/usr/lib $fs/usr/share 2.55 + cp -a $install/usr/lib/GConf $fs/usr/lib 2.56 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.57 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 2.58 + rm $fs/usr/lib/GConf/2/*.*a 2.59 + cp -a $install/usr/bin $fs/usr 2.60 + cp -a $install/etc $fs 2.61 + cp -a $install/usr/share/dbus-1 $fs/usr/share 2.62 + cp -a $install/usr/share/polkit-1 $fs/usr/share 2.63 + DEPENDS="glibc-base glib dbus dbus-glib expat libxml2 zlib polkit \ 2.64 + ORBit2 atk cairo gtk+ fontconfig freetype pango xorg-pixman \ 2.65 + libpng16 xorg-libX11 xorg-libXau xorg-libXcomposite \ 2.66 + xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ 2.67 + xorg-libXfixes xorg-libXinerama xorg-libXrender" 2.68 + ;; 2.69 + *-dev) 2.70 + mkdir -p $fs/usr/lib/GConf/2/ 2.71 + cp -a $install/usr/lib/GConf/2/*.*a $fs/usr/lib/GConf/2 2.72 + cp -a $install/usr/lib/*.*a $fs/usr/lib 2.73 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.74 + 2.75 + mkdir -p $fs/usr/share 2.76 + cp -a $install/usr/share/aclocal $fs/usr/share 2.77 + cp -a $install/usr/share/sgml $fs/usr/share 2.78 + cp -a $install/usr/share/gir-1.0 $fs/usr/share 2.79 + 2.80 + cp -a $install/usr/include $fs/usr 2.81 + DEPENDS="GConf ORBit2-dev" 2.82 + ;; 2.83 + esac 2.84 }
3.1 --- a/attica-dev/receipt Thu Mar 01 20:46:32 2018 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,20 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="attica-dev" 3.7 -VERSION="0.4.2" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="Attica devel file." 3.10 -MAINTAINER="pankso@slitaz.org" 3.11 -LICENSE="LGPL2.1" 3.12 -WANTED="attica" 3.13 -WEB_SITE="http://www.kde.org/" 3.14 - 3.15 -DEPENDS="attica pkg-config" 3.16 - 3.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 -genpkg_rules() 3.19 -{ 3.20 - mkdir -p $fs/usr/lib 3.21 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.22 - cp -a $install/usr/include $fs/usr 3.23 -}
4.1 --- a/attica/receipt Thu Mar 01 20:46:32 2018 +0200 4.2 +++ b/attica/receipt Fri Mar 02 03:33:54 2018 +0200 4.3 @@ -1,22 +1,20 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="attica" 4.8 VERSION="0.4.2" 4.9 CATEGORY="system-tools" 4.10 -SHORT_DESC="Qt library that implements the Open Collaboration Services API." 4.11 +SHORT_DESC="Qt library that implements the Open Collaboration Services API" 4.12 MAINTAINER="pankso@slitaz.org" 4.13 LICENSE="LGPL2.1" 4.14 +WEB_SITE="http://www.kde.org/" 4.15 + 4.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.17 -WEB_SITE="http://www.kde.org/" 4.18 WGET_URL="ftp://ftp.kde.org/pub/kde/stable/attica/$TARBALL" 4.19 4.20 -DEPENDS="libQtCore libQtNetwork" 4.21 BUILD_DEPENDS="cmake qmake Qt4-dev" 4.22 +SPLIT="attica-dev" 4.23 4.24 -# Rules to configure and make the package. 4.25 -compile_rules() 4.26 -{ 4.27 - cd $src 4.28 +compile_rules() { 4.29 mkdir -p build && cd build 4.30 cmake \ 4.31 -DCMAKE_INSTALL_PREFIX=/usr \ 4.32 @@ -25,9 +23,14 @@ 4.33 make DESTDIR=$DESTDIR install 4.34 } 4.35 4.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.37 -genpkg_rules() 4.38 -{ 4.39 - mkdir -p $fs/usr/lib 4.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 4.41 +genpkg_rules() { 4.42 + case $PACKAGE in 4.43 + attica) 4.44 + copy @std 4.45 + DEPENDS="libQtCore libQtNetwork" 4.46 + ;; 4.47 + *-dev) 4.48 + copy @dev 4.49 + ;; 4.50 + esac 4.51 }
5.1 --- a/boxbackup-client/description.txt Thu Mar 01 20:46:32 2018 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,22 +0,0 @@ 5.4 -BoxBackup Client (bbackupd) 5.5 - 5.6 -BoxBackup is designed to be easy to set up and run, and cheap to use. 5.7 -Once set up, there should be no need for user or administrative 5.8 -intervention, apart from usual system maintenance. 5.9 - 5.10 -bbackupd is configured with a list of directories to back up. It has a 5.11 -lazy approach to backing up data. Every so often, the directories are 5.12 -scanned, and new data is uploaded to the server. 5.13 - 5.14 -The daemon is always running, although sleeping most of the time. In 5.15 -lazy mode, it is completely self contained - scripts running under cron 5.16 -jobs are not used. 5.17 - 5.18 -If an old version of the file is present on the server, a modified 5.19 -version of the rsync algorithm is used to upload only the changed 5.20 -portions of the file. 5.21 - 5.22 -After a new version is uploaded, the old version is still available 5.23 -(subject to disc space on the server). Similarly, a deleted file is 5.24 -still available. The only limit to their availability is space allocated 5.25 -to this account on the server.
6.1 --- a/boxbackup-client/receipt Thu Mar 01 20:46:32 2018 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,89 +0,0 @@ 6.4 -# SliTaz package receipt. 6.5 - 6.6 -PACKAGE="boxbackup-client" 6.7 -VERSION="0.11.1" 6.8 -CATEGORY="network" 6.9 -SHORT_DESC="Client for the BoxBackup on-line backup system" 6.10 -MAINTAINER="domcox@slitaz.org" 6.11 -LICENSE="GPL2" 6.12 -SOURCE="boxbackup" 6.13 -WANTED="boxbackup-server" 6.14 -WEB_SITE="http://www.boxbackup.org/" 6.15 -TAGS="backup automatic client" 6.16 - 6.17 -DEPENDS="db libedit openssl perl zlib gcc-lib-base" 6.18 - 6.19 -# Configuration variables 6.20 -CONF_DIR="/etc/boxbackup" 6.21 -DATA_DIR="/var/lib/bbackupd" 6.22 -RUN_DMON=0 6.23 - 6.24 -# Rules to gen a SliTaz package suitable for Tazpkg 6.25 -genpkg_rules() 6.26 -{ 6.27 - mkdir -p $fs/usr/bin 6.28 - cp -a $install/boxbackup-${VERSION}-backup-client-linux-gnu/bb* $fs/usr/bin 6.29 - rm -f $fs/usr/bin/*.* 6.30 - mkdir -p $fs/etc/init.d 6.31 - cp -a $stuff/bbackupd $fs/etc/init.d 6.32 -} 6.33 - 6.34 -# Pre and post install commands for Tazpkg 6.35 - 6.36 -pre_install() 6.37 -{ 6.38 - # Stop daemon 6.39 - if [ -z "$1" -a -e /var/run/bbackupd.pid ]; then 6.40 - /etc/init.d/bbackupd stop 6.41 - RUN_DMON=1 6.42 - fi 6.43 -} 6.44 - 6.45 -post_install() 6.46 -{ 6.47 - # Creating conf dir 6.48 - if [ ! -e "$1/$CONF_DIR" ]; then 6.49 - mkdir -p "$1/$CONF_DIR" && chmod 755 "$1/$CONF_DIR" 6.50 - fi 6.51 - if [ ! -e "$1/$DATA_DIR" ]; then 6.52 - mkdir -p "$1/$DATA_DIR" && chmod 700 "$1/$DATA_DIR" 6.53 - fi 6.54 - if [ -z "$1" ]; then 6.55 - # Start daemon (if stopped by install) 6.56 - if [ $RUN_DMON -eq 1 ]; then 6.57 - /etc/init.d/bbackupd start 6.58 - fi 6.59 - fi 6.60 - true 6.61 -} 6.62 - 6.63 -# Pre and post remove commands for Tazpkg 6.64 - 6.65 -pre_remove() 6.66 -{ 6.67 - # Stop daemon 6.68 - if [ -z "$1" ]; then 6.69 - if [ -e /var/run/bbackupd.pid ]; then 6.70 - /etc/init.d/bbackupd stop 6.71 - fi 6.72 - fi 6.73 -} 6.74 - 6.75 -post_remove() 6.76 -{ 6.77 - # Delete DATA directory 6.78 - rm -rf "$1/$DATA_DIR" 6.79 - 6.80 - # Delete Client config files 6.81 - rm -rf "$1/$CONF_DIR"/bbackupd* 6.82 - 6.83 - # Delete CONF dir (if empty) 6.84 - if [ $(ls -lA "$1/$CONF_DIR" | wc -l) -eq 0 ]; then 6.85 - echo 6.86 - action "Removing $CONF_DIR..." 6.87 - rm -rf "$1/$CONF_DIR" 6.88 - status 6.89 - fi 6.90 - # Delete PID, sock files 6.91 - rm -f "$1/var/run/bbackupd".* 6.92 -}
7.1 --- a/boxbackup-client/stuff/bbackupd Thu Mar 01 20:46:32 2018 +0200 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,56 +0,0 @@ 7.4 -#!/bin/sh 7.5 -# /etc/init.d/bbackupd: Start, stop and restart bbackupd daemon on SliTaz, at boot 7.6 -# time or with the command line. 7.7 -# 7.8 -# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 7.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 7.10 -# 7.11 -. /etc/init.d/rc.functions 7.12 -. /etc/daemons.conf 7.13 - 7.14 -NAME=BBackupd 7.15 -DESC="$(_ '%s daemon' BoxBackup)" 7.16 -DAEMON=/usr/bin/bbackupd 7.17 -OPTIONS=$BBSTORED_OPTIONS 7.18 -PIDFILE=/var/run/bbackupd.pid 7.19 - 7.20 -case "$1" in 7.21 - start) 7.22 - if active_pidfile $PIDFILE bbackupd ; then 7.23 - _ '%s is already running.' $NAME 7.24 - exit 1 7.25 - fi 7.26 - action 'Starting %s: %s...' "$DESC" $NAME 7.27 - $DAEMON $OPTIONS >/dev/null 7.28 - status 7.29 - ;; 7.30 - stop) 7.31 - if ! active_pidfile $PIDFILE bbackupd ; then 7.32 - _ '%s is not running.' $NAME 7.33 - exit 1 7.34 - fi 7.35 - action 'Stopping %s: %s...' "$DESC" $NAME 7.36 - kill $(cat $PIDFILE) 7.37 - rm -f $PIDFILE 7.38 - status 7.39 - ;; 7.40 - restart) 7.41 - if ! active_pidfile $PIDFILE bbackupd ; then 7.42 - _ '%s is not running.' $NAME 7.43 - exit 1 7.44 - fi 7.45 - action 'Restarting %s: %s...' "$DESC" $NAME 7.46 - kill $(cat $PIDFILE) 7.47 - rm -f $PIDFILE 7.48 - sleep 2 7.49 - $DAEMON $OPTIONS >/dev/null 7.50 - status 7.51 - ;; 7.52 - *) 7.53 - emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 7.54 - newline 7.55 - exit 1 7.56 - ;; 7.57 -esac 7.58 - 7.59 -exit 0
8.1 --- a/boxbackup-server/description.txt Thu Mar 01 20:46:32 2018 +0200 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,37 +0,0 @@ 8.4 -Server for the BoxBackup on-line backup system. 8.5 - 8.6 -Box Backup is an open source, completely automatic, on-line backup system. 8.7 -It has the following key features: 8.8 - 8.9 - * All backed up data is stored on the server in files on a filesystem - 8.10 - no tape, archive or other special devices are required. 8.11 - 8.12 - * The server is trusted only to make files available when they are 8.13 - required - all data is encrypted and can be decoded only by the 8.14 - original client. This makes it ideal for backing up over an untrusted 8.15 - network (such as the Internet), or where the server is in an 8.16 - uncontrolled environment. 8.17 - 8.18 - * A backup daemon runs on systems to be backed up, and copies encrypted 8.19 - data to the server when it notices changes - so backups are continuous 8.20 - and up-to-date (although traditional snapshot backups are possible too). 8.21 - 8.22 - * Only changes within files are sent to the server, just like rsync, 8.23 - minimising the bandwidth used between clients and server. This makes it 8.24 - particularly suitable for backing up between distant locations, or over 8.25 - the Internet. 8.26 - 8.27 - * It behaves like tape - old file versions and deleted files are available. 8.28 - 8.29 - * Old versions of files on the server are stored as changes from the 8.30 - current version, minimising the storage space required on the server. 8.31 - Files are the server are also compressed to minimise their size. 8.32 - 8.33 - * Choice of backup behaviour - it can be optimised for document or server 8.34 - backup. 8.35 - 8.36 - * It is designed to be easy and cheap to run a server. It has a portable 8.37 - implementation, and optional RAID implemented in userland for reliability 8.38 - without complex server setup or expensive hardware. 8.39 - 8.40 -Box Backup is distributed under a BSD license.
9.1 --- a/boxbackup-server/receipt Thu Mar 01 20:46:32 2018 +0200 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,205 +0,0 @@ 9.4 -# SliTaz package receipt. 9.5 - 9.6 -PACKAGE="boxbackup-server" 9.7 -VERSION="0.11.1" 9.8 -CATEGORY="network" 9.9 -SHORT_DESC="Server for the BoxBackup on-line backup system" 9.10 -MAINTAINER="domcox@slitaz.org" 9.11 -LICENSE="GPL2" 9.12 -WEB_SITE="http://www.boxbackup.org/" 9.13 -SOURCE="boxbackup" 9.14 -TARBALL="$SOURCE-$VERSION.tgz" 9.15 -# stable 9.16 -# WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 9.17 -#WGET_URL="http://www.boxbackup.org/svn/box/packages/$TARBALL" 9.18 -WGET_URL="http://www.boxbackup.org/export/3106/box/packages/$TARBALL" 9.19 -TAGS="backup automatic server network" 9.20 - 9.21 -DEPENDS="db libedit openssl perl zlib gcc-lib-base" 9.22 -BUILD_DEPENDS="db-dev libedit-dev openssl-dev zlib-dev perl" 9.23 - 9.24 -# Configuration variables 9.25 -HOSTNAME=$(ifconfig | awk -F ":" '/cast/ {print substr($2,0, index($2," ")-1) }') 9.26 -CONF_DIR="/etc/boxbackup" 9.27 -DATA_DIR="/var/lib/bbstored" 9.28 -CA_DIR="${CONF_DIR}/ca" 9.29 -BBUSER="bbstored" 9.30 - 9.31 -# Rules to configure and make the package. 9.32 -compile_rules() 9.33 -{ 9.34 - ./configure --prefix=/usr $CONFIGURE_ARGS && 9.35 - make -j1 && { 9.36 - mkdir -p $DESTDIR 9.37 - cp -a parcels/boxbackup-${VERSION}-backup-client-linux-gnu $DESTDIR 9.38 - cp -a parcels/boxbackup-${VERSION}-backup-server-linux-gnu $DESTDIR 9.39 - rm -f $DESTDIR/boxbackup-${VERSION}-backup-server-linux-gnu/*.* 9.40 - } 9.41 - 9.42 - cook_pick_manpages $src/docs/man/* 9.43 -} 9.44 - 9.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.46 -genpkg_rules() 9.47 -{ 9.48 - mkdir -p $fs/usr/bin 9.49 - cp -a $install/boxbackup-${VERSION}-backup-server-linux-gnu/bb* $fs/usr/bin 9.50 - cp -a $install/boxbackup-${VERSION}-backup-server-linux-gnu/ra* $fs/usr/bin 9.51 - mkdir -p $fs/etc/init.d 9.52 - cp -a $stuff/bbstored $fs/etc/init.d 9.53 -} 9.54 - 9.55 - 9.56 -# Pre and post install commands for Tazpkg. 9.57 - 9.58 -pre_install() 9.59 -{ 9.60 - # Stop daemon 9.61 - if [ -z "$1" -a -e /var/run/bbstored.pid ]; then 9.62 - /etc/init.d/bbstored stop 9.63 - fi 9.64 -} 9.65 - 9.66 -post_install() 9.67 -{ 9.68 - # default conf dir is now /etc/boxbackup 9.69 - if [ ! -e "$1/etc/box/bbstored.conf" ]; then 9.70 - mv "$1/etc/box" "$1$CONF_DIR" 9.71 - fi 9.72 - 9.73 - # adduser BBUSER if needed 9.74 - if ! grep -q $BBUSER "$1/etc/passwd"; then 9.75 - echo 9.76 - action "Adding user '$BBUSER'..." 9.77 - echo $BBUSER':x:505:505:BoxBackup Network Backup:/dev/null:/bin/false' >> "$1/etc/passwd" 9.78 - echo $BBUSER':!:14013:0:99999:7:::' >> "$1/etc/shadow" 9.79 - echo $BBUSER':x:505:' >> "$1/etc/group" 9.80 - echo $BBUSER':!::' >> "$1/etc/gshadow" 9.81 - status 9.82 - fi 9.83 - 9.84 - # Create config is needed 9.85 - if [ ! -e "$1$CONF_DIR" ]; then 9.86 - mkdir -p "$1$CONF_DIR" && 9.87 - chroot "$1/" chown $BBUSER $CONF_DIR && 9.88 - chmod 700 "$1$CONF_DIR" 9.89 - fi 9.90 - 9.91 - if [ ! -e "$1$DATA_DIR/backup" ]; then 9.92 - # Creating backup dir 9.93 - action "Creating backup directory..." 9.94 - mkdir -p "$1$DATA_DIR/backup" && 9.95 - chroot "$1/" chown -R $BBUSER $DATA_DIR && 9.96 - chmod -R 700 "$1$DATA_DIR" 9.97 - status 9.98 - fi 9.99 - 9.100 - if [ ! -e "$1$CONF_DIR/raidfile.conf" ]; then 9.101 - # RAID Setup 9.102 - action "Disabling deprecated userland RAID..." 9.103 - chroot "$1/" /usr/bin/raidfile-config $CONF_DIR 2048 $DATA_DIR 2>1 > /dev/null 9.104 - status 9.105 - chroot "$1/" chown -R $BBUSER $CONF_DIR/raidfile.conf && 9.106 - chmod 700 -R "$1$CONF_DIR/raidfile.conf" 9.107 - fi 9.108 - 9.109 - if [ ! -e "$1$CONF_DIR/bbstored.conf" ]; then 9.110 - # Setting hostname 9.111 - action "Setting hostname... " 9.112 - if [ $(chroot "$1/" hostname -f 2>1 > /dev/null;echo $?) -eq 0 ]; then 9.113 - HOSTNAME=$(chroot "$1/" hostname -f) 9.114 - fi 9.115 - if [ -z $HOSTNAME ]; then 9.116 - HOSTNAME="127.0.0.1" 9.117 - fi 9.118 - export $HOSTNAME 9.119 - echo $HOSTNAME 9.120 - 9.121 - # Setting up the CA environment 9.122 - action "Creating certificates..." 9.123 - chroot "$1/" /usr/bin/bbstored-certs $CA_DIR init 2>1 > /dev/null 9.124 - status 9.125 - 9.126 - # Generate server certificate request 9.127 - action "Generate server certificate request..." 9.128 - chroot "$1/" bbstored-config $CONF_DIR $HOSTNAME $BBUSER 2>1 > /dev/null 9.129 - status 9.130 - 9.131 - # Sign the server certificate 9.132 - action "Sign the server certificate..." 9.133 - chroot "$1/" openssl x509 -req -sha1 -extensions usr_crt \ 9.134 - -in $CONF_DIR/$BBUSER/${HOSTNAME}-csr.pem \ 9.135 - -CA $CA_DIR/roots/serverCA.pem \ 9.136 - -CAkey $CA_DIR/keys/serverRootKey.pem \ 9.137 - -out $CA_DIR/servers/${HOSTNAME}-cert.pem \ 9.138 - -days 5000 2>1 > /dev/null 9.139 - status 9.140 - 9.141 - # Preparing the server certificates 9.142 - action "Installing server certificate..." 9.143 - cp -a "$1$CA_DIR/servers/${HOSTNAME}-cert.pem" "$1$CONF_DIR/$BBUSER" 9.144 - status 9.145 - action "Installing client certificate..." 9.146 - cp -a "$1$CA_DIR/roots/clientCA.pem" "$1$CONF_DIR/$BBUSER" 9.147 - status 9.148 - 9.149 - # Securing $CONF_DIR 9.150 - chroot "$1/" chown -R $BBUSER $CONF_DIR/bbstored* && 9.151 - chmod 700 -R "$1$CONF_DIR/bbstored"* 9.152 - fi 9.153 - 9.154 - if [ -e "$1$CA_DIR" ]; then 9.155 - # Warning 9.156 - echo 9.157 - echo "IMPORTANT NOTE:" 9.158 - echo "--------------" 9.159 - echo "The certificate authority directory $CA_DIR is intended to be" 9.160 - echo "moved to another system. It should not be kept on the backup server" 9.161 - echo "to limit the impact of a server compromise." 9.162 - fi 9.163 -} 9.164 - 9.165 -# Pre and post remove commands for Tazpkg 9.166 - 9.167 -pre_remove() 9.168 -{ 9.169 - /etc/init.d/bbstored stop 9.170 -} 9.171 - 9.172 -post_remove() 9.173 -{ 9.174 - echo 9.175 - if grep -q $BBUSER /etc/passwd; then 9.176 - action "Removing $BBUSER user..." 9.177 - deluser bbstored 9.178 - status 9.179 - fi 9.180 - # Delete data 9.181 - if [ -e $DATA_DIR ]; then 9.182 - action "Removing all backup data..." 9.183 - rm -r $DATA_DIR 9.184 - status 9.185 - fi 9.186 - # Delete bbstored conf files 9.187 - if [ -e $CONF_DIR/bbstored.conf ]; then 9.188 - action "Removing config files..." 9.189 - rm -rf $CONF_DIR/bbstored 9.190 - rm -f $CONF_DIR/raidfile.conf 9.191 - rm -f $CONF_DIR/bbstored.conf 9.192 - status 9.193 - fi 9.194 - # Delete certificates 9.195 - if [ -e $CA_DIR ]; then 9.196 - action "Removing certificates..." 9.197 - rm -r $CA_DIR 9.198 - status 9.199 - fi 9.200 - # Delete $CONF_DIR (if empty) 9.201 - if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then 9.202 - action "Removing $CONF_DIR..." 9.203 - rm -r $CONF_DIR 9.204 - status 9.205 - fi 9.206 - # Delete PID, sock files 9.207 - rm -f /var/run/bbstored.* 9.208 -}
10.1 --- a/boxbackup-server/stuff/bbstored Thu Mar 01 20:46:32 2018 +0200 10.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 10.3 @@ -1,56 +0,0 @@ 10.4 -#!/bin/sh 10.5 -# /etc/init.d/bbstored: Start, stop and restart bbstored daemon on SliTaz, at boot 10.6 -# time or with the command line. 10.7 -# 10.8 -# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 10.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 10.10 -# 10.11 -. /etc/init.d/rc.functions 10.12 -. /etc/daemons.conf 10.13 - 10.14 -NAME=BBstored 10.15 -DESC="$(_ 'BoxBackup server daemon')" 10.16 -DAEMON=/usr/bin/bbstored 10.17 -OPTIONS=$BBSTORED_OPTIONS 10.18 -PIDFILE=/var/run/bbstored.pid 10.19 - 10.20 -case "$1" in 10.21 - start) 10.22 - if active_pidfile $PIDFILE bbstored ; then 10.23 - _ '%s is already running.' $NAME 10.24 - exit 1 10.25 - fi 10.26 - action 'Starting %s: %s...' "$DESC" $NAME 10.27 - $DAEMON $OPTIONS >/dev/null 10.28 - status 10.29 - ;; 10.30 - stop) 10.31 - if ! active_pidfile $PIDFILE bbstored ; then 10.32 - _ '%s is not running.' $NAME 10.33 - exit 1 10.34 - fi 10.35 - action 'Stopping %s: %s...' "$DESC" $NAME 10.36 - kill $(cat $PIDFILE) 10.37 - rm -f $PIDFILE 10.38 - status 10.39 - ;; 10.40 - restart) 10.41 - if ! active_pidfile $PIDFILE bbstored ; then 10.42 - _ '%s is not running.' $NAME 10.43 - exit 1 10.44 - fi 10.45 - action 'Restarting %s: %s...' "$DESC" $NAME 10.46 - kill $(cat $PIDFILE) 10.47 - rm -f $PIDFILE 10.48 - sleep 2 10.49 - $DAEMON $OPTIONS >/dev/null 10.50 - status 10.51 - ;; 10.52 - *) 10.53 - emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 10.54 - newline 10.55 - exit 1 10.56 - ;; 10.57 -esac 10.58 - 10.59 -exit 0
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/boxbackup/description.boxbackup-client.txt Fri Mar 02 03:33:54 2018 +0200 11.3 @@ -0,0 +1,22 @@ 11.4 +BoxBackup Client (bbackupd) 11.5 + 11.6 +BoxBackup is designed to be easy to set up and run, and cheap to use. 11.7 +Once set up, there should be no need for user or administrative 11.8 +intervention, apart from usual system maintenance. 11.9 + 11.10 +bbackupd is configured with a list of directories to back up. It has a 11.11 +lazy approach to backing up data. Every so often, the directories are 11.12 +scanned, and new data is uploaded to the server. 11.13 + 11.14 +The daemon is always running, although sleeping most of the time. In 11.15 +lazy mode, it is completely self contained - scripts running under cron 11.16 +jobs are not used. 11.17 + 11.18 +If an old version of the file is present on the server, a modified 11.19 +version of the rsync algorithm is used to upload only the changed 11.20 +portions of the file. 11.21 + 11.22 +After a new version is uploaded, the old version is still available 11.23 +(subject to disc space on the server). Similarly, a deleted file is 11.24 +still available. The only limit to their availability is space allocated 11.25 +to this account on the server.
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/boxbackup/description.boxbackup-server.txt Fri Mar 02 03:33:54 2018 +0200 12.3 @@ -0,0 +1,37 @@ 12.4 +Server for the BoxBackup on-line backup system. 12.5 + 12.6 +Box Backup is an open source, completely automatic, on-line backup system. 12.7 +It has the following key features: 12.8 + 12.9 + * All backed up data is stored on the server in files on a filesystem - 12.10 + no tape, archive or other special devices are required. 12.11 + 12.12 + * The server is trusted only to make files available when they are 12.13 + required - all data is encrypted and can be decoded only by the 12.14 + original client. This makes it ideal for backing up over an untrusted 12.15 + network (such as the Internet), or where the server is in an 12.16 + uncontrolled environment. 12.17 + 12.18 + * A backup daemon runs on systems to be backed up, and copies encrypted 12.19 + data to the server when it notices changes - so backups are continuous 12.20 + and up-to-date (although traditional snapshot backups are possible too). 12.21 + 12.22 + * Only changes within files are sent to the server, just like rsync, 12.23 + minimising the bandwidth used between clients and server. This makes it 12.24 + particularly suitable for backing up between distant locations, or over 12.25 + the Internet. 12.26 + 12.27 + * It behaves like tape - old file versions and deleted files are available. 12.28 + 12.29 + * Old versions of files on the server are stored as changes from the 12.30 + current version, minimising the storage space required on the server. 12.31 + Files are the server are also compressed to minimise their size. 12.32 + 12.33 + * Choice of backup behaviour - it can be optimised for document or server 12.34 + backup. 12.35 + 12.36 + * It is designed to be easy and cheap to run a server. It has a portable 12.37 + implementation, and optional RAID implemented in userland for reliability 12.38 + without complex server setup or expensive hardware. 12.39 + 12.40 +Box Backup is distributed under a BSD license.
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/boxbackup/receipt Fri Mar 02 03:33:54 2018 +0200 13.3 @@ -0,0 +1,282 @@ 13.4 +# SliTaz package receipt v2. 13.5 + 13.6 +PACKAGE="boxbackup" 13.7 +VERSION="0.11.1" 13.8 +CATEGORY="meta" 13.9 +SHORT_DESC="BoxBackup on-line backup system" 13.10 +MAINTAINER="domcox@slitaz.org" 13.11 +LICENSE="GPL2" 13.12 +WEB_SITE="http://www.boxbackup.org/" 13.13 + 13.14 +TARBALL="boxbackup-$VERSION.tgz" 13.15 +# stable 13.16 +# WGET_URL="$SF_MIRROR/boxbackup/$TARBALL" 13.17 +#WGET_URL="http://www.boxbackup.org/svn/box/packages/$TARBALL" 13.18 +WGET_URL="http://www.boxbackup.org/export/3106/box/packages/$TARBALL" 13.19 + 13.20 +BUILD_DEPENDS="db-dev libedit-dev openssl-dev zlib-dev perl" 13.21 +SPLIT="boxbackup-client boxbackup-server" 13.22 + 13.23 +# Configuration variables 13.24 + 13.25 +compile_rules() { 13.26 + ./configure \ 13.27 + --prefix=/usr \ 13.28 + $CONFIGURE_ARGS && 13.29 + make -j1 && 13.30 + { 13.31 + mkdir -p $DESTDIR 13.32 + cp -a parcels/boxbackup-$VERSION-backup-client-linux-gnu $DESTDIR 13.33 + cp -a parcels/boxbackup-$VERSION-backup-server-linux-gnu $DESTDIR 13.34 + rm -f $DESTDIR/boxbackup-$VERSION-backup-server-linux-gnu/*.* 13.35 + } 13.36 + 13.37 + cook_pick_manpages $src/docs/man/* 13.38 +} 13.39 + 13.40 +genpkg_rules() { 13.41 + case $PACKAGE in 13.42 + boxbackup) 13.43 + DEPENDS="$SPLIT" 13.44 + ;; 13.45 + *-client) 13.46 + mkdir -p $fs/usr/bin 13.47 + cp -a $install/boxbackup-$VERSION-backup-client-linux-gnu/bb* $fs/usr/bin 13.48 + rm -f $fs/usr/bin/*.* 13.49 + mkdir -p $fs/etc/init.d 13.50 + cp -a $stuff/bbackupd $fs/etc/init.d 13.51 + CAT="network|client" 13.52 + DEPENDS="db libedit openssl perl zlib gcc-lib-base" 13.53 + TAGS="backup automatic client" 13.54 + ;; 13.55 + *-server) 13.56 + mkdir -p $fs/usr/bin 13.57 + cp -a $install/boxbackup-$VERSION-backup-server-linux-gnu/bb* $fs/usr/bin 13.58 + cp -a $install/boxbackup-$VERSION-backup-server-linux-gnu/ra* $fs/usr/bin 13.59 + mkdir -p $fs/etc/init.d 13.60 + cp -a $stuff/bbstored $fs/etc/init.d 13.61 + CAT="network|server" 13.62 + DEPENDS="db libedit openssl perl zlib gcc-lib-base" 13.63 + TAGS="backup automatic server network" 13.64 + ;; 13.65 + esac 13.66 +} 13.67 + 13.68 +pre_install_boxbackup_client() { 13.69 + RUN_DMON=0 13.70 + 13.71 + # Stop daemon 13.72 + if [ -z "$1" -a -e /var/run/bbackupd.pid ]; then 13.73 + /etc/init.d/bbackupd stop 13.74 + RUN_DMON=1 13.75 + fi 13.76 +} 13.77 + 13.78 +post_install_boxbackup_client() { 13.79 + CONF_DIR="/etc/boxbackup" 13.80 + DATA_DIR="/var/lib/bbackupd" 13.81 + 13.82 + # Creating conf dir 13.83 + if [ ! -e "$1/$CONF_DIR" ]; then 13.84 + mkdir -p "$1/$CONF_DIR" && chmod 755 "$1/$CONF_DIR" 13.85 + fi 13.86 + if [ ! -e "$1/$DATA_DIR" ]; then 13.87 + mkdir -p "$1/$DATA_DIR" && chmod 700 "$1/$DATA_DIR" 13.88 + fi 13.89 + if [ -z "$1" ]; then 13.90 + # Start daemon (if stopped by install) 13.91 + if [ $RUN_DMON -eq 1 ]; then 13.92 + /etc/init.d/bbackupd start 13.93 + fi 13.94 + fi 13.95 + true 13.96 +} 13.97 + 13.98 +pre_remove_boxbackup_client() { 13.99 + # Stop daemon 13.100 + if [ -z "$1" ]; then 13.101 + if [ -e /var/run/bbackupd.pid ]; then 13.102 + /etc/init.d/bbackupd stop 13.103 + fi 13.104 + fi 13.105 +} 13.106 + 13.107 +post_remove_boxbackup_client() { 13.108 + CONF_DIR="/etc/boxbackup" 13.109 + DATA_DIR="/var/lib/bbackupd" 13.110 + 13.111 + # Delete DATA directory 13.112 + rm -rf "$1/$DATA_DIR" 13.113 + 13.114 + # Delete Client config files 13.115 + rm -rf "$1/$CONF_DIR"/bbackupd* 13.116 + 13.117 + # Delete CONF dir (if empty) 13.118 + if [ $(ls -lA "$1/$CONF_DIR" | wc -l) -eq 0 ]; then 13.119 + echo 13.120 + action "Removing $CONF_DIR..." 13.121 + rm -rf "$1/$CONF_DIR" 13.122 + status 13.123 + fi 13.124 + # Delete PID, sock files 13.125 + rm -f "$1/var/run/bbackupd".* 13.126 +} 13.127 + 13.128 + 13.129 +pre_install_boxbackup_server() { 13.130 + # Stop daemon 13.131 + if [ -z "$1" -a -e /var/run/bbstored.pid ]; then 13.132 + /etc/init.d/bbstored stop 13.133 + fi 13.134 +} 13.135 + 13.136 +post_install_boxbackup_server() { 13.137 + HOSTNAME=$(ifconfig | awk -F ":" '/cast/ {print substr($2,0, index($2," ")-1) }') 13.138 + CONF_DIR="/etc/boxbackup" 13.139 + DATA_DIR="/var/lib/bbstored" 13.140 + CA_DIR="${CONF_DIR}/ca" 13.141 + BBUSER="bbstored" 13.142 + 13.143 + # default conf dir is now /etc/boxbackup 13.144 + if [ ! -e "$1/etc/box/bbstored.conf" ]; then 13.145 + mv "$1/etc/box" "$1$CONF_DIR" 13.146 + fi 13.147 + 13.148 + # adduser BBUSER if needed 13.149 + if ! grep -q $BBUSER "$1/etc/passwd"; then 13.150 + echo 13.151 + action "Adding user '$BBUSER'..." 13.152 + echo $BBUSER':x:505:505:BoxBackup Network Backup:/dev/null:/bin/false' >> "$1/etc/passwd" 13.153 + echo $BBUSER':!:14013:0:99999:7:::' >> "$1/etc/shadow" 13.154 + echo $BBUSER':x:505:' >> "$1/etc/group" 13.155 + echo $BBUSER':!::' >> "$1/etc/gshadow" 13.156 + status 13.157 + fi 13.158 + 13.159 + # Create config is needed 13.160 + if [ ! -e "$1$CONF_DIR" ]; then 13.161 + mkdir -p "$1$CONF_DIR" && 13.162 + chroot "$1/" chown $BBUSER $CONF_DIR && 13.163 + chmod 700 "$1$CONF_DIR" 13.164 + fi 13.165 + 13.166 + if [ ! -e "$1$DATA_DIR/backup" ]; then 13.167 + # Creating backup dir 13.168 + action "Creating backup directory..." 13.169 + mkdir -p "$1$DATA_DIR/backup" && 13.170 + chroot "$1/" chown -R $BBUSER $DATA_DIR && 13.171 + chmod -R 700 "$1$DATA_DIR" 13.172 + status 13.173 + fi 13.174 + 13.175 + if [ ! -e "$1$CONF_DIR/raidfile.conf" ]; then 13.176 + # RAID Setup 13.177 + action "Disabling deprecated userland RAID..." 13.178 + chroot "$1/" /usr/bin/raidfile-config $CONF_DIR 2048 $DATA_DIR 2>1 > /dev/null 13.179 + status 13.180 + chroot "$1/" chown -R $BBUSER $CONF_DIR/raidfile.conf && 13.181 + chmod 700 -R "$1$CONF_DIR/raidfile.conf" 13.182 + fi 13.183 + 13.184 + if [ ! -e "$1$CONF_DIR/bbstored.conf" ]; then 13.185 + # Setting hostname 13.186 + action "Setting hostname... " 13.187 + if [ $(chroot "$1/" hostname -f 2>1 > /dev/null;echo $?) -eq 0 ]; then 13.188 + HOSTNAME=$(chroot "$1/" hostname -f) 13.189 + fi 13.190 + if [ -z $HOSTNAME ]; then 13.191 + HOSTNAME="127.0.0.1" 13.192 + fi 13.193 + export $HOSTNAME 13.194 + echo $HOSTNAME 13.195 + 13.196 + # Setting up the CA environment 13.197 + action "Creating certificates..." 13.198 + chroot "$1/" /usr/bin/bbstored-certs $CA_DIR init 2>1 > /dev/null 13.199 + status 13.200 + 13.201 + # Generate server certificate request 13.202 + action "Generate server certificate request..." 13.203 + chroot "$1/" bbstored-config $CONF_DIR $HOSTNAME $BBUSER 2>1 > /dev/null 13.204 + status 13.205 + 13.206 + # Sign the server certificate 13.207 + action "Sign the server certificate..." 13.208 + chroot "$1/" openssl x509 -req -sha1 -extensions usr_crt \ 13.209 + -in $CONF_DIR/$BBUSER/${HOSTNAME}-csr.pem \ 13.210 + -CA $CA_DIR/roots/serverCA.pem \ 13.211 + -CAkey $CA_DIR/keys/serverRootKey.pem \ 13.212 + -out $CA_DIR/servers/${HOSTNAME}-cert.pem \ 13.213 + -days 5000 2>1 > /dev/null 13.214 + status 13.215 + 13.216 + # Preparing the server certificates 13.217 + action "Installing server certificate..." 13.218 + cp -a "$1$CA_DIR/servers/${HOSTNAME}-cert.pem" "$1$CONF_DIR/$BBUSER" 13.219 + status 13.220 + action "Installing client certificate..." 13.221 + cp -a "$1$CA_DIR/roots/clientCA.pem" "$1$CONF_DIR/$BBUSER" 13.222 + status 13.223 + 13.224 + # Securing $CONF_DIR 13.225 + chroot "$1/" chown -R $BBUSER $CONF_DIR/bbstored* && 13.226 + chmod 700 -R "$1$CONF_DIR/bbstored"* 13.227 + fi 13.228 + 13.229 + if [ -e "$1$CA_DIR" ]; then 13.230 + # Warning 13.231 + echo 13.232 + echo "IMPORTANT NOTE:" 13.233 + echo "--------------" 13.234 + echo "The certificate authority directory $CA_DIR is intended to be" 13.235 + echo "moved to another system. It should not be kept on the backup server" 13.236 + echo "to limit the impact of a server compromise." 13.237 + fi 13.238 +} 13.239 + 13.240 +pre_remove_boxbackup_server() { 13.241 + /etc/init.d/bbstored stop 13.242 +} 13.243 + 13.244 +post_remove_boxbackup_server() { 13.245 + CONF_DIR="/etc/boxbackup" 13.246 + DATA_DIR="/var/lib/bbstored" 13.247 + CA_DIR="${CONF_DIR}/ca" 13.248 + BBUSER="bbstored" 13.249 + 13.250 + echo 13.251 + if grep -q $BBUSER /etc/passwd; then 13.252 + action "Removing $BBUSER user..." 13.253 + deluser bbstored 13.254 + status 13.255 + fi 13.256 + # Delete data 13.257 + if [ -e $DATA_DIR ]; then 13.258 + action "Removing all backup data..." 13.259 + rm -r $DATA_DIR 13.260 + status 13.261 + fi 13.262 + # Delete bbstored conf files 13.263 + if [ -e $CONF_DIR/bbstored.conf ]; then 13.264 + action "Removing config files..." 13.265 + rm -rf $CONF_DIR/bbstored 13.266 + rm -f $CONF_DIR/raidfile.conf 13.267 + rm -f $CONF_DIR/bbstored.conf 13.268 + status 13.269 + fi 13.270 + # Delete certificates 13.271 + if [ -e $CA_DIR ]; then 13.272 + action "Removing certificates..." 13.273 + rm -r $CA_DIR 13.274 + status 13.275 + fi 13.276 + # Delete $CONF_DIR (if empty) 13.277 + if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then 13.278 + action "Removing $CONF_DIR..." 13.279 + rm -r $CONF_DIR 13.280 + status 13.281 + fi 13.282 + # Delete PID, sock files 13.283 + rm -f /var/run/bbstored.* 13.284 +} 13.285 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/boxbackup/stuff/bbackupd Fri Mar 02 03:33:54 2018 +0200 14.3 @@ -0,0 +1,56 @@ 14.4 +#!/bin/sh 14.5 +# /etc/init.d/bbackupd: Start, stop and restart bbackupd daemon on SliTaz, at boot 14.6 +# time or with the command line. 14.7 +# 14.8 +# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 14.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 14.10 +# 14.11 +. /etc/init.d/rc.functions 14.12 +. /etc/daemons.conf 14.13 + 14.14 +NAME=BBackupd 14.15 +DESC="$(_ '%s daemon' BoxBackup)" 14.16 +DAEMON=/usr/bin/bbackupd 14.17 +OPTIONS=$BBSTORED_OPTIONS 14.18 +PIDFILE=/var/run/bbackupd.pid 14.19 + 14.20 +case "$1" in 14.21 + start) 14.22 + if active_pidfile $PIDFILE bbackupd ; then 14.23 + _ '%s is already running.' $NAME 14.24 + exit 1 14.25 + fi 14.26 + action 'Starting %s: %s...' "$DESC" $NAME 14.27 + $DAEMON $OPTIONS >/dev/null 14.28 + status 14.29 + ;; 14.30 + stop) 14.31 + if ! active_pidfile $PIDFILE bbackupd ; then 14.32 + _ '%s is not running.' $NAME 14.33 + exit 1 14.34 + fi 14.35 + action 'Stopping %s: %s...' "$DESC" $NAME 14.36 + kill $(cat $PIDFILE) 14.37 + rm -f $PIDFILE 14.38 + status 14.39 + ;; 14.40 + restart) 14.41 + if ! active_pidfile $PIDFILE bbackupd ; then 14.42 + _ '%s is not running.' $NAME 14.43 + exit 1 14.44 + fi 14.45 + action 'Restarting %s: %s...' "$DESC" $NAME 14.46 + kill $(cat $PIDFILE) 14.47 + rm -f $PIDFILE 14.48 + sleep 2 14.49 + $DAEMON $OPTIONS >/dev/null 14.50 + status 14.51 + ;; 14.52 + *) 14.53 + emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 14.54 + newline 14.55 + exit 1 14.56 + ;; 14.57 +esac 14.58 + 14.59 +exit 0
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/boxbackup/stuff/bbstored Fri Mar 02 03:33:54 2018 +0200 15.3 @@ -0,0 +1,56 @@ 15.4 +#!/bin/sh 15.5 +# /etc/init.d/bbstored: Start, stop and restart bbstored daemon on SliTaz, at boot 15.6 +# time or with the command line. 15.7 +# 15.8 +# To start daemon at boot time, just put the right name in the $RUN_DAEMONS 15.9 +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf. 15.10 +# 15.11 +. /etc/init.d/rc.functions 15.12 +. /etc/daemons.conf 15.13 + 15.14 +NAME=BBstored 15.15 +DESC="$(_ 'BoxBackup server daemon')" 15.16 +DAEMON=/usr/bin/bbstored 15.17 +OPTIONS=$BBSTORED_OPTIONS 15.18 +PIDFILE=/var/run/bbstored.pid 15.19 + 15.20 +case "$1" in 15.21 + start) 15.22 + if active_pidfile $PIDFILE bbstored ; then 15.23 + _ '%s is already running.' $NAME 15.24 + exit 1 15.25 + fi 15.26 + action 'Starting %s: %s...' "$DESC" $NAME 15.27 + $DAEMON $OPTIONS >/dev/null 15.28 + status 15.29 + ;; 15.30 + stop) 15.31 + if ! active_pidfile $PIDFILE bbstored ; then 15.32 + _ '%s is not running.' $NAME 15.33 + exit 1 15.34 + fi 15.35 + action 'Stopping %s: %s...' "$DESC" $NAME 15.36 + kill $(cat $PIDFILE) 15.37 + rm -f $PIDFILE 15.38 + status 15.39 + ;; 15.40 + restart) 15.41 + if ! active_pidfile $PIDFILE bbstored ; then 15.42 + _ '%s is not running.' $NAME 15.43 + exit 1 15.44 + fi 15.45 + action 'Restarting %s: %s...' "$DESC" $NAME 15.46 + kill $(cat $PIDFILE) 15.47 + rm -f $PIDFILE 15.48 + sleep 2 15.49 + $DAEMON $OPTIONS >/dev/null 15.50 + status 15.51 + ;; 15.52 + *) 15.53 + emsg "<n><b>$(_ 'Usage:')</b> $0 [start|stop|restart]" 15.54 + newline 15.55 + exit 1 15.56 + ;; 15.57 +esac 15.58 + 15.59 +exit 0
16.1 --- a/compiz-core-dev/receipt Thu Mar 01 20:46:32 2018 +0200 16.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 16.3 @@ -1,22 +0,0 @@ 16.4 -# SliTaz package receipt. 16.5 - 16.6 -PACKAGE="compiz-core-dev" 16.7 -VERSION="0.8.12.3" 16.8 -CATEGORY="development" 16.9 -SHORT_DESC="Compiz devel files." 16.10 -MAINTAINER="pankso@slitaz.org" 16.11 -LICENSE="MIT GPL LGPL" 16.12 -WANTED="compiz-core" 16.13 -WEB_SITE="http://www.compiz.org/" 16.14 - 16.15 -DEPENDS="pkg-config compiz-core" 16.16 - 16.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 16.18 -genpkg_rules() 16.19 -{ 16.20 - mkdir -p $fs/usr/lib/compiz $fs/usr/share/compiz 16.21 - cp -a $install/usr/include $fs/usr 16.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 16.23 - cp -a $install/usr/lib/*.la $fs/usr/lib 16.24 - cp -a $install/usr/lib/compiz/*.la $fs/usr/lib/compiz/ 16.25 -}
17.1 --- a/compiz-core/receipt Thu Mar 01 20:46:32 2018 +0200 17.2 +++ b/compiz-core/receipt Fri Mar 02 03:33:54 2018 +0200 17.3 @@ -1,40 +1,55 @@ 17.4 -# SliTaz package receipt. 17.5 +# SliTaz package receipt v2. 17.6 17.7 PACKAGE="compiz-core" 17.8 VERSION="0.8.12.3" 17.9 CATEGORY="x-window" 17.10 -SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect." 17.11 +SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect" 17.12 MAINTAINER="pankso@slitaz.org" 17.13 LICENSE="MIT GPL LGPL" 17.14 +WEB_SITE="https://github.com/compiz-reloaded" 17.15 + 17.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 17.17 -WEB_SITE="https://github.com/compiz-reloaded" 17.18 WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz" 17.19 17.20 -DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib startup-notification \ 17.21 -compiz-bcop compiz-libcompizconfig" 17.22 BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \ 17.23 startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \ 17.24 util-linux-uuid-dev expat-dev xorg-libxshmfence-dev libglu-mesa-dev " 17.25 +SPLIT="compiz-core-dev" 17.26 17.27 -# Rules to configure and make the package. 17.28 -compile_rules() 17.29 -{ 17.30 - ./configure --prefix=/usr --enable-shared --enable-librsvg \ 17.31 - --enable-dbus --enable-dbus-glib --enable-glib \ 17.32 - --disable-static --disable-inotify 17.33 +compile_rules() { 17.34 + ./configure \ 17.35 + --prefix=/usr \ 17.36 + --enable-shared \ 17.37 + --enable-librsvg \ 17.38 + --enable-dbus \ 17.39 + --enable-dbus-glib \ 17.40 + --enable-glib \ 17.41 + --disable-static \ 17.42 + --disable-inotify && 17.43 make && make install 17.44 } 17.45 17.46 -# Rules to gen a SliTaz package suitable for Tazpkg. 17.47 -genpkg_rules() 17.48 -{ 17.49 - mkdir -p $fs/usr/lib $fs/usr/share/locale 17.50 - cp -a $install/usr/bin $fs/usr 17.51 - cp -a $install/usr/lib/compiz $fs/usr/lib 17.52 - cp -a $install/usr/lib/*.so* $fs/usr/lib 17.53 - cp -a $install/usr/share/compiz $fs/usr/share 17.54 - cp -a $install/usr/share/icons $fs/usr/share 17.55 - cp -a $install/usr/share/locale/ru $fs/usr/share 17.56 - rm -rf $fs/usr/lib/compiz/*.la 17.57 - sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator 17.58 +genpkg_rules() { 17.59 + case $PACKAGE in 17.60 + compiz-core) 17.61 + mkdir -p $fs/usr/lib $fs/usr/share/locale 17.62 + cp -a $install/usr/bin $fs/usr 17.63 + cp -a $install/usr/lib/compiz $fs/usr/lib 17.64 + cp -a $install/usr/lib/*.so* $fs/usr/lib 17.65 + cp -a $install/usr/share/compiz $fs/usr/share 17.66 + cp -a $install/usr/share/icons $fs/usr/share 17.67 + cp -a $install/usr/share/locale/ru $fs/usr/share 17.68 + rm -rf $fs/usr/lib/compiz/*.la 17.69 + sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator 17.70 + DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib \ 17.71 + startup-notification compiz-bcop compiz-libcompizconfig" 17.72 + ;; 17.73 + *-dev) 17.74 + mkdir -p $fs/usr/lib/compiz $fs/usr/share/compiz 17.75 + cp -a $install/usr/include $fs/usr 17.76 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 17.77 + cp -a $install/usr/lib/*.la $fs/usr/lib 17.78 + cp -a $install/usr/lib/compiz/*.la $fs/usr/lib/compiz/ 17.79 + ;; 17.80 + esac 17.81 }
18.1 --- a/compiz-plugins-extra-dev/receipt Thu Mar 01 20:46:32 2018 +0200 18.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 18.3 @@ -1,21 +0,0 @@ 18.4 -# SliTaz package receipt. 18.5 - 18.6 -PACKAGE="compiz-plugins-extra-dev" 18.7 -VERSION="0.8.12.1" 18.8 -CATEGORY="development" 18.9 -SHORT_DESC="Compiz plugins-extra devel files." 18.10 -MAINTAINER="pankso@slitaz.org" 18.11 -LICENSE="GPL2" 18.12 -WEB_SITE="http://www.compiz.org/" 18.13 - 18.14 -WANTED="compiz-plugins-extra" 18.15 -DEPENDS="pkg-config" 18.16 - 18.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 18.18 -genpkg_rules() 18.19 -{ 18.20 - mkdir -p $fs/usr/lib/compiz 18.21 - cp -a $install/usr/include $fs/usr 18.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 18.23 - cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz 18.24 -}
19.1 --- a/compiz-plugins-extra/receipt Thu Mar 01 20:46:32 2018 +0200 19.2 +++ b/compiz-plugins-extra/receipt Fri Mar 02 03:33:54 2018 +0200 19.3 @@ -1,40 +1,48 @@ 19.4 -# SliTaz package receipt. 19.5 +# SliTaz package receipt v2. 19.6 19.7 PACKAGE="compiz-plugins-extra" 19.8 VERSION="0.8.12.1" 19.9 CATEGORY="x-window" 19.10 -SHORT_DESC="Compiz extra plugins." 19.11 +SHORT_DESC="Compiz extra plugins" 19.12 MAINTAINER="psychomaniak@xakep.ru" 19.13 LICENSE="GPL2" 19.14 +WEB_SITE="https://github.com/compiz-reloaded" 19.15 + 19.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 19.17 -WEB_SITE="https://github.com/compiz-reloaded" 19.18 WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL" 19.19 WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff" 19.20 EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u" 19.21 19.22 -DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \ 19.23 -libnotify compiz-plugins-main" 19.24 BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \ 19.25 libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \ 19.26 libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool \ 19.27 -util-linux-getopt xorg-libxshmfence-dev libglu-mesa-dev expat-dev " 19.28 +util-linux-getopt xorg-libxshmfence-dev libglu-mesa-dev expat-dev" 19.29 +SPLIT="compiz-plugins-extra-dev" 19.30 19.31 -# Rules to configure and make the package. 19.32 -compile_rules() 19.33 -{ 19.34 +compile_rules() { 19.35 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \ 19.36 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 19.37 patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 19.38 - ./configure --prefix=/usr 19.39 + ./configure --prefix=/usr && 19.40 make && make install 19.41 } 19.42 19.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 19.44 -genpkg_rules() 19.45 -{ 19.46 - mkdir -p $fs/usr/lib $fs/usr/share/locale 19.47 - cp -a $install/usr/lib/compiz $fs/usr/lib 19.48 - cp -a $install/usr/share/compiz $fs/usr/share 19.49 - cp -a $install/usr/share/locale/ru $fs/usr/share/locale 19.50 - cd $fs/usr/lib/compiz; rm -f *.a *.la 19.51 +genpkg_rules() { 19.52 + case $PACKAGE in 19.53 + compiz-plugins-extra) 19.54 + mkdir -p $fs/usr/lib $fs/usr/share/locale 19.55 + cp -a $install/usr/lib/compiz $fs/usr/lib 19.56 + cp -a $install/usr/share/compiz $fs/usr/share 19.57 + cp -a $install/usr/share/locale/ru $fs/usr/share/locale 19.58 + cd $fs/usr/lib/compiz; rm -f *.a *.la 19.59 + DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ \ 19.60 + librsvg libnotify compiz-plugins-main" 19.61 + ;; 19.62 + *-dev) 19.63 + mkdir -p $fs/usr/lib/compiz 19.64 + cp -a $install/usr/include $fs/usr 19.65 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 19.66 + cp -a $install/usr/lib/compiz/*a $fs/usr/lib/compiz 19.67 + ;; 19.68 + esac 19.69 }
20.1 --- a/dbus-python-dev/receipt Thu Mar 01 20:46:32 2018 +0200 20.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 20.3 @@ -1,22 +0,0 @@ 20.4 -# SliTaz package receipt. 20.5 - 20.6 -PACKAGE="dbus-python-dev" 20.7 -VERSION="1.1.1" 20.8 -CATEGORY="development" 20.9 -SHORT_DESC="D-Bus python binding devel files." 20.10 -WANTED="dbus-python" 20.11 -MAINTAINER="pankso@slitaz.org" 20.12 -LICENSE="GPL2" 20.13 -WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" 20.14 - 20.15 -DEPENDS="dbus-python pkg-config" 20.16 - 20.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 20.18 -genpkg_rules() 20.19 -{ 20.20 - mkdir -p $fs/usr 20.21 - cp -a $install/usr/lib $fs/usr 20.22 - cp -a $install/usr/include $fs/usr 20.23 - rm -rf $fs/usr/lib/*/site-packages/dbus 20.24 - rm -rf $fs/usr/lib/*/site-packages/*.so 20.25 -}
21.1 --- a/dbus-python/receipt Thu Mar 01 20:46:32 2018 +0200 21.2 +++ b/dbus-python/receipt Fri Mar 02 03:33:54 2018 +0200 21.3 @@ -1,29 +1,31 @@ 21.4 -# SliTaz package receipt. 21.5 +# SliTaz package receipt v2. 21.6 21.7 PACKAGE="dbus-python" 21.8 VERSION="1.1.1" 21.9 CATEGORY="system-tools" 21.10 -SHORT_DESC="D-Bus python binding." 21.11 +SHORT_DESC="D-Bus Python bindings" 21.12 MAINTAINER="pankso@slitaz.org" 21.13 LICENSE="GPL2" 21.14 +WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" 21.15 + 21.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 21.17 -WEB_SITE="http://freedesktop.org/wiki/Software/DBusBindings" 21.18 WGET_URL="http://dbus.freedesktop.org/releases/dbus-python/$TARBALL" 21.19 21.20 -DEPENDS="dbus glib python dbus-glib" 21.21 BUILD_DEPENDS="dbus-dev glib-dev python-dev dbus-glib-dev" 21.22 +SPLIT="dbus-python-dev" 21.23 21.24 -# Rules to configure and make the package. 21.25 -compile_rules() 21.26 -{ 21.27 - ./configure $CONFIGURE_ARGS && 21.28 - make && make install 21.29 +compile_rules() { 21.30 + ./configure $CONFIGURE_ARGS && make && make install 21.31 } 21.32 21.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 21.34 -genpkg_rules() 21.35 -{ 21.36 - mkdir -p $fs/usr/lib 21.37 - cp -a $install/usr/lib/python* $fs/usr/lib 21.38 - rm $fs/usr/lib/python*/*/*.la 21.39 +genpkg_rules() { 21.40 + case $PACKAGE in 21.41 + dbus-python) 21.42 + copy @std 21.43 + DEPENDS="dbus glib python dbus-glib" 21.44 + ;; 21.45 + *-dev) 21.46 + copy @dev 21.47 + ;; 21.48 + esac 21.49 }
22.1 --- a/discount-dev/receipt Thu Mar 01 20:46:32 2018 +0200 22.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 22.3 @@ -1,21 +0,0 @@ 22.4 -# SliTaz package receipt. 22.5 - 22.6 -PACKAGE="discount-dev" 22.7 -VERSION="2.1.8" 22.8 -CATEGORY="development" 22.9 -SHORT_DESC="a C implementation of the markdown spec - dev files" 22.10 -MAINTAINER="necrophcodr@necrophcodr.me" 22.11 -LICENSE="BSD3" 22.12 -WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown/" 22.13 -HOST_ARCH="i486 arm" 22.14 -WANTED="discount" 22.15 - 22.16 -DEPENDS="discount" 22.17 - 22.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 22.19 -genpkg_rules() 22.20 -{ 22.21 - mkdir -p $fs/usr 22.22 - cp -a $install/usr/include $fs/usr 22.23 - cp -a $install/usr/lib $fs/usr 22.24 -}
23.1 --- a/discount/receipt Thu Mar 01 20:46:32 2018 +0200 23.2 +++ b/discount/receipt Fri Mar 02 03:33:54 2018 +0200 23.3 @@ -1,31 +1,27 @@ 23.4 -# SliTaz package receipt. 23.5 +# SliTaz package receipt v2. 23.6 23.7 PACKAGE="discount" 23.8 VERSION="2.1.8" 23.9 CATEGORY="utilities" 23.10 -SHORT_DESC="a C implementation of the markdown spec" 23.11 +SHORT_DESC="C implementation of the markdown spec" 23.12 MAINTAINER="necrophcodr@necrophcodr.me" 23.13 LICENSE="BSD3" 23.14 -TARBALL="${PACKAGE}-${VERSION}.tar.gz" 23.15 WEB_SITE="http://www.pell.portland.or.us/~orc/Code/markdown" 23.16 -WGET_URL="${WEB_SITE}/${TARBALL}" 23.17 -HOST_ARCH="i486 arm" 23.18 23.19 -DEPENDS="" 23.20 -BUILD_DEPENDS="" 23.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 23.22 +WGET_URL="$WEB_SITE/$TARBALL" 23.23 23.24 -# Rules to configure and make the package. 23.25 -compile_rules() 23.26 -{ 23.27 +SPLIT="discount-dev" 23.28 + 23.29 +compile_rules() { 23.30 ./configure.sh --prefix=/usr && 23.31 make && 23.32 make DESTDIR=$DESTDIR install 23.33 } 23.34 23.35 - 23.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 23.37 -genpkg_rules() 23.38 -{ 23.39 - mkdir -p $fs/usr 23.40 - cp -a $install/usr/bin $fs/usr/ 23.41 +genpkg_rules() { 23.42 + case $PACKAGE in 23.43 + discount) copy @std;; 23.44 + *-dev) copy @dev;; 23.45 + esac 23.46 }
24.1 --- a/djvulibre-dev/receipt Thu Mar 01 20:46:32 2018 +0200 24.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 24.3 @@ -1,22 +0,0 @@ 24.4 -# SliTaz package receipt. 24.5 - 24.6 -PACKAGE="djvulibre-dev" 24.7 -VERSION="3.5.27" 24.8 -CATEGORY="development" 24.9 -SHORT_DESC="djvulibre development files" 24.10 -MAINTAINER="pascal.bellard@slitaz.org" 24.11 -LICENSE="GPL2" 24.12 -WEB_SITE="http://djvu.sourceforge.net/" 24.13 -WANTED="djvulibre" 24.14 -#HOST_ARCH="i486 arm" 24.15 - 24.16 -DEPENDS="djvulibre pkg-config" 24.17 - 24.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 24.19 -genpkg_rules() 24.20 -{ 24.21 - mkdir -p $fs/usr/lib 24.22 - cp -a $install/usr/include $fs/usr 24.23 - cp -a $install/usr/lib/*a $fs/usr/lib 24.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 24.25 -}
25.1 --- a/djvulibre/receipt Thu Mar 01 20:46:32 2018 +0200 25.2 +++ b/djvulibre/receipt Fri Mar 02 03:33:54 2018 +0200 25.3 @@ -1,28 +1,21 @@ 25.4 -# SliTaz package receipt. 25.5 +# SliTaz package receipt v2. 25.6 25.7 PACKAGE="djvulibre" 25.8 VERSION="3.5.27" 25.9 CATEGORY="office" 25.10 -SHORT_DESC="A web-centric format and software platform for distributing documents and images." 25.11 +SHORT_DESC="A web-centric format and software platform for distributing documents and images" 25.12 MAINTAINER="pascal.bellard@slitaz.org" 25.13 LICENSE="GPL2" 25.14 WEB_SITE="http://djvu.sourceforge.net/" 25.15 + 25.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 25.17 WGET_URL="$SF_MIRROR/djvu/$TARBALL" 25.18 25.19 -#HOST_ARCH="i486 arm" 25.20 +BUILD_DEPENDS_arm="tiff-dev jpeg-dev" 25.21 +BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash rsvg-convert wget libpng12-dev" 25.22 +SPLIT="djvulibre-dev" 25.23 25.24 -DEPENDS="gcc-lib-base tiff jpeg libpng12" 25.25 -BUILD_DEPENDS="tiff-dev jpeg-dev xdg-utils bash rsvg-convert wget libpng12-dev" 25.26 - 25.27 -# Handle cross compilation. Build host must have: xdg-utils bash librsvg-apps 25.28 -case "$ARCH" in 25.29 - arm*) BUILD_DEPENDS="tiff-dev jpeg-dev " ;; 25.30 -esac 25.31 - 25.32 -# Rules to configure and make the package. 25.33 -compile_rules() 25.34 -{ 25.35 +compile_rules() { 25.36 ./configure \ 25.37 --sysconfdir=/etc \ 25.38 $CONFIGURE_ARGS && 25.39 @@ -30,11 +23,20 @@ 25.40 make install 25.41 } 25.42 25.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 25.44 -genpkg_rules() 25.45 -{ 25.46 - mkdir -p $fs/usr/lib $fs/usr/share 25.47 - cp -a $install/usr/lib/*so* $fs/usr/lib 25.48 - cp -a $install/usr/bin $fs/usr 25.49 - cp -a $install/usr/share/djvu $fs/usr/share 25.50 +genpkg_rules() { 25.51 + case $PACKAGE in 25.52 + djvulibre) 25.53 + mkdir -p $fs/usr/lib $fs/usr/share 25.54 + cp -a $install/usr/lib/*so* $fs/usr/lib 25.55 + cp -a $install/usr/bin $fs/usr 25.56 + cp -a $install/usr/share/djvu $fs/usr/share 25.57 + DEPENDS="gcc-lib-base tiff jpeg libpng12" 25.58 + ;; 25.59 + *-dev) 25.60 + mkdir -p $fs/usr/lib 25.61 + cp -a $install/usr/include $fs/usr 25.62 + cp -a $install/usr/lib/*a $fs/usr/lib 25.63 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 25.64 + ;; 25.65 + esac 25.66 }
26.1 --- a/freeglut-dev/receipt Thu Mar 01 20:46:32 2018 +0200 26.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 26.3 @@ -1,18 +0,0 @@ 26.4 -# SliTaz package receipt. 26.5 - 26.6 -PACKAGE="freeglut-dev" 26.7 -VERSION="2.6.0" 26.8 -CATEGORY="development" 26.9 -SHORT_DESC="OpenGL utility toolkit development files." 26.10 -MAINTAINER="b1+slitaz@nagel.org" 26.11 -LICENSE="GPL" 26.12 -WEB_SITE="http://freeglut.sourceforge.net/" 26.13 -WANTED="freeglut" 26.14 - 26.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 26.16 -genpkg_rules() 26.17 -{ 26.18 - mkdir -p $fs/usr/lib 26.19 - cp -a $install/usr/lib/*.*a $fs/usr/lib 26.20 - cp -a $install/usr/include $fs/usr 26.21 -}
27.1 --- a/freeglut/receipt Thu Mar 01 20:46:32 2018 +0200 27.2 +++ b/freeglut/receipt Fri Mar 02 03:33:54 2018 +0200 27.3 @@ -1,27 +1,23 @@ 27.4 -# SliTaz package receipt. 27.5 +# SliTaz package receipt v2. 27.6 27.7 PACKAGE="freeglut" 27.8 VERSION="2.6.0" 27.9 CATEGORY="x-window" 27.10 -SHORT_DESC="OpenGL utility toolkit." 27.11 +SHORT_DESC="OpenGL utility toolkit" 27.12 MAINTAINER="b1+slitaz@nagel.org" 27.13 LICENSE="GPL" 27.14 -SUGGESTED="nvidia" 27.15 +WEB_SITE="http://freeglut.sourceforge.net/" 27.16 + 27.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 27.18 -WEB_SITE="http://freeglut.sourceforge.net/" 27.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 27.20 27.21 -DEPENDS="glibc-base libdrm mesa libglu-mesa \ 27.22 -xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ 27.23 -xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" 27.24 BUILD_DEPENDS="mesa-dev mesa libglu-mesa-dev libglu-mesa xorg-inputproto \ 27.25 xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev \ 27.26 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev xorg-libXfixes-dev \ 27.27 xorg-libXxf86vm-dev xorg-libxcb-dev expat-dev xorg-libxshmfence-dev" 27.28 +SPLIT="freeglut-dev" 27.29 27.30 -# Rules to configure and make the package. 27.31 -compile_rules() 27.32 -{ 27.33 +compile_rules() { 27.34 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 27.35 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 27.36 27.37 @@ -40,9 +36,20 @@ 27.38 make DESTDIR=$DESTDIR install 27.39 } 27.40 27.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 27.42 -genpkg_rules() 27.43 -{ 27.44 - mkdir -p $fs/usr/lib 27.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 27.46 +genpkg_rules() { 27.47 + case $PACKAGE in 27.48 + freeglut) 27.49 + mkdir -p $fs/usr/lib 27.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 27.51 + DEPENDS="glibc-base libdrm mesa libglu-mesa \ 27.52 + xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \ 27.53 + xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm" 27.54 + SUGGESTED="nvidia" 27.55 + ;; 27.56 + *-dev) 27.57 + mkdir -p $fs/usr/lib 27.58 + cp -a $install/usr/lib/*.*a $fs/usr/lib 27.59 + cp -a $install/usr/include $fs/usr 27.60 + ;; 27.61 + esac 27.62 }
28.1 --- a/freetds-dev/receipt Thu Mar 01 20:46:32 2018 +0200 28.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 28.3 @@ -1,20 +0,0 @@ 28.4 -# SliTaz package receipt. 28.5 - 28.6 -PACKAGE="freetds-dev" 28.7 -VERSION="0.82" 28.8 -CATEGORY="development" 28.9 -SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries." 28.10 -MAINTAINER="pascal.bellard@slitaz.org" 28.11 -LICENSE="GPL2" 28.12 -WEB_SITE="http://www.freetds.org/" 28.13 -WANTED="freetds" 28.14 - 28.15 -DEPENDS="freetds" 28.16 - 28.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 28.18 -genpkg_rules() 28.19 -{ 28.20 - mkdir -p $fs/usr/lib 28.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 28.22 - cp -a $install/usr/include $fs/usr 28.23 -}
29.1 --- a/freetds/receipt Thu Mar 01 20:46:32 2018 +0200 29.2 +++ b/freetds/receipt Fri Mar 02 03:33:54 2018 +0200 29.3 @@ -1,35 +1,38 @@ 29.4 -# SliTaz package receipt. 29.5 +# SliTaz package receipt v2. 29.6 29.7 PACKAGE="freetds" 29.8 VERSION="0.82" 29.9 CATEGORY="system-tools" 29.10 -SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries." 29.11 +SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries" 29.12 MAINTAINER="pascal.bellard@slitaz.org" 29.13 LICENSE="GPL2" 29.14 +WEB_SITE="http://www.freetds.org/" 29.15 + 29.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 29.17 -WEB_SITE="http://www.freetds.org/" 29.18 WGET_URL="ftp://ftp.ibiblio.org/pub/Linux/ALPHA/$PACKAGE/stable/$TARBALL" 29.19 29.20 -DEPENDS="libunixODBC ncurses readline" 29.21 BUILD_DEPENDS="readline-dev" 29.22 +SPLIT="freetds-dev" 29.23 29.24 -# Rules to configure and make the package. 29.25 -compile_rules() 29.26 -{ 29.27 - cd $src 29.28 - ./configure --prefix=/usr --infodir=/usr/share/info \ 29.29 - --sysconfdir=/etc --mandir=/usr/share/man \ 29.30 +compile_rules() { 29.31 + ./configure \ 29.32 + --prefix=/usr \ 29.33 + --infodir=/usr/share/info \ 29.34 + --sysconfdir=/etc \ 29.35 + --mandir=/usr/share/man \ 29.36 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && 29.37 make && 29.38 make DESTDIR=$DESTDIR install 29.39 } 29.40 29.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 29.42 -genpkg_rules() 29.43 -{ 29.44 - mkdir -p $fs/usr/lib 29.45 - cp -a $install/etc $fs 29.46 - cp -a $install/usr/bin $fs/usr 29.47 - cp -a $install/usr/lib/*.so* $fs/usr/lib 29.48 +genpkg_rules() { 29.49 + case $PACKAGE in 29.50 + freetds) 29.51 + copy @std 29.52 + DEPENDS="libunixODBC ncurses readline" 29.53 + ;; 29.54 + *-dev) 29.55 + copy @dev 29.56 + ;; 29.57 + esac 29.58 } 29.59 -
30.1 --- a/freetype-infinality-dev/receipt Thu Mar 01 20:46:32 2018 +0200 30.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 30.3 @@ -1,23 +0,0 @@ 30.4 -# SliTaz package receipt. 30.5 - 30.6 -PACKAGE="freetype-infinality-dev" 30.7 -VERSION="2.4.11" 30.8 -CATEGORY="development" 30.9 -SHORT_DESC="Development files for Freetype-Infinality" 30.10 -WEB_SITE="http://www.freetype.org/" 30.11 -MAINTAINER="al.bobylev@gmail.com" 30.12 -LICENSE="BSD GPL2" 30.13 - 30.14 -WANTED="freetype-infinality" 30.15 -DEPENDS="freetype-infinality libzip-dev bzip2-dev pkg-config" 30.16 - 30.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 30.18 -genpkg_rules() 30.19 -{ 30.20 - mkdir -p $fs/usr/lib 30.21 - cp -a $install/usr/include $fs/usr 30.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 30.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 30.24 - cp -a $install/usr/share $fs/usr 30.25 -} 30.26 -
31.1 --- a/freetype-infinality/receipt Thu Mar 01 20:46:32 2018 +0200 31.2 +++ b/freetype-infinality/receipt Fri Mar 02 03:33:54 2018 +0200 31.3 @@ -1,23 +1,20 @@ 31.4 -# SliTaz package receipt. 31.5 +# SliTaz package receipt v2. 31.6 31.7 PACKAGE="freetype-infinality" 31.8 -PROVIDE="freetype" 31.9 VERSION="2.4.11" 31.10 CATEGORY="x-window" 31.11 SHORT_DESC="Freetype font engine with infinality patches" 31.12 MAINTAINER="al.bobylev@gmail.com" 31.13 LICENSE="BSD GPL2" 31.14 -SOURCE="freetype" 31.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 31.16 WEB_SITE="http://www.freetype.org/" 31.17 -WGET_URL="http://download.savannah.gnu.org/releases/$SOURCE/$TARBALL" 31.18 31.19 -DEPENDS="slitaz-base-files zlib" 31.20 +TARBALL="freetype-$VERSION.tar.bz2" 31.21 +WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL" 31.22 + 31.23 BUILD_DEPENDS="bzip2-dev" 31.24 +SPLIT="freetype-infinality-dev" 31.25 31.26 -# Rules to configure and make the package. 31.27 -compile_rules() 31.28 -{ 31.29 +compile_rules() { 31.30 # http://www.infinality.net/blog/infinality-freetype-patches/ 31.31 # http://www.infinality.net/forum/viewtopic.php?f=2&t=77#p794 31.32 mkdir -p $src/patch 31.33 @@ -33,24 +30,35 @@ 31.34 make install 2>&1 | grep -v rmdir 31.35 } 31.36 31.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 31.38 -genpkg_rules() 31.39 -{ 31.40 - mkdir -p \ 31.41 - $fs/etc/profile.d \ 31.42 - $fs/usr/lib/freetype-infinality 31.43 - # profile settings 31.44 - install -m644 $src/patch/infinality-settings.sh $fs/etc/profile.d 31.45 - # binary & libs 31.46 - cp -a $install/usr/bin $fs/usr 31.47 - cp -a $install/usr/lib/*.so* $fs/usr/lib/freetype-infinality 31.48 +genpkg_rules() { 31.49 + case $PACKAGE in 31.50 + freetype-infinality) 31.51 + mkdir -p \ 31.52 + $fs/etc/profile.d \ 31.53 + $fs/usr/lib/freetype-infinality 31.54 + # profile settings 31.55 + install -m644 $src/patch/infinality-settings.sh $fs/etc/profile.d 31.56 + # binary & libs 31.57 + cp -a $install/usr/bin $fs/usr 31.58 + cp -a $install/usr/lib/*.so* $fs/usr/lib/freetype-infinality 31.59 + DEPENDS="slitaz-base-files zlib" 31.60 + PROVIDE="freetype" 31.61 + ;; 31.62 + *-dev) 31.63 + mkdir -p $fs/usr/lib 31.64 + cp -a $install/usr/include $fs/usr 31.65 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 31.66 + cp -a $install/usr/lib/*.*a $fs/usr/lib 31.67 + cp -a $install/usr/share $fs/usr 31.68 + DEPENDS="freetype-infinality libzip-dev bzip2-dev pkg-config" 31.69 + ;; 31.70 + esac 31.71 } 31.72 31.73 31.74 -post_install() 31.75 -{ 31.76 +post_install_freetype_infinality() { 31.77 # SliTaz not support /etc/profile.d/ by default, but use /etc/profile file 31.78 - cat >> "$1/etc/profile" << EOT 31.79 + cat >> "$1/etc/profile" <<EOT 31.80 31.81 # freetype-infinality profile settings 31.82 . /etc/profile.d/infinality-settings.sh 31.83 @@ -62,8 +70,7 @@ 31.84 echo 'Now you can log out/in to take effect on all your apps' 31.85 } 31.86 31.87 -post_remove() 31.88 -{ 31.89 +post_remove_freetype_infinality() { 31.90 sed -i '/infinality/d' "$1/etc/profile" 31.91 sed -i '/freetype-infinality/d' "$1/etc/ld.so.conf" 31.92 chroot "$1/" ldconfig
32.1 --- a/freetype1-dev/receipt Thu Mar 01 20:46:32 2018 +0200 32.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 32.3 @@ -1,19 +0,0 @@ 32.4 -# SliTaz package receipt. 32.5 - 32.6 -PACKAGE="freetype1-dev" 32.7 -VERSION="1.3.1" 32.8 -CATEGORY="development" 32.9 -SHORT_DESC="Freetype1 font engine devel files." 32.10 -WEB_SITE="http://www.freetype.org/" 32.11 -MAINTAINER="rcx@zoominternet.net" 32.12 -LICENSE="BSD" 32.13 -WANTED="freetype1" 32.14 -SOURCE="freetype" 32.15 - 32.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 32.17 -genpkg_rules() 32.18 -{ 32.19 - mkdir -p $fs/usr/lib 32.20 - cp -a $install/usr/include $fs/usr 32.21 - cp -a $install/usr/lib/*a $fs/usr/lib 32.22 -}
33.1 --- a/freetype1/receipt Thu Mar 01 20:46:32 2018 +0200 33.2 +++ b/freetype1/receipt Fri Mar 02 03:33:54 2018 +0200 33.3 @@ -1,24 +1,20 @@ 33.4 -# SliTaz package receipt. 33.5 +# SliTaz package receipt v2. 33.6 33.7 PACKAGE="freetype1" 33.8 -SOURCE="freetype" 33.9 VERSION="1.3.1" 33.10 CATEGORY="x-window" 33.11 -SHORT_DESC="Freetype1 font engine." 33.12 +SHORT_DESC="Freetype1 font engine" 33.13 MAINTAINER="rcx@zoominternet.net" 33.14 LICENSE="BSD" 33.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 33.16 WEB_SITE="http://www.freetype.org/" 33.17 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 33.18 33.19 -DEPENDS="glibc-base" 33.20 +TARBALL="freetype-$VERSION.tar.gz" 33.21 +WGET_URL="$SF_MIRROR/freetype/$TARBALL" 33.22 33.23 -# Rules to configure and make the package. 33.24 -compile_rules() 33.25 -{ 33.26 +SPLIT="freetype1-dev" 33.27 + 33.28 +compile_rules() { 33.29 # NOTE: DESTDIR is not recognized by freetype1 make install 33.30 - 33.31 - cd $src 33.32 ./configure \ 33.33 --sysconfdir=$DESTDIR/etc \ 33.34 --prefix=$DESTDIR/usr \ 33.35 @@ -35,9 +31,14 @@ 33.36 make DESTDIR=$DESTDIR -f Makefile install || return 1 33.37 } 33.38 33.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 33.40 -genpkg_rules() 33.41 -{ 33.42 - mkdir -p $fs/usr/lib 33.43 - cp -a $install/usr/lib/*.so* $fs/usr/lib 33.44 +genpkg_rules() { 33.45 + case $PACKAGE in 33.46 + freetype1) 33.47 + copy @std 33.48 + DEPENDS="glibc-base" 33.49 + ;; 33.50 + *-dev) 33.51 + copy @dev 33.52 + ;; 33.53 + esac 33.54 }
34.1 --- a/frei0r-plugins-dev/receipt Thu Mar 01 20:46:32 2018 +0200 34.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 34.3 @@ -1,19 +0,0 @@ 34.4 -# SliTaz package receipt. 34.5 - 34.6 -PACKAGE="frei0r-plugins-dev" 34.7 -VERSION="1.3" 34.8 -CATEGORY="development" 34.9 -MAINTAINER="jozee@slitaz.org" 34.10 -LICENSE="GPL2" 34.11 -SHORT_DESC="frei0r-plugins devel files" 34.12 -WEB_SITE="http://www.piksel.org/frei0r" 34.13 -WANTED="frei0r-plugins" 34.14 - 34.15 -DEPENDS="frei0r-plugins" 34.16 - 34.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 34.18 -genpkg_rules() 34.19 -{ 34.20 - mkdir -p $fs/usr 34.21 - cp -a $install/usr/include $fs/usr 34.22 -}
35.1 --- a/frei0r-plugins/receipt Thu Mar 01 20:46:32 2018 +0200 35.2 +++ b/frei0r-plugins/receipt Fri Mar 02 03:33:54 2018 +0200 35.3 @@ -1,31 +1,32 @@ 35.4 -# SliTaz package receipt. 35.5 +# SliTaz package receipt v2. 35.6 35.7 PACKAGE="frei0r-plugins" 35.8 VERSION="1.3" 35.9 CATEGORY="multimedia" 35.10 +SHORT_DESC="frei0r is a minimalistic plugin API for video sources and filters" 35.11 MAINTAINER="jozee@slitaz.org" 35.12 LICENSE="GPL2" 35.13 -SHORT_DESC="frei0r is a minimalistic plugin API for video sources and filters." 35.14 WEB_SITE="http://www.piksel.org/frei0r" 35.15 + 35.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 35.17 WGET_URL="http://ftp.dyne.org/frei0r/releases/$TARBALL" 35.18 -TAGS="multimedia" 35.19 35.20 -DEPENDS="gcc-lib-base gavl" 35.21 BUILD_DEPENDS="gavl-dev" 35.22 - 35.23 -# Rules to configure and make the package. 35.24 +SPLIT="frei0r-plugins-dev" 35.25 35.26 compile_rules() { 35.27 - cd $src 35.28 - ./configure $CONFIGURE_ARGS && 35.29 - make && make install 35.30 + ./configure $CONFIGURE_ARGS && make && make install 35.31 } 35.32 - 35.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 35.34 -genpkg_rules() 35.35 -{ 35.36 - mkdir -p $fs/usr/lib/frei0r-1 35.37 - cp -a $install/usr/lib/frei0r-1/*so* $fs/usr/lib/frei0r-1 35.38 35.39 +genpkg_rules() { 35.40 + case $PACKAGE in 35.41 + frei0r-plugins) 35.42 + copy @std 35.43 + DEPENDS="gcc-lib-base gavl" 35.44 + TAGS="multimedia" 35.45 + ;; 35.46 + *-dev) 35.47 + copy @dev 35.48 + ;; 35.49 + esac 35.50 }
36.1 --- a/gamin-dev/receipt Thu Mar 01 20:46:32 2018 +0200 36.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 36.3 @@ -1,22 +0,0 @@ 36.4 -# SliTaz package receipt. 36.5 - 36.6 -PACKAGE="gamin-dev" 36.7 -VERSION="0.1.10" 36.8 -CATEGORY="development" 36.9 -SHORT_DESC="Devel files for gamin file and directory monitoring system." 36.10 -MAINTAINER="pankso@slitaz.org" 36.11 -LICENSE="LGPL2" 36.12 -WANTED="gamin" 36.13 -WEB_SITE="http://www.gnome.org/~veillard/gamin/" 36.14 - 36.15 -DEPENDS="pkg-config" 36.16 - 36.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 36.18 -genpkg_rules() 36.19 -{ 36.20 - mkdir -p $fs/usr/lib 36.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 36.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 36.23 - cp -a $install/usr/include $fs/usr 36.24 -} 36.25 -
37.1 --- a/gamin/receipt Thu Mar 01 20:46:32 2018 +0200 37.2 +++ b/gamin/receipt Fri Mar 02 03:33:54 2018 +0200 37.3 @@ -1,24 +1,22 @@ 37.4 -# SliTaz package receipt. 37.5 +# SliTaz package receipt v2. 37.6 37.7 PACKAGE="gamin" 37.8 VERSION="0.1.10" 37.9 CATEGORY="system-tools" 37.10 -SHORT_DESC="File and directory monitoring system." 37.11 +SHORT_DESC="File and directory monitoring system" 37.12 MAINTAINER="pankso@slitaz.org" 37.13 LICENSE="LGPL2" 37.14 +WEB_SITE="http://www.gnome.org/~veillard/gamin/" 37.15 + 37.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 37.17 -WEB_SITE="http://www.gnome.org/~veillard/gamin/" 37.18 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" 37.19 37.20 -#HOST_ARCH="i486 arm" 37.21 CROSS_BUGS="error: cannot run test program while cross compiling" 37.22 37.23 -DEPENDS="glib" 37.24 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" 37.25 +SPLIT="gamin-dev" 37.26 37.27 -# Rules to configure and make the package. 37.28 -compile_rules() 37.29 -{ 37.30 +compile_rules() { 37.31 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions. 37.32 # (gamin v0.1.10) 37.33 cd server 37.34 @@ -26,10 +24,10 @@ 37.35 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \ 37.36 || return 1 37.37 cd .. 37.38 - 37.39 + 37.40 export have_abstract_sockets=yes 37.41 export ac_cv_have_abstract_sockets=yes 37.42 - 37.43 + 37.44 ./configure \ 37.45 --prefix=/usr \ 37.46 --sysconfdir=/etc \ 37.47 @@ -40,11 +38,14 @@ 37.48 make -j1 DESTDIR=$DESTDIR install 37.49 } 37.50 37.51 -# Rules to gen a SliTaz package suitable for Tazpkg. 37.52 -genpkg_rules() 37.53 -{ 37.54 - mkdir -p $fs/usr/lib 37.55 - cp -a $install/usr/lib/*.so* $fs/usr/lib 37.56 - cp -a $install/usr/lib/$PACKAGE $fs/usr/lib 37.57 - strip -s $fs/usr/lib/$PACKAGE/* 37.58 +genpkg_rules() { 37.59 + case $PACKAGE in 37.60 + gamin) 37.61 + copy @std 37.62 + DEPENDS="glib" 37.63 + ;; 37.64 + *-dev) 37.65 + copy @dev 37.66 + ;; 37.67 + esac 37.68 }
38.1 --- a/gcc49-lib-base/receipt Thu Mar 01 20:46:32 2018 +0200 38.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 38.3 @@ -1,28 +0,0 @@ 38.4 -# SliTaz package receipt. 38.5 - 38.6 -PACKAGE="gcc49-lib-base" 38.7 -VERSION="4.9.2" 38.8 -CATEGORY="development" 38.9 -SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." 38.10 -WEB_SITE="http://gcc.gnu.org/" 38.11 -MAINTAINER="pankso@slitaz.org" 38.12 -LICENSE="GPL2" 38.13 -WANTED="gcc49" 38.14 -PROVIDE="gcc-lib-base" 38.15 - 38.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 38.17 -genpkg_rules() 38.18 -{ 38.19 - mkdir -p $fs/usr/lib 38.20 - cp -a $install/usr/libgcc49/libgcc_s.so* $fs/usr/lib 38.21 - cp -a $install/usr/libgcc49/libstdc++.so* $fs/usr/lib 38.22 - rm -f $fs/usr/lib/*-gdb.py 38.23 -} 38.24 - 38.25 -post_remove() 38.26 -{ 38.27 - cd "$1/usr/lib" 38.28 - ln -s libstdc++.so.6.*.* libstdc++.so.6 38.29 - ln -s libstdc++.so.6.*.* libstdc++.so 38.30 - cd - >/dev/null 38.31 -}
39.1 --- a/gcc49/receipt Thu Mar 01 20:46:32 2018 +0200 39.2 +++ b/gcc49/receipt Fri Mar 02 03:33:54 2018 +0200 39.3 @@ -1,26 +1,24 @@ 39.4 -# SliTaz package receipt. 39.5 +# SliTaz package receipt v2. 39.6 39.7 PACKAGE="gcc49" 39.8 -SOURCE="gcc" 39.9 VERSION="4.9.2" 39.10 CATEGORY="development" 39.11 -SHORT_DESC="The GNU Compiler Collection." 39.12 +SHORT_DESC="The GNU Compiler Collection" 39.13 MAINTAINER="pankso@slitaz.org" 39.14 LICENSE="GPL2" 39.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 39.16 WEB_SITE="http://gcc.gnu.org/" 39.17 + 39.18 +TARBALL="gcc-$VERSION.tar.bz2" 39.19 WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL" 39.20 TAGS="compiler C C++" 39.21 39.22 # We need gawk since busybox awk is not sufficient. We have BUILD_DEPENDS 39.23 # for cookutils that are not used by tazwok/cook-toolchain since it installs 39.24 # and uses its own copy. 39.25 -DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" 39.26 BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev" 39.27 +SPLIT="gcc49-lib-base" 39.28 39.29 -# Rules to configure and make the package. 39.30 -compile_rules() 39.31 -{ 39.32 +compile_rules() { 39.33 ARCH_ARGS="--with-tune=$ARCH" 39.34 pkgversion="SliTaz" 39.35 languages="c,c++" 39.36 @@ -53,19 +51,33 @@ 39.37 make && make install 39.38 } 39.39 39.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 39.41 -genpkg_rules() 39.42 -{ 39.43 - mkdir -p $fs/usr/share 39.44 - cp -a $install/usr/bin $fs/usr 39.45 +genpkg_rules() { 39.46 + case $PACKAGE in 39.47 + gcc49) 39.48 + mkdir -p $fs/usr/share 39.49 + cp -a $install/usr/bin $fs/usr 39.50 39.51 - # Copy all libs. Do not hide gcc-lib-base. 39.52 - cp -a $install/usr/lib* $fs/usr 39.53 + # Copy all libs. Do not hide gcc-lib-base. 39.54 + cp -a $install/usr/lib* $fs/usr 39.55 39.56 - # Include files. 39.57 - cp -a $install/usr/include $fs/usr 39.58 + # Include files. 39.59 + cp -a $install/usr/include $fs/usr 39.60 + DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" 39.61 + ;; 39.62 + gcc49-lib-base) 39.63 + mkdir -p $fs/usr/lib 39.64 + cp -a $install/usr/libgcc49/libgcc_s.so* $fs/usr/lib 39.65 + cp -a $install/usr/libgcc49/libstdc++.so* $fs/usr/lib 39.66 + rm -f $fs/usr/lib/*-gdb.py 39.67 + CAT="development|GCC base libraries, libgcc_s and libstdc++" 39.68 + PROVIDE="gcc-lib-base" 39.69 + ;; 39.70 + esac 39.71 +} 39.72 39.73 - # Remove build directory. 39.74 - rm -rf $WOK/$PACKAGE/source/$PACKAGE-build 39.75 - rm -rf $WOK/$PACKAGE/$PACKAGE-build 39.76 +post_remove_gcc49_lib_base() { 39.77 + cd "$1/usr/lib" 39.78 + ln -s libstdc++.so.6.*.* libstdc++.so.6 39.79 + ln -s libstdc++.so.6.*.* libstdc++.so 39.80 + cd - >/dev/null 39.81 }
40.1 --- a/gcc54-lib-base/receipt Thu Mar 01 20:46:32 2018 +0200 40.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 40.3 @@ -1,28 +0,0 @@ 40.4 -# SliTaz package receipt. 40.5 - 40.6 -PACKAGE="gcc54-lib-base" 40.7 -VERSION="5.4.0" 40.8 -CATEGORY="development" 40.9 -SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." 40.10 -WEB_SITE="http://gcc.gnu.org/" 40.11 -MAINTAINER="pankso@slitaz.org" 40.12 -LICENSE="GPL2" 40.13 -WANTED="gcc54" 40.14 -PROVIDE="gcc-lib-base" 40.15 - 40.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 40.17 -genpkg_rules() 40.18 -{ 40.19 - mkdir -p $fs/usr/lib 40.20 - cp -a $install/usr/libgcc54/libgcc_s.so* $fs/usr/lib 40.21 - cp -a $install/usr/libgcc54/libstdc++.so* $fs/usr/lib 40.22 - rm -f $fs/usr/lib/*-gdb.py 40.23 -} 40.24 - 40.25 -post_remove() 40.26 -{ 40.27 - cd "$1/usr/lib" 40.28 - ln -s libstdc++.so.6.*.* libstdc++.so.6 40.29 - ln -s libstdc++.so.6.*.* libstdc++.so 40.30 - cd - >/dev/null 40.31 -}
41.1 --- a/gcc54/receipt Thu Mar 01 20:46:32 2018 +0200 41.2 +++ b/gcc54/receipt Fri Mar 02 03:33:54 2018 +0200 41.3 @@ -1,26 +1,23 @@ 41.4 -# SliTaz package receipt. 41.5 +# SliTaz package receipt v2. 41.6 41.7 PACKAGE="gcc54" 41.8 -SOURCE="gcc" 41.9 VERSION="5.4.0" 41.10 CATEGORY="development" 41.11 -SHORT_DESC="The GNU Compiler Collection." 41.12 +SHORT_DESC="The GNU Compiler Collection" 41.13 MAINTAINER="pankso@slitaz.org" 41.14 LICENSE="GPL2" 41.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 41.16 WEB_SITE="http://gcc.gnu.org/" 41.17 + 41.18 +TARBALL="gcc-$VERSION.tar.bz2" 41.19 WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL" 41.20 -TAGS="compiler C C++" 41.21 41.22 # We need gawk since busybox awk is not sufficient. We have BUILD_DEPENDS 41.23 # for cookutils that are not used by tazwok/cook-toolchain since it installs 41.24 # and uses its own copy. 41.25 -DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" 41.26 BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev" 41.27 +SPLIT="gcc54-lib-base" 41.28 41.29 -# Rules to configure and make the package. 41.30 -compile_rules() 41.31 -{ 41.32 +compile_rules() { 41.33 ARCH_ARGS="--with-tune=$ARCH" 41.34 pkgversion="SliTaz" 41.35 languages="c,c++" 41.36 @@ -51,19 +48,38 @@ 41.37 make && make install 41.38 } 41.39 41.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 41.41 -genpkg_rules() 41.42 -{ 41.43 - mkdir -p $fs/usr/share 41.44 - cp -a $install/usr/bin $fs/usr 41.45 +genpkg_rules() { 41.46 + case $PACKAGE in 41.47 + gcc54) 41.48 + mkdir -p $fs/usr/share 41.49 + cp -a $install/usr/bin $fs/usr 41.50 41.51 - # Copy all libs. Do not hide gcc-lib-base. 41.52 - cp -a $install/usr/lib* $fs/usr 41.53 + # Copy all libs. Do not hide gcc-lib-base. 41.54 + cp -a $install/usr/lib* $fs/usr 41.55 41.56 - # Include files. 41.57 - cp -a $install/usr/include $fs/usr 41.58 + # Include files. 41.59 + cp -a $install/usr/include $fs/usr 41.60 41.61 - # Remove build directory. 41.62 - rm -rf $WOK/$PACKAGE/source/$PACKAGE-build 41.63 - rm -rf $WOK/$PACKAGE/$PACKAGE-build 41.64 + # Remove build directory. 41.65 + rm -rf $WOK/$PACKAGE/source/$PACKAGE-build 41.66 + rm -rf $WOK/$PACKAGE/$PACKAGE-build 41.67 + DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" 41.68 + TAGS="compiler C C++" 41.69 + ;; 41.70 + gcc54-lib-base) 41.71 + mkdir -p $fs/usr/lib 41.72 + cp -a $install/usr/libgcc54/libgcc_s.so* $fs/usr/lib 41.73 + cp -a $install/usr/libgcc54/libstdc++.so* $fs/usr/lib 41.74 + rm -f $fs/usr/lib/*-gdb.py 41.75 + CAT="development|base libraries, libgcc_s and libstdc++" 41.76 + PROVIDE="gcc-lib-base" 41.77 + ;; 41.78 + esac 41.79 } 41.80 + 41.81 +post_remove_gcc54-lib-base() { 41.82 + cd "$1/usr/lib" 41.83 + ln -s libstdc++.so.6.*.* libstdc++.so.6 41.84 + ln -s libstdc++.so.6.*.* libstdc++.so 41.85 + cd - >/dev/null 41.86 +}
42.1 --- a/gdb-dev/receipt Thu Mar 01 20:46:32 2018 +0200 42.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 42.3 @@ -1,36 +0,0 @@ 42.4 -# SliTaz package receipt." 42.5 - 42.6 -PACKAGE="gdb-dev" 42.7 -VERSION="7.7" 42.8 -CATEGORY="development" 42.9 -SHORT_DESC="The GNU Project Debugger dev files." 42.10 -MAINTAINER="erjo@slitaz.org" 42.11 -LICENSE="GPL2" 42.12 -DEPENDS="gdb" 42.13 -WANTED="gdb" 42.14 -WEB_SITE="http://www.gnu.org/software/gdb/" 42.15 -HOST_ARCH="i486 arm" 42.16 - 42.17 -genpkg_rules() 42.18 -{ 42.19 - mkdir -p $fs/usr 42.20 - 42.21 - # Copying include dir if exists 42.22 - if [ -d "$install/usr/include" ]; then 42.23 - cp -a $install/usr/include $fs/usr 42.24 - fi 42.25 - 42.26 - # Copying pkgconfig dir if exists 42.27 - if [ -d "$install/usr/lib/pkgconfig" ]; then 42.28 - test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 42.29 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 42.30 - fi 42.31 - 42.32 - # Do not copy static libs, as they are all part of binutils 42.33 - # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a 42.34 - # Copying static libs if exists 42.35 - #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then 42.36 - # test -d $fs/usr/lib || mkdir -p $fs/usr/lib 42.37 - # cp -a $install/usr/lib/*.*a $fs/usr/lib 42.38 - #fi 42.39 -}
43.1 --- a/gdb-python/receipt Thu Mar 01 20:46:32 2018 +0200 43.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 43.3 @@ -1,34 +0,0 @@ 43.4 -# SliTaz package receipt. 43.5 - 43.6 -PACKAGE="gdb-python" 43.7 -VERSION="8.0.1" 43.8 -CATEGORY="development" 43.9 -SHORT_DESC="The GNU Project Debugger with Python support." 43.10 -MAINTAINER="erjo@slitaz.org" 43.11 -LICENSE="GPL2" 43.12 -SOURCE="gdb" 43.13 -TARBALL="$SOURCE-$VERSION.tar.xz" 43.14 -WEB_SITE="http://www.gnu.org/software/gdb/" 43.15 -WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 43.16 -PROVIDE="gdb" 43.17 - 43.18 -DEPENDS="ncurses expat glibc-dev python" 43.19 -BUILD_DEPENDS="ncurses-dev python-dev perl-dev texinfo" 43.20 - 43.21 -# Rules to configure and make the package. 43.22 -compile_rules() 43.23 -{ 43.24 - ./configure \ 43.25 - --disable-werror \ 43.26 - $CONFIGURE_ARGS && 43.27 - make $MAKEFLAGS && make install 43.28 -} 43.29 - 43.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 43.31 -genpkg_rules() 43.32 -{ 43.33 - mkdir -p $fs/usr/share 43.34 - cp -a $install/usr/bin $fs/usr 43.35 - cp -a $install/usr/lib $fs/usr 43.36 - cp -a $install/usr/share/gdb $fs/usr/share 43.37 -}
44.1 --- a/gdb/receipt Thu Mar 01 20:46:32 2018 +0200 44.2 +++ b/gdb/receipt Fri Mar 02 03:33:54 2018 +0200 44.3 @@ -3,55 +3,68 @@ 44.4 PACKAGE="gdb" 44.5 VERSION="8.0.1" 44.6 CATEGORY="development" 44.7 -SHORT_DESC="The GNU Project Debugger." 44.8 +SHORT_DESC="The GNU Project Debugger" 44.9 MAINTAINER="erjo@slitaz.org" 44.10 LICENSE="GPL2" 44.11 +WEB_SITE="http://www.gnu.org/software/gdb/" 44.12 + 44.13 TARBALL="$PACKAGE-$VERSION.tar.xz" 44.14 -WEB_SITE="http://www.gnu.org/software/gdb/" 44.15 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 44.16 -HOST_ARCH="i486 arm" 44.17 44.18 -BUILD_DEPENDS="ncurses-dev readline-dev perl-dev texinfo" 44.19 -SPLIT="gdb-dev" 44.20 +BUILD_DEPENDS="ncurses-dev python-dev readline-dev perl-dev texinfo" 44.21 +SPLIT="gdb-python:python gdb-dev" 44.22 44.23 -# Rules to configure and make the package. 44.24 -compile_rules() 44.25 -{ 44.26 +compile_rules() { 44.27 + case $SET in 44.28 + '') SET_ARGS='--with-python=no';; 44.29 + python) SET_ARGS='';; 44.30 + esac 44.31 + 44.32 ./configure \ 44.33 - --with-python=no \ 44.34 --disable-werror \ 44.35 - $CONFIGURE_ARGS && \ 44.36 + $SET_ARGS \ 44.37 + $CONFIGURE_ARGS && 44.38 make && make install 44.39 } 44.40 44.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 44.42 -genpkg_rules() 44.43 -{ 44.44 +genpkg_rules() { 44.45 case $PACKAGE in 44.46 - gdb) 44.47 - DEPENDS="ncurses expat glibc-dev" 44.48 - mkdir -p $fs/usr 44.49 - cp -a $install/usr/bin $fs/usr 44.50 - ;; 44.51 - gdb-dev) 44.52 - CAT="development|The GNU Project Debugger dev files." 44.53 - DEPENDS="gdb" 44.54 - mkdir -p $fs/usr 44.55 - 44.56 - # Copying include dir if exists 44.57 - if [ -d "$install/usr/include" ]; then 44.58 - cp -a $install/usr/include $fs/usr 44.59 - fi 44.60 - 44.61 - # Copying pkgconfig dir if exists 44.62 - if [ -d "$install/usr/lib/pkgconfig" ]; then 44.63 - test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 44.64 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 44.65 - fi 44.66 - 44.67 - # Do not copy static libs, as they are all part of binutils 44.68 - # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a 44.69 - # Copying static libs if exists 44.70 - ;; 44.71 + gdb) 44.72 + mkdir -p $fs/usr 44.73 + cp -a $install/usr/bin $fs/usr 44.74 + DEPENDS="ncurses expat glibc-dev" 44.75 + ;; 44.76 + gdb-python) 44.77 + mkdir -p $fs/usr/share 44.78 + cp -a $install/usr/bin $fs/usr 44.79 + cp -a $install/usr/lib $fs/usr 44.80 + cp -a $install/usr/share/gdb $fs/usr/share 44.81 + CAT="development|with Python support" 44.82 + DEPENDS="ncurses expat glibc-dev python" 44.83 + PROVIDE="gdb" 44.84 + ;; 44.85 + *-dev) 44.86 + mkdir -p $fs/usr 44.87 + 44.88 + # Copying include dir if exists 44.89 + if [ -d "$install/usr/include" ]; then 44.90 + cp -a $install/usr/include $fs/usr 44.91 + fi 44.92 + 44.93 + # Copying pkgconfig dir if exists 44.94 + if [ -d "$install/usr/lib/pkgconfig" ]; then 44.95 + test -d $fs/usr/lib/ || mkdir -p $fs/usr/lib/ 44.96 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 44.97 + fi 44.98 + 44.99 + # Do not copy static libs, as they are all part of binutils 44.100 + # binutils includes libbdf.*a, libiberty.a, and libopcodes.*a 44.101 + # Copying static libs if exists 44.102 + #if ( find $install/usr/lib -name "*.*a" > /dev/null ); then 44.103 + # test -d $fs/usr/lib || mkdir -p $fs/usr/lib 44.104 + # cp -a $install/usr/lib/*.*a $fs/usr/lib 44.105 + #fi 44.106 + DEPENDS="gdb" 44.107 + ;; 44.108 esac 44.109 }
45.1 --- a/gf2x-dev/receipt Thu Mar 01 20:46:32 2018 +0200 45.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 45.3 @@ -1,18 +0,0 @@ 45.4 -# SliTaz package receipt. 45.5 - 45.6 -PACKAGE="gf2x-dev" 45.7 -VERSION="1.1" 45.8 -CATEGORY="development" 45.9 -SHORT_DESC="Devel files for gf2x" 45.10 -MAINTAINER="al.bobylev@gmail.com" 45.11 -LICENSE="GPL2" 45.12 -WEB_SITE="https://gforge.inria.fr/projects/gf2x/" 45.13 -WANTED="gf2x" 45.14 - 45.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 45.16 -genpkg_rules() 45.17 -{ 45.18 - mkdir -p $fs/usr/lib 45.19 - cp -a $install/usr/include $fs/usr 45.20 - cp -a $install/usr/lib/*.*a $fs/usr/lib 45.21 -}
46.1 --- a/gf2x/receipt Thu Mar 01 20:46:32 2018 +0200 46.2 +++ b/gf2x/receipt Fri Mar 02 03:33:54 2018 +0200 46.3 @@ -1,27 +1,25 @@ 46.4 -# SliTaz package receipt. 46.5 +# SliTaz package receipt v2. 46.6 46.7 PACKAGE="gf2x" 46.8 VERSION="1.2" 46.9 CATEGORY="misc" 46.10 -SHORT_DESC="gf2x is a library for multiplying polynomials over the binary field" 46.11 +SHORT_DESC="Library for multiplying polynomials over the binary field" 46.12 MAINTAINER="al.bobylev@gmail.com" 46.13 LICENSE="GPL2" 46.14 WEB_SITE="https://gforge.inria.fr/projects/gf2x/" 46.15 + 46.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 46.17 WGET_URL="https://gforge.inria.fr/frs/download.php/file/36934/$TARBALL" 46.18 46.19 -DEPENDS="" 46.20 -BUILD_DEPENDS="wget" 46.21 +SPLIT="gf2x-dev" 46.22 46.23 -# Rules to configure and make the package. 46.24 -compile_rules() 46.25 -{ 46.26 +compile_rules() { 46.27 ./configure $CONFIGURE_ARGS && make && make install 46.28 } 46.29 46.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 46.31 -genpkg_rules() 46.32 -{ 46.33 - mkdir -p $fs/usr/lib 46.34 - cp -a $install/usr/lib/*.so* $fs/usr/lib 46.35 +genpkg_rules() { 46.36 + case $PACKAGE in 46.37 + gf2x) copy @std;; 46.38 + *-dev) copy @dev;; 46.39 + esac 46.40 }
47.1 --- a/gnet-dev/receipt Thu Mar 01 20:46:32 2018 +0200 47.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 47.3 @@ -1,24 +0,0 @@ 47.4 -# SliTaz package receipt. 47.5 - 47.6 -PACKAGE="gnet-dev" 47.7 -VERSION="2.0.8" 47.8 -CATEGORY="network" 47.9 -SHORT_DESC="GNet is a simple network library devel files." 47.10 -MAINTAINER="pankso@slitaz.org" 47.11 -LICENSE="LGPL" 47.12 -WANTED="gnet" 47.13 -WEB_SITE="http://www.gnetlibrary.org/" 47.14 - 47.15 -DEPENDS="pkg-config" 47.16 - 47.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 47.18 -genpkg_rules() 47.19 -{ 47.20 - mkdir -p $fs/usr/lib $fs/usr/share 47.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 47.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 47.23 - cp -a $install/usr/lib/gnet-2.0 $fs/usr/lib 47.24 - cp -a $install/usr/include $fs/usr 47.25 - cp -a $install/usr/share/aclocal $fs/usr/share 47.26 -} 47.27 -
48.1 --- a/gnet/receipt Thu Mar 01 20:46:32 2018 +0200 48.2 +++ b/gnet/receipt Fri Mar 02 03:33:54 2018 +0200 48.3 @@ -1,21 +1,20 @@ 48.4 -# SliTaz package receipt. 48.5 +# SliTaz package receipt v2. 48.6 48.7 PACKAGE="gnet" 48.8 VERSION="2.0.8" 48.9 CATEGORY="network" 48.10 -SHORT_DESC="GNet is a simple network library." 48.11 +SHORT_DESC="GNet is a simple network library" 48.12 MAINTAINER="pankso@slitaz.org" 48.13 LICENSE="LGPL" 48.14 +WEB_SITE="http://www.gnetlibrary.org/" 48.15 + 48.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 48.17 -WEB_SITE="http://www.gnetlibrary.org/" 48.18 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/${VERSION%.*}/$TARBALL" 48.19 48.20 -DEPENDS="glib" 48.21 -BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libXt" 48.22 +BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libXt" 48.23 +SPLIT="gnet-dev" 48.24 48.25 -# Rules to configure and make the package. 48.26 -compile_rules() 48.27 -{ 48.28 +compile_rules() { 48.29 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 48.30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt" 48.31 ./configure \ 48.32 @@ -27,9 +26,14 @@ 48.33 make DESTDIR=$DESTDIR install 48.34 } 48.35 48.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 48.37 -genpkg_rules() 48.38 -{ 48.39 - mkdir -p $fs/usr/lib 48.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 48.41 +genpkg_rules() { 48.42 + case $PACKAGE in 48.43 + gnet) 48.44 + copy @std 48.45 + DEPENDS="glib" 48.46 + ;; 48.47 + *-dev) 48.48 + copy @dev 48.49 + ;; 48.50 + esac 48.51 }
49.1 --- a/gst0-python-dev/receipt Thu Mar 01 20:46:32 2018 +0200 49.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 49.3 @@ -1,20 +0,0 @@ 49.4 -# SliTaz package receipt. 49.5 - 49.6 -PACKAGE="gst0-python-dev" 49.7 -VERSION="0.10.21" 49.8 -SERIES="0.10" 49.9 -CATEGORY="development" 49.10 -SHORT_DESC="gst0-python devel files" 49.11 -MAINTAINER="jozee@slitaz.org" 49.12 -LICENSE="LGPL2.1" 49.13 -WANTED="gst0-python" 49.14 -WEB_SITE="http://gstreamer.freedesktop.org/" 49.15 - 49.16 -DEPENDS="pygobject-dev gstreamer0-dev gst0-plugins-base-dev python-dev pkg-config" 49.17 - 49.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 49.19 -genpkg_rules() 49.20 -{ 49.21 - mkdir -p $fs/usr/lib 49.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 49.23 -}
50.1 --- a/gst0-python/receipt Thu Mar 01 20:46:32 2018 +0200 50.2 +++ b/gst0-python/receipt Fri Mar 02 03:33:54 2018 +0200 50.3 @@ -1,4 +1,4 @@ 50.4 -# SliTaz package receipt. 50.5 +# SliTaz package receipt v2. 50.6 50.7 PACKAGE="gst0-python" 50.8 VERSION="0.10.21" 50.9 @@ -6,18 +6,18 @@ 50.10 SHORT_DESC="GStreamer Python Plugins" 50.11 MAINTAINER="jozee@slitaz.org" 50.12 LICENSE="LGPL2.1" 50.13 +WEB_SITE="http://gstreamer.freedesktop.org/" 50.14 + 50.15 TARBALL="gst-python-$VERSION.tar.bz2" 50.16 -WEB_SITE="http://gstreamer.freedesktop.org/" 50.17 WGET_URL="$WEB_SITE/src/gst-python/$TARBALL" 50.18 50.19 -DEPENDS="pygobject gstreamer0 gst0-plugins-base" 50.20 BUILD_DEPENDS="pygobject-dev gstreamer0-dev gst0-plugins-base-dev libxml2-dev \ 50.21 python-dev pkg-config" 50.22 +SPLIT="gst0-python-dev" 50.23 50.24 -# Rules to configure and make the package. 50.25 -compile_rules() 50.26 -{ 50.27 - ./configure --prefix=/usr \ 50.28 +compile_rules() { 50.29 + ./configure \ 50.30 + --prefix=/usr \ 50.31 --sysconfdir=/etc \ 50.32 --localstatedir=/var \ 50.33 $CONFIGURE_ARGS && 50.34 @@ -25,10 +25,19 @@ 50.35 make DESTDIR=$DESTDIR install 50.36 } 50.37 50.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 50.39 -genpkg_rules() 50.40 -{ 50.41 - mkdir -p $fs/usr/lib $fs/usr/share 50.42 - cp -a $install/usr/share/gst-python $fs/usr/share 50.43 - cp -a $install/usr/lib/python* $fs/usr/lib 50.44 +genpkg_rules() { 50.45 + case $PACKAGE in 50.46 + gst0-python) 50.47 + mkdir -p $fs/usr/lib $fs/usr/share 50.48 + cp -a $install/usr/share/gst-python $fs/usr/share 50.49 + cp -a $install/usr/lib/python* $fs/usr/lib 50.50 + DEPENDS="pygobject gstreamer0 gst0-plugins-base" 50.51 + ;; 50.52 + *-dev) 50.53 + mkdir -p $fs/usr/lib 50.54 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 50.55 + DEPENDS="gst0-python pygobject-dev gstreamer0-dev \ 50.56 + gst0-plugins-base-dev python-dev" 50.57 + ;; 50.58 + esac 50.59 }
51.1 --- a/gtkdatabox-dev/receipt Thu Mar 01 20:46:32 2018 +0200 51.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 51.3 @@ -1,21 +0,0 @@ 51.4 -# SliTaz package receipt. 51.5 - 51.6 -PACKAGE="gtkdatabox-dev" 51.7 -VERSION="0.9.1.1" 51.8 -CATEGORY="development" 51.9 -SHORT_DESC="GTKdatabox devel files." 51.10 -MAINTAINER="pankso@slitaz.org" 51.11 -LICENSE="LGPL2.1" 51.12 -WANTED="gtkdatabox" 51.13 -WEB_SITE="http://sourceforge.net/projects/gtkdatabox/" 51.14 - 51.15 -DEPENDS="pkg-config" 51.16 - 51.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 51.18 -genpkg_rules() 51.19 -{ 51.20 - mkdir -p $fs/usr/lib 51.21 - cp -a $install/usr/include $fs/usr 51.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 51.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 51.24 -}
52.1 --- a/gtkdatabox/receipt Thu Mar 01 20:46:32 2018 +0200 52.2 +++ b/gtkdatabox/receipt Fri Mar 02 03:33:54 2018 +0200 52.3 @@ -1,23 +1,20 @@ 52.4 -# SliTaz package receipt. 52.5 +# SliTaz package receipt v2. 52.6 52.7 PACKAGE="gtkdatabox" 52.8 VERSION="0.9.1.1" 52.9 CATEGORY="development" 52.10 -SHORT_DESC="Widget for live display of large amounts of fluctuating data." 52.11 +SHORT_DESC="Widget for live display of large amounts of fluctuating data" 52.12 MAINTAINER="pankso@slitaz.org" 52.13 LICENSE="LGPL2.1" 52.14 +WEB_SITE="http://sourceforge.net/projects/gtkdatabox/" 52.15 + 52.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 52.17 -WEB_SITE="http://sourceforge.net/projects/gtkdatabox/" 52.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 52.19 52.20 -DEPENDS="gtk+" 52.21 BUILD_DEPENDS="pkg-config libffi gtk+-dev" 52.22 +SPLIT="gtkdatabox-dev" 52.23 52.24 -# Rules to configure and make the package. 52.25 -compile_rules() 52.26 -{ 52.27 - cd $src 52.28 - 52.29 +compile_rules() { 52.30 # Fix from gentoo 52.31 # http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/gtkdatabox/gtkdatabox-0.9.1.1.ebuild?view=markup 52.32 # Remove -D.*DISABLE_DEPRECATED cflags 52.33 @@ -30,9 +27,14 @@ 52.34 ./configure $CONFIGURE_ARGS && make && make install 52.35 } 52.36 52.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 52.38 -genpkg_rules() 52.39 -{ 52.40 - mkdir -p $fs/usr/lib 52.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 52.42 +genpkg_rules() { 52.43 + case $PACKAGE in 52.44 + gtkdatabox) 52.45 + copy @std 52.46 + DEPENDS="gtk+" 52.47 + ;; 52.48 + *-dev) 52.49 + copy @dev 52.50 + ;; 52.51 + esac 52.52 }
53.1 --- a/gtkglext-dev/receipt Thu Mar 01 20:46:32 2018 +0200 53.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 53.3 @@ -1,23 +0,0 @@ 53.4 -# SliTaz package receipt. 53.5 - 53.6 -PACKAGE="gtkglext-dev" 53.7 -VERSION="1.2.0" 53.8 -CATEGORY="development" 53.9 -SHORT_DESC="The gtkglext devel files." 53.10 -MAINTAINER="pankso@slitaz.org" 53.11 -LICENSE="GPL2" 53.12 -WEB_SITE="http://gtkglext.sourceforge.net/" 53.13 -WANTED="gtkglext" 53.14 - 53.15 -DEPENDS="gtkglext pkg-config pangox-compat-dev" 53.16 - 53.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 53.18 -genpkg_rules() 53.19 -{ 53.20 - mkdir -p $fs/usr/lib $fs/usr/share 53.21 - cp -a $install/usr/include $fs/usr 53.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 53.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 53.24 - cp -a $install/usr/lib/gtkglext-* $fs/usr/lib 53.25 - cp -a $install/usr/share/aclocal $fs/usr/share 53.26 -}
54.1 --- a/gtkglext/receipt Thu Mar 01 20:46:32 2018 +0200 54.2 +++ b/gtkglext/receipt Fri Mar 02 03:33:54 2018 +0200 54.3 @@ -1,35 +1,46 @@ 54.4 -# SliTaz package receipt. 54.5 +# SliTaz package receipt v2. 54.6 54.7 PACKAGE="gtkglext" 54.8 VERSION="1.2.0" 54.9 CATEGORY="x-window" 54.10 -SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+." 54.11 +SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+" 54.12 MAINTAINER="pankso@slitaz.org" 54.13 LICENSE="GPL2" 54.14 +WEB_SITE="http://gtkglext.sourceforge.net/" 54.15 + 54.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 54.17 -WEB_SITE="http://gtkglext.sourceforge.net/" 54.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 54.19 -SUGGESTED="nvidia" 54.20 54.21 -DEPENDS="gtk+ mesa libglu-mesa pangox-compat" 54.22 BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \ 54.23 util-linux-uuid-dev autoconf pangox-compat-dev expat-dev xorg-libxshmfence-dev" 54.24 +SPLIT="gtkglext-dev" 54.25 54.26 -# Rules to configure and make the package. 54.27 -compile_rules() 54.28 -{ 54.29 +compile_rules() { 54.30 patch -Np1 -i $stuff/gtk2.20.patch 54.31 autoconf --force 54.32 ./configure \ 54.33 - --prefix=/usr \ 54.34 - $CONFIGURE_ARGS && 54.35 + --prefix=/usr \ 54.36 + $CONFIGURE_ARGS && 54.37 make && 54.38 make DESTDIR=$DESTDIR install 54.39 } 54.40 54.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 54.42 -genpkg_rules() 54.43 -{ 54.44 - mkdir -p $fs/usr/lib 54.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 54.46 +genpkg_rules() { 54.47 + case $PACKAGE in 54.48 + gtkglext) 54.49 + mkdir -p $fs/usr/lib 54.50 + cp -a $install/usr/lib/*.so* $fs/usr/lib 54.51 + DEPENDS="gtk+ mesa libglu-mesa pangox-compat" 54.52 + SUGGESTED="nvidia" 54.53 + ;; 54.54 + *-dev) 54.55 + mkdir -p $fs/usr/lib $fs/usr/share 54.56 + cp -a $install/usr/include $fs/usr 54.57 + cp -a $install/usr/lib/*.*a $fs/usr/lib 54.58 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 54.59 + cp -a $install/usr/lib/gtkglext-* $fs/usr/lib 54.60 + cp -a $install/usr/share/aclocal $fs/usr/share 54.61 + DEPENDS="gtkglext pangox-compat-dev" 54.62 + ;; 54.63 + esac 54.64 }
55.1 --- a/ibus-dev/receipt Thu Mar 01 20:46:32 2018 +0200 55.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 55.3 @@ -1,22 +0,0 @@ 55.4 -# SliTaz package receipt. 55.5 - 55.6 -PACKAGE="ibus-dev" 55.7 -VERSION="1.4.2" 55.8 -CATEGORY="development" 55.9 -SHORT_DESC="Intelligent Input Bus for Linux / Unix OS, development files" 55.10 -MAINTAINER="pascal.bellard@slitaz.org" 55.11 -LICENSE="LGPL2.1" 55.12 -WEB_SITE="http://code.google.com/p/ibus/" 55.13 -WANTED="ibus" 55.14 - 55.15 -DEPENDS="ibus pkg-config" 55.16 -BUILD_DEPENDS="" 55.17 - 55.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 55.19 -genpkg_rules() 55.20 -{ 55.21 - mkdir -p $fs/usr/lib 55.22 - cp -a $install/usr/include $fs/usr 55.23 - cp -a $install/usr/lib $fs/usr 55.24 - find $install/usr/lib | grep '\.so' | xargs rm -f 55.25 -}
56.1 --- a/ibus/receipt Thu Mar 01 20:46:32 2018 +0200 56.2 +++ b/ibus/receipt Fri Mar 02 03:33:54 2018 +0200 56.3 @@ -1,4 +1,4 @@ 56.4 -# SliTaz package receipt. 56.5 +# SliTaz package receipt v2. 56.6 56.7 PACKAGE="ibus" 56.8 VERSION="1.4.2" 56.9 @@ -7,16 +7,15 @@ 56.10 MAINTAINER="pascal.bellard@slitaz.org" 56.11 LICENSE="LGPL2.1" 56.12 WEB_SITE="http://code.google.com/p/ibus/" 56.13 + 56.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 56.15 WGET_URL="http://ibus.googlecode.com/files/$TARBALL" 56.16 56.17 -DEPENDS="gtk+" 56.18 BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \ 56.19 intltool gettext perl iso-codes" 56.20 +SPLIT="ibus-dev" 56.21 56.22 -# Rules to configure and make the package. 56.23 -compile_rules() 56.24 -{ 56.25 +compile_rules() { 56.26 mkdir -p $DESTDIR$(ls -d /usr/lib/gtk-2*/2*/immodules/) 56.27 ./configure --prefix=/usr \ 56.28 --mandir=/usr/share/man \ 56.29 @@ -26,13 +25,22 @@ 56.30 make && make DESTDIR=$DESTDIR install 56.31 } 56.32 56.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 56.34 -genpkg_rules() 56.35 -{ 56.36 - cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/ 56.37 - cp -a $install/* $fs 56.38 - rm -rf $fs/usr/include 56.39 - rm -rf $fs/usr/lib/pkgconfig 56.40 - rm -rf $fs/usr/share/gtk-doc 56.41 - find $fs/usr/lib | grep 'a$' | xargs rm -f 56.42 +genpkg_rules() { 56.43 + case $PACKAGE in 56.44 + ibus) 56.45 + cp -a $src/client/gtk2/im-ibus.la $install/usr/lib/gtk-2*/2*/immodules/ 56.46 + cp -a $install/* $fs 56.47 + rm -rf $fs/usr/include 56.48 + rm -rf $fs/usr/lib/pkgconfig 56.49 + rm -rf $fs/usr/share/gtk-doc 56.50 + find $fs/usr/lib | grep 'a$' | xargs rm -f 56.51 + DEPENDS="gtk+" 56.52 + ;; 56.53 + *-dev) 56.54 + mkdir -p $fs/usr/lib 56.55 + cp -a $install/usr/include $fs/usr 56.56 + cp -a $install/usr/lib $fs/usr 56.57 + find $install/usr/lib | grep '\.so' | xargs rm -f 56.58 + ;; 56.59 + esac 56.60 }
57.1 --- a/ilmbase-dev/receipt Thu Mar 01 20:46:32 2018 +0200 57.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 57.3 @@ -1,21 +0,0 @@ 57.4 -# SliTaz package receipt. 57.5 - 57.6 -PACKAGE="ilmbase-dev" 57.7 -VERSION="2.2.0" 57.8 -CATEGORY="development" 57.9 -SHORT_DESC="devel files for ilmbase" 57.10 -MAINTAINER="slaxemulator@gmail.com" 57.11 -LICENSE="BSD" 57.12 -WEB_SITE="http://www.openexr.org/" 57.13 -WANTED="ilmbase" 57.14 - 57.15 -DEPENDS="ilmbase pkg-config" 57.16 - 57.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 57.18 -genpkg_rules() 57.19 -{ 57.20 - mkdir -p $fs/usr/lib 57.21 - cp -a $install/usr/include $fs/usr 57.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 57.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 57.24 -}
58.1 --- a/ilmbase/receipt Thu Mar 01 20:46:32 2018 +0200 58.2 +++ b/ilmbase/receipt Fri Mar 02 03:33:54 2018 +0200 58.3 @@ -1,4 +1,4 @@ 58.4 -# SliTaz package receipt. 58.5 +# SliTaz package receipt v2. 58.6 58.7 PACKAGE="ilmbase" 58.8 VERSION="2.2.0" 58.9 @@ -6,20 +6,20 @@ 58.10 SHORT_DESC="IlmThread is a thread abstraction library for use with OpenEXR" 58.11 MAINTAINER="slaxemulator@gmail.com" 58.12 LICENSE="BSD" 58.13 +WEB_SITE="http://www.openexr.org" 58.14 + 58.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 58.16 -WEB_SITE="http://www.openexr.org" 58.17 WGET_URL="http://savannah.nongnu.org/download/openexr/$TARBALL" 58.18 58.19 -# Rules to configure and make the package. 58.20 -compile_rules() 58.21 -{ 58.22 - ./configure $CONFIGURE_ARGS && 58.23 - make && make install 58.24 +SPLIT="ilmbase-dev" 58.25 + 58.26 +compile_rules() { 58.27 + ./configure $CONFIGURE_ARGS && make && make install 58.28 } 58.29 58.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 58.31 -genpkg_rules() 58.32 -{ 58.33 - mkdir -p $fs/usr/lib 58.34 - cp -a $install/usr/lib/*.so* $fs/usr/lib 58.35 +genpkg_rules() { 58.36 + case $PACKAGE in 58.37 + ilmbase) copy @std;; 58.38 + *-dev) copy @dev;; 58.39 + esac 58.40 }
59.1 --- a/irrlicht-dev/receipt Thu Mar 01 20:46:32 2018 +0200 59.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 59.3 @@ -1,19 +0,0 @@ 59.4 -# SliTaz package receipt. 59.5 - 59.6 -PACKAGE="irrlicht-dev" 59.7 -VERSION="1.8.1" 59.8 -CATEGORY="development" 59.9 -SHORT_DESC="high performance realtime 3D engine written in C++" 59.10 -MAINTAINER="pascal.bellard@slitaz.org" 59.11 -LICENSE="zlib/libpng" 59.12 -WEB_SITE="http://irrlicht.sourceforge.net/" 59.13 -WANTED="irrlicht" 59.14 - 59.15 -DEPENDS="irrlicht" 59.16 - 59.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 59.18 -genpkg_rules() 59.19 -{ 59.20 - mkdir -p $fs/usr 59.21 - cp -a $install/usr/include $fs/usr 59.22 -}
60.1 --- a/irrlicht/receipt Thu Mar 01 20:46:32 2018 +0200 60.2 +++ b/irrlicht/receipt Fri Mar 02 03:33:54 2018 +0200 60.3 @@ -3,19 +3,18 @@ 60.4 PACKAGE="irrlicht" 60.5 VERSION="1.8.4" 60.6 CATEGORY="development" 60.7 -SHORT_DESC="high performance realtime 3D engine written in C++" 60.8 +SHORT_DESC="High performance realtime 3D engine written in C++" 60.9 MAINTAINER="pascal.bellard@slitaz.org" 60.10 LICENSE="zlib/libpng" 60.11 +WEB_SITE="http://irrlicht.sourceforge.net/" 60.12 + 60.13 TARBALL="$PACKAGE-$VERSION.zip" 60.14 -WEB_SITE="http://irrlicht.sourceforge.net/" 60.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 60.16 60.17 BUILD_DEPENDS="xorg-dev mesa-dev" 60.18 -SPLIT="irrlicht irrlicht-dev" 60.19 +SPLIT="irrlicht-dev" 60.20 60.21 -# Rules to configure and make the package. 60.22 -compile_rules() 60.23 -{ 60.24 +compile_rules() { 60.25 cd $src/source/Irrlicht 60.26 sed -i "s|^INSTALL_DIR.*|INSTALL_DIR = $DESTDIR/usr/lib|" Makefile 60.27 make sharedlib && 60.28 @@ -23,20 +22,17 @@ 60.29 make install 60.30 } 60.31 60.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 60.33 -genpkg_rules() 60.34 -{ 60.35 +genpkg_rules() { 60.36 case $PACKAGE in 60.37 - irrlicht) 60.38 - DEPENDS="mesa gcc-lib-base xorg-libxcb xorg-libXfixes" 60.39 - mkdir -p $fs/usr 60.40 - cp -a $install/usr/lib $fs/usr 60.41 - ;; 60.42 - irrlicht-dev) 60.43 - CAT="development|high performance realtime 3D engine written in C++" 60.44 - DEPENDS="irrlicht" 60.45 - mkdir -p $fs/usr 60.46 - cp -a $install/usr/include $fs/usr 60.47 - ;; 60.48 + irrlicht) 60.49 + mkdir -p $fs/usr 60.50 + cp -a $install/usr/lib $fs/usr 60.51 + DEPENDS="mesa gcc-lib-base xorg-libxcb xorg-libXfixes" 60.52 + ;; 60.53 + *-dev) 60.54 + mkdir -p $fs/usr 60.55 + cp -a $install/usr/include $fs/usr 60.56 + DEPENDS="irrlicht" 60.57 + ;; 60.58 esac 60.59 }
61.1 --- a/jikes-dev/receipt Thu Mar 01 20:46:32 2018 +0200 61.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 61.3 @@ -1,17 +0,0 @@ 61.4 -# SliTaz package receipt. 61.5 - 61.6 -PACKAGE="jikes-dev" 61.7 -VERSION="1.22" 61.8 -CATEGORY="development" 61.9 -SHORT_DESC="jikes devel files." 61.10 -MAINTAINER="rcx@zoominternet.net" 61.11 -LICENSE="EPL" 61.12 -WEB_SITE="http://jikes.sourceforge.net/" 61.13 -WANTED="jikes" 61.14 - 61.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 61.16 -genpkg_rules() 61.17 -{ 61.18 - mkdir -p $fs/usr 61.19 - cp -a $install/usr/include $fs/usr 61.20 -}
62.1 --- a/jikes/receipt Thu Mar 01 20:46:32 2018 +0200 62.2 +++ b/jikes/receipt Fri Mar 02 03:33:54 2018 +0200 62.3 @@ -1,23 +1,20 @@ 62.4 -# SliTaz package receipt. 62.5 +# SliTaz package receipt v2. 62.6 62.7 PACKAGE="jikes" 62.8 VERSION="1.22" 62.9 CATEGORY="development" 62.10 -SHORT_DESC="An Open Source compiler for Java." 62.11 +SHORT_DESC="An Open Source compiler for Java" 62.12 MAINTAINER="rcx@zoominternet.net" 62.13 LICENSE="EPL" 62.14 +WEB_SITE="http://jikes.sourceforge.net/" 62.15 + 62.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 62.17 -WEB_SITE="http://jikes.sourceforge.net/" 62.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 62.19 -TAGS="java" 62.20 62.21 -DEPENDS="gcc-lib-base" 62.22 BUILD_DEPENDS="slitaz-toolchain" 62.23 +SPLIT="jikes-dev" 62.24 62.25 -# Rules to configure and make the package. 62.26 -compile_rules() 62.27 -{ 62.28 - cd $src 62.29 +compile_rules() { 62.30 ./configure \ 62.31 --prefix=/usr \ 62.32 --infodir=/usr/share/info \ 62.33 @@ -27,10 +24,17 @@ 62.34 make DESTDIR=$DESTDIR install 62.35 } 62.36 62.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 62.38 -genpkg_rules() 62.39 -{ 62.40 - mkdir -p $fs/usr 62.41 - cp -a $install/usr/bin $fs/usr 62.42 +genpkg_rules() { 62.43 + case $PACKAGE in 62.44 + jikes) 62.45 + mkdir -p $fs/usr 62.46 + cp -a $install/usr/bin $fs/usr 62.47 + DEPENDS="gcc-lib-base" 62.48 + TAGS="java" 62.49 + ;; 62.50 + *-dev) 62.51 + mkdir -p $fs/usr 62.52 + cp -a $install/usr/include $fs/usr 62.53 + ;; 62.54 + esac 62.55 } 62.56 -
63.1 --- a/kqoauth-dev/receipt Thu Mar 01 20:46:32 2018 +0200 63.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 63.3 @@ -1,19 +0,0 @@ 63.4 -# SliTaz package receipt. 63.5 - 63.6 -PACKAGE="kqoauth-dev" 63.7 -GITHASH="7c31a120f86f3351a9eb0bafd321f2a977b3e0a5" 63.8 -VERSION=${GITHASH:0:7} 63.9 -CATEGORY="development" 63.10 -SHORT_DESC="Development files for kqoauth" 63.11 -MAINTAINER="al.bobylev@gmail.com" 63.12 -LICENSE="LGPL2.1" 63.13 -WEB_SITE="https://github.com/kypeli/kQOAuth" 63.14 -WANTED="kqoauth" 63.15 -DEPENDS="kqoauth" 63.16 - 63.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 63.18 -genpkg_rules() 63.19 -{ 63.20 - cp -a $install/* $fs 63.21 - rm -f $fs/usr/lib/*.so* 63.22 -}
64.1 --- a/kqoauth/receipt Thu Mar 01 20:46:32 2018 +0200 64.2 +++ b/kqoauth/receipt Fri Mar 02 03:33:54 2018 +0200 64.3 @@ -1,4 +1,4 @@ 64.4 -# SliTaz package receipt. 64.5 +# SliTaz package receipt v2. 64.6 64.7 PACKAGE="kqoauth" 64.8 GITHASH="7c31a120f86f3351a9eb0bafd321f2a977b3e0a5" 64.9 @@ -8,21 +8,25 @@ 64.10 MAINTAINER="al.bobylev@gmail.com" 64.11 LICENSE="LGPL2.1" 64.12 WEB_SITE="https://github.com/kypeli/kQOAuth" 64.13 + 64.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 64.15 WGET_URL="https://github.com/kypeli/kQOAuth/tarball/$GITHASH" 64.16 64.17 -DEPENDS="libQtGui libQtNetwork openssl" 64.18 BUILD_DEPENDS="qmake Qt4-dev openssl-dev wget" 64.19 +SPLIT="kqoauth-dev" 64.20 64.21 -# Rules to configure and make the package. 64.22 -compile_rules() 64.23 -{ 64.24 +compile_rules() { 64.25 qmake && make && make INSTALL_ROOT=$install install 64.26 } 64.27 64.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 64.29 -genpkg_rules() 64.30 -{ 64.31 - mkdir -p $fs/usr/lib 64.32 - cp -a $install/usr/lib/*.so* $fs/usr/lib 64.33 +genpkg_rules() { 64.34 + case $PACKAGE in 64.35 + kqoauth) 64.36 + copy @std 64.37 + DEPENDS="libQtGui libQtNetwork openssl" 64.38 + ;; 64.39 + *-dev) 64.40 + copy @dev 64.41 + ;; 64.42 + esac 64.43 }
65.1 --- a/lguest-libre/receipt Thu Mar 01 20:46:32 2018 +0200 65.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 65.3 @@ -1,18 +0,0 @@ 65.4 -# SliTaz package receipt. 65.5 - 65.6 -PACKAGE="lguest-libre" 65.7 -VERSION="2.6.37-gnu" 65.8 -CATEGORY="base-system" 65.9 -SHORT_DESC="The Linux Libre kernel paravirtualization tool." 65.10 -MAINTAINER="gokhlayeh@slitaz.org" 65.11 -LICENSE="GPL2" 65.12 -PROVIDE="lguest" 65.13 -WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" 65.14 -WANTED="linux-libre" 65.15 - 65.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 65.17 -genpkg_rules() 65.18 -{ 65.19 - mkdir -p $fs/usr/sbin 65.20 - cp $src/Documentation/lguest/lguest $fs/usr/sbin 65.21 -}
66.1 --- a/libdnet-dev/receipt Thu Mar 01 20:46:32 2018 +0200 66.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 66.3 @@ -1,22 +0,0 @@ 66.4 -# SliTaz package receipt. 66.5 - 66.6 -PACKAGE="libdnet-dev" 66.7 -VERSION="1.12" 66.8 -CATEGORY="development" 66.9 -SHORT_DESC="devel files of libdnet" 66.10 -MAINTAINER="slaxemulator@gmail.com" 66.11 -LICENSE="BSD" 66.12 -WEB_SITE="http://code.google.com/p/libdnet/" 66.13 -WANTED="libdnet" 66.14 - 66.15 -DEPENDS="libdnet" 66.16 - 66.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 66.18 -genpkg_rules() 66.19 -{ 66.20 - mkdir -p $fs/usr/lib 66.21 - cp -a $install/usr/bin $fs/usr 66.22 - cp -a $install/usr/include $fs/usr 66.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 66.24 -} 66.25 -
67.1 --- a/libdnet/receipt Thu Mar 01 20:46:32 2018 +0200 67.2 +++ b/libdnet/receipt Fri Mar 02 03:33:54 2018 +0200 67.3 @@ -1,4 +1,4 @@ 67.4 -# SliTaz package receipt. 67.5 +# SliTaz package receipt v2. 67.6 67.7 PACKAGE="libdnet" 67.8 VERSION="1.12" 67.9 @@ -6,17 +6,15 @@ 67.10 SHORT_DESC="A simplified, portable interface to serveral low-level networking routines" 67.11 MAINTAINER="slaxemulator@gmail.com" 67.12 LICENSE="BSD" 67.13 +WEB_SITE="http://code.google.com/p/libdnet/" 67.14 + 67.15 TARBALL="$PACKAGE-$VERSION.tgz" 67.16 -WEB_SITE="http://code.google.com/p/libdnet/" 67.17 WGET_URL="http://libdnet.googlecode.com/files/$TARBALL" 67.18 67.19 -DEPENDS="python" 67.20 BUILD_DEPENDS="python python-dev" 67.21 +SPLIT="libdnet-dev" 67.22 67.23 -# Rules to configure and make the package. 67.24 -compile_rules() 67.25 -{ 67.26 - cd $src 67.27 +compile_rules() { 67.28 ./configure \ 67.29 --prefix=/usr \ 67.30 --infodir=/usr/share/info \ 67.31 @@ -25,12 +23,14 @@ 67.32 make && make DESTDIR=$DESTDIR install 67.33 } 67.34 67.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 67.36 -genpkg_rules() 67.37 -{ 67.38 - mkdir -p $fs/usr/lib 67.39 - cp -a $install/usr/sbin $fs/usr 67.40 - cp -a $install/usr/lib/libdnet $fs/usr/lib 67.41 - cp -a $install/usr/lib/*.1* $fs/usr/lib 67.42 +genpkg_rules() { 67.43 + case $PACKAGE in 67.44 + libdnet) 67.45 + copy @std 67.46 + DEPENDS="python" 67.47 + ;; 67.48 + *-dev) 67.49 + copy @dev 67.50 + ;; 67.51 + esac 67.52 } 67.53 -
68.1 --- a/libdvdread-dev/receipt Thu Mar 01 20:46:32 2018 +0200 68.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 68.3 @@ -1,39 +0,0 @@ 68.4 -# SliTaz package receipt." 68.5 - 68.6 -PACKAGE="libdvdread-dev" 68.7 -VERSION="4.1.3" 68.8 -CATEGORY="system-tools" 68.9 -SHORT_DESC="Librairy for reading DVDs dev files." 68.10 -MAINTAINER="erjo@slitaz.org" 68.11 -LICENSE="GPL2" 68.12 -WANTED="libdvdread" 68.13 -WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" 68.14 - 68.15 -DEPENDS="libdvdread" 68.16 - 68.17 -genpkg_rules() 68.18 -{ 68.19 - mkdir -p $fs/usr 68.20 - 68.21 - # Copying include dir if existes 68.22 - if [ -d "$install/usr/include" ]; then 68.23 - cp -a $install/usr/include $fs/usr 68.24 - fi 68.25 - 68.26 - # Copying bin dir if existes 68.27 - if [ -d "$install/usr/bin" ]; then 68.28 - cp -a $install/usr/bin $fs/usr 68.29 - fi 68.30 - 68.31 - # Copying pkgconfig dir if existes 68.32 - if [ -d "$install/usr/lib/pkgconfig" ]; then 68.33 - test -d $install/usr/lib/ || mkdir -p $install/usr/lib/ 68.34 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 68.35 - fi 68.36 - 68.37 - # Copying static libs if existes 68.38 - if ( find $install/usr/lib -name "*.*a" > /dev/null ); then 68.39 - test -d $fs/usr/lib || mkdir -p $fs/usr/lib 68.40 - cp -a $install/usr/lib/*.*a $fs/usr/lib 68.41 - fi 68.42 -}
69.1 --- a/libdvdread/receipt Thu Mar 01 20:46:32 2018 +0200 69.2 +++ b/libdvdread/receipt Fri Mar 02 03:33:54 2018 +0200 69.3 @@ -1,4 +1,4 @@ 69.4 -# SliTaz package receipt. 69.5 +# SliTaz package receipt v2. 69.6 69.7 PACKAGE="libdvdread" 69.8 VERSION="4.1.3" 69.9 @@ -6,25 +6,24 @@ 69.10 SHORT_DESC="Librairy for reading DVDs" 69.11 MAINTAINER="erjo@slitaz.org" 69.12 LICENSE="GPL2" 69.13 +WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" 69.14 + 69.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 69.16 -WEB_SITE="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/" 69.17 WGET_URL="${WEB_SITE}${TARBALL}" 69.18 69.19 BUILD_DEPENDS="libdvdcss-dev autoconf automake libtool" 69.20 +SPLIT="libdvdread-dev" 69.21 69.22 -# Rules to configure and make the package. 69.23 -compile_rules() 69.24 -{ 69.25 - cd $src 69.26 +compile_rules() { 69.27 patch -Np1 -i $stuff/DVDFileStat.patch 69.28 ./autogen.sh $CONFIGURE_ARGS 2>&1 | grep -v /libtool && 69.29 make && make install 69.30 } 69.31 69.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 69.33 -genpkg_rules() 69.34 -{ 69.35 - mkdir -p $fs/usr/lib 69.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 69.37 +genpkg_rules() { 69.38 + case $PACKAGE in 69.39 + libdvdread) copy @std;; 69.40 + *-dev) copy @dev;; 69.41 + esac 69.42 } 69.43
70.1 --- a/libedit-dev/receipt Thu Mar 01 20:46:32 2018 +0200 70.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 70.3 @@ -1,22 +0,0 @@ 70.4 -# SliTaz package receipt. 70.5 - 70.6 -PACKAGE="libedit-dev" 70.7 -VERSION="3.0" 70.8 -CATEGORY="development" 70.9 -SHORT_DESC="Berkeley-style licensed command line editor library devel files" 70.10 -MAINTAINER="domcox@slitaz.org" 70.11 -LICENSE="BSD" 70.12 -WEB_SITE="http://www.thrysoee.dk/editline/" 70.13 -SOURCE="libedit-20100424" 70.14 -WANTED="libedit" 70.15 - 70.16 -DEPENDS="pkg-config" 70.17 - 70.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 70.19 -genpkg_rules() 70.20 -{ 70.21 - mkdir -p $fs/usr $fs/usr/lib 70.22 - cp -a $install/usr/include $fs/usr 70.23 - cp -a $install/usr/lib/*a $fs/usr/lib 70.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 70.25 -}
71.1 --- a/libedit/receipt Thu Mar 01 20:46:32 2018 +0200 71.2 +++ b/libedit/receipt Fri Mar 02 03:33:54 2018 +0200 71.3 @@ -1,4 +1,4 @@ 71.4 -# SliTaz package receipt. 71.5 +# SliTaz package receipt v2. 71.6 71.7 PACKAGE="libedit" 71.8 VERSION="3.0" 71.9 @@ -6,17 +6,15 @@ 71.10 SHORT_DESC="Berkeley-style licensed command line editor library" 71.11 MAINTAINER="domcox@slitaz.org" 71.12 LICENSE="BSD" 71.13 -SOURCE="libedit-20100424" 71.14 -TARBALL="$SOURCE-$VERSION.tar.gz" 71.15 WEB_SITE="http://www.thrysoee.dk/editline/" 71.16 + 71.17 +TARBALL="libedit-20100424-$VERSION.tar.gz" 71.18 WGET_URL="http://www.thrysoee.dk/editline/$TARBALL" 71.19 -TAGS="cli editor library" 71.20 71.21 BUILD_DEPENDS="gettext" 71.22 +SPLIT="libedit-dev" 71.23 71.24 -# Rules to configure and make the package. 71.25 -compile_rules() 71.26 -{ 71.27 +compile_rules() { 71.28 ./configure \ 71.29 --prefix=/usr \ 71.30 --mandir=/usr/share/man \ 71.31 @@ -26,9 +24,14 @@ 71.32 make DESTDIR=$DESTDIR install 71.33 } 71.34 71.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 71.36 -genpkg_rules() 71.37 -{ 71.38 - mkdir -p $fs/usr/lib 71.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 71.40 +genpkg_rules() { 71.41 + case $PACKAGE in 71.42 + libedit) 71.43 + copy @std 71.44 + TAGS="cli editor library" 71.45 + ;; 71.46 + *-dev) 71.47 + copy @dev 71.48 + ;; 71.49 + esac 71.50 }
72.1 --- a/libglademm-dev/receipt Thu Mar 01 20:46:32 2018 +0200 72.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 72.3 @@ -1,22 +0,0 @@ 72.4 -# SliTaz package receipt. 72.5 - 72.6 -PACKAGE="libglademm-dev" 72.7 -VERSION="2.6.7" 72.8 -CATEGORY="system-tools" 72.9 -SHORT_DESC="A C++ wrapper for libglade (devel files)." 72.10 -MAINTAINER="gokhlayeh@slitaz.org" 72.11 -LICENSE="LGPL2.1" 72.12 -WANTED="libglademm" 72.13 -WEB_SITE="http://gtkmm.sourceforge.net/" 72.14 - 72.15 -DEPENDS="libglademm pkg-config" 72.16 - 72.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 72.18 -genpkg_rules() 72.19 -{ 72.20 - mkdir -p $fs/usr 72.21 - cp -a $install/usr/lib $fs/usr 72.22 - cp -a $install/usr/include $fs/usr 72.23 - rm $fs/usr/lib/*.so* 72.24 -} 72.25 -
73.1 --- a/libglademm/receipt Thu Mar 01 20:46:32 2018 +0200 73.2 +++ b/libglademm/receipt Fri Mar 02 03:33:54 2018 +0200 73.3 @@ -1,22 +1,20 @@ 73.4 -# SliTaz package receipt. 73.5 +# SliTaz package receipt v2. 73.6 73.7 PACKAGE="libglademm" 73.8 VERSION="2.6.7" 73.9 CATEGORY="system-tools" 73.10 -SHORT_DESC="A C++ wrapper for libglade." 73.11 +SHORT_DESC="A C++ wrapper for libglade" 73.12 MAINTAINER="gokhlayeh@slitaz.org" 73.13 LICENSE="LGPL2.1" 73.14 +WEB_SITE="http://gtkmm.sourceforge.net/" 73.15 + 73.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 73.17 -WEB_SITE="http://gtkmm.sourceforge.net/" 73.18 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 73.19 73.20 -DEPENDS="gtkmm libglade glibmm" 73.21 BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev" 73.22 +SPLIT="libglademm-dev" 73.23 73.24 -# Rules to configure and make the package. 73.25 -compile_rules() 73.26 -{ 73.27 - cd $src 73.28 +compile_rules() { 73.29 sed -i 's|gtkmm/main|gtkmm|' examples/variablesmap/main.cc 73.30 ./configure \ 73.31 --prefix=/usr \ 73.32 @@ -26,10 +24,14 @@ 73.33 make $MAKEFLAGS && make DESTDIR=$DESTDIR install 73.34 } 73.35 73.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 73.37 -genpkg_rules() 73.38 -{ 73.39 - mkdir -p $fs/usr/lib 73.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 73.41 +genpkg_rules() { 73.42 + case $PACKAGE in 73.43 + libglademm) 73.44 + copy @std 73.45 + DEPENDS="gtkmm libglade glibmm" 73.46 + ;; 73.47 + *-dev) 73.48 + copy @dev 73.49 + ;; 73.50 + esac 73.51 } 73.52 -
74.1 --- a/libgtkhtml-dev/receipt Thu Mar 01 20:46:32 2018 +0200 74.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 74.3 @@ -1,21 +0,0 @@ 74.4 -# SliTaz package receipt. 74.5 - 74.6 -PACKAGE="libgtkhtml-dev" 74.7 -VERSION="2.11.1" 74.8 -CATEGORY="development" 74.9 -SHORT_DESC="libgtkhtml devel files." 74.10 -WEB_SITE="http://freshmeat.net/projects/libgtkhtml/" 74.11 -MAINTAINER="rcx@zoominternet.net" 74.12 -LICENSE="LGPL2" 74.13 -WANTED="libgtkhtml" 74.14 - 74.15 -DEPENDS="libgtkhtml pkg-config" 74.16 - 74.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 74.18 -genpkg_rules() 74.19 -{ 74.20 - mkdir -p $fs/usr/lib 74.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 74.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 74.23 - cp -a $install/usr/include $fs/usr 74.24 -}
75.1 --- a/libgtkhtml/receipt Thu Mar 01 20:46:32 2018 +0200 75.2 +++ b/libgtkhtml/receipt Fri Mar 02 03:33:54 2018 +0200 75.3 @@ -1,24 +1,20 @@ 75.4 -# SliTaz package receipt. 75.5 +# SliTaz package receipt v2. 75.6 75.7 PACKAGE="libgtkhtml" 75.8 VERSION="2.11.1" 75.9 CATEGORY="x-window" 75.10 -SHORT_DESC="A gtk-based HTML rendering/editing library." 75.11 +SHORT_DESC="A gtk-based HTML rendering/editing library" 75.12 MAINTAINER="rcx@zoominternet.net" 75.13 LICENSE="LGPL2" 75.14 +WEB_SITE="http://freshmeat.net/projects/libgtkhtml/" 75.15 + 75.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 75.17 -WEB_SITE="http://freshmeat.net/projects/libgtkhtml/" 75.18 WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 75.19 75.20 -DEPENDS="glibc-base glib expat libxml2 zlib \ 75.21 -gtk+ cairo atk fontconfig freetype pango xorg-pixman libpng16 \ 75.22 -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXcursor \ 75.23 -xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" 75.24 BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev" 75.25 +SPLIT="libgtkhtml-dev" 75.26 75.27 -# Rules to configure and make the package. 75.28 -compile_rules() 75.29 -{ 75.30 +compile_rules() { 75.31 ./configure \ 75.32 --prefix=/usr \ 75.33 --sysconfdir=/etc \ 75.34 @@ -28,9 +24,18 @@ 75.35 make && make DESTDIR=$DESTDIR install 75.36 } 75.37 75.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 75.39 -genpkg_rules() 75.40 -{ 75.41 - mkdir -p $fs/usr/lib 75.42 - cp -a $install/usr/lib/*.so* $fs/usr/lib 75.43 +genpkg_rules() { 75.44 + case $PACKAGE in 75.45 + libgtkhtml) 75.46 + copy @std 75.47 + DEPENDS="glibc-base glib expat libxml2 zlib gtk+ cairo atk \ 75.48 + fontconfig freetype pango xorg-pixman libpng16 xorg-libX11 \ 75.49 + xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXcursor \ 75.50 + xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ 75.51 + xorg-libXinerama xorg-libXrender" 75.52 + ;; 75.53 + *-dev) 75.54 + copy @dev 75.55 + ;; 75.56 + esac 75.57 }
76.1 --- a/libjson-dev/receipt Thu Mar 01 20:46:32 2018 +0200 76.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 76.3 @@ -1,20 +0,0 @@ 76.4 -# SliTaz package receipt. 76.5 - 76.6 -PACKAGE="libjson-dev" 76.7 -VERSION="7.6.1" 76.8 -CATEGORY="development" 76.9 -MAINTAINER="pascal.bellard@slitaz.org" 76.10 -LICENSE="BSD" 76.11 -SHORT_DESC="A super-effiecient JSON reader and writer, development files" 76.12 -WEB_SITE="http://sourceforge.net/projects/libjson/" 76.13 -WANTED="libjson" 76.14 - 76.15 -DEPENDS="libjson" 76.16 - 76.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 76.18 -genpkg_rules() 76.19 -{ 76.20 - mkdir -p $fs/usr/lib 76.21 - cp -a $install/usr/include $fs/usr/ 76.22 - cp -a $install/usr/lib/*a $fs/usr/lib/ 76.23 -}
77.1 --- a/libjson/receipt Thu Mar 01 20:46:32 2018 +0200 77.2 +++ b/libjson/receipt Fri Mar 02 03:33:54 2018 +0200 77.3 @@ -1,21 +1,19 @@ 77.4 -# SliTaz package receipt. 77.5 +# SliTaz package receipt v2. 77.6 77.7 PACKAGE="libjson" 77.8 VERSION="7.6.1" 77.9 CATEGORY="misc" 77.10 +SHORT_DESC="A super-effiecient JSON reader and writer" 77.11 MAINTAINER="pascal.bellard@slitaz.org" 77.12 LICENSE="BSD" 77.13 -SHORT_DESC="A super-effiecient JSON reader and writer." 77.14 WEB_SITE="http://sourceforge.net/projects/libjson/" 77.15 + 77.16 TARBALL="${PACKAGE}_$VERSION.zip" 77.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 77.18 77.19 -DEPENDS="" 77.20 -BUILD_DEPENDS="" 77.21 +SPLIT="libjson-dev" 77.22 77.23 -# Rules to configure and make the package. 77.24 -compile_rules() 77.25 -{ 77.26 +compile_rules() { 77.27 unset CXXFLAGS 77.28 mkdir Objects_static Objects_shared _internal/Source/Dependencies 77.29 mkdir -p $DESTDIR/usr/lib 77.30 @@ -24,10 +22,10 @@ 77.31 make DESTDIR=$DESTDIR install 77.32 make DESTDIR=$DESTDIR SHARED=1 install 77.33 } 77.34 - 77.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 77.36 -genpkg_rules() 77.37 -{ 77.38 - mkdir -p $fs/usr/lib 77.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 77.40 + 77.41 +genpkg_rules() { 77.42 + case $PACKAGE in 77.43 + libjson) copy @std;; 77.44 + *-dev) copy @dev;; 77.45 + esac 77.46 }
78.1 --- a/liblognorm-dev/receipt Thu Mar 01 20:46:32 2018 +0200 78.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 78.3 @@ -1,22 +0,0 @@ 78.4 -# SliTaz package receipt. 78.5 - 78.6 -PACKAGE="liblognorm-dev" 78.7 -VERSION="0.3.7" 78.8 -CATEGORY="development" 78.9 -SHORT_DESC="liblognorm dev files." 78.10 -MAINTAINER="erjo@slitaz.org" 78.11 -LICENSE="LGPL2.1" 78.12 -WEB_SITE="http://www.liblognorm.com/download/" 78.13 -WANTED="liblognorm" 78.14 - 78.15 -DEPENDS="liblognorm pkg-config" 78.16 - 78.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 78.18 -genpkg_rules() 78.19 -{ 78.20 - mkdir -p $fs/usr/lib 78.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 78.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 78.23 - cp -a $install/usr/include $fs/usr 78.24 - 78.25 -}
79.1 --- a/liblognorm/receipt Thu Mar 01 20:46:32 2018 +0200 79.2 +++ b/liblognorm/receipt Fri Mar 02 03:33:54 2018 +0200 79.3 @@ -1,31 +1,32 @@ 79.4 -# SliTaz package receipt. 79.5 +# SliTaz package receipt v2. 79.6 79.7 PACKAGE="liblognorm" 79.8 VERSION="0.3.7" 79.9 CATEGORY="system-tools" 79.10 -SHORT_DESC="A log normalization library. " 79.11 +SHORT_DESC="A log normalization library" 79.12 MAINTAINER="erjo@slitaz.org" 79.13 LICENSE="LGPL2.1" 79.14 WEB_SITE="http://www.liblognorm.com/download/" 79.15 + 79.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 79.17 WGET_URL="http://www.liblognorm.com/files/download/$TARBALL" 79.18 79.19 -DEPENDS="libee libestr" 79.20 BUILD_DEPENDS="libestr-dev libee-dev automake" 79.21 +SPLIT="liblognorm-dev" 79.22 79.23 -# Rules to configure and make the package. 79.24 -compile_rules() 79.25 -{ 79.26 - cd $src 79.27 +compile_rules() { 79.28 patch -p 1 < $stuff/liblognorm-build-fix.patch 79.29 ./configure $CONFIGURE_ARGS && make && make install 79.30 } 79.31 79.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 79.33 -genpkg_rules() 79.34 -{ 79.35 - mkdir -p $fs/usr/lib 79.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 79.37 - cp -a $install/usr/bin $fs/usr 79.38 - 79.39 +genpkg_rules() { 79.40 + case $PACKAGE in 79.41 + liblognorm) 79.42 + copy @std 79.43 + DEPENDS="libee libestr" 79.44 + ;; 79.45 + *-dev) 79.46 + copy @dev 79.47 + ;; 79.48 + esac 79.49 }
80.1 --- a/libmicrohttpd-dev/receipt Thu Mar 01 20:46:32 2018 +0200 80.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 80.3 @@ -1,22 +0,0 @@ 80.4 -# SliTaz package receipt. 80.5 - 80.6 -PACKAGE="libmicrohttpd-dev" 80.7 -VERSION="0.9.33" 80.8 -CATEGORY="development" 80.9 -SHORT_DESC="devel files for libmicrohttp" 80.10 -MAINTAINER="slaxemulator@gmail.com" 80.11 -LICENSE="LGPL2.1" 80.12 -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" 80.13 -WANTED="libmicrohttpd" 80.14 - 80.15 -DEPENDS="libmicrohttpd libgcrypt-dev gnutls-dev libtasn1-dev pkg-config" 80.16 - 80.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 80.18 -genpkg_rules() 80.19 -{ 80.20 - mkdir -p $fs/usr/lib 80.21 - cp -a $install/usr/include $fs/usr 80.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 80.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 80.24 -} 80.25 -
81.1 --- a/libmicrohttpd/receipt Thu Mar 01 20:46:32 2018 +0200 81.2 +++ b/libmicrohttpd/receipt Fri Mar 02 03:33:54 2018 +0200 81.3 @@ -1,22 +1,21 @@ 81.4 -# SliTaz package receipt. 81.5 +# SliTaz package receipt v2. 81.6 81.7 PACKAGE="libmicrohttpd" 81.8 VERSION="0.9.33" 81.9 CATEGORY="network" 81.10 -SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP server as part of another application." 81.11 +SHORT_DESC="A small C library that is supposed to make it easy to run an HTTP \ 81.12 +server as part of another application" 81.13 MAINTAINER="slaxemulator@gmail.com" 81.14 LICENSE="LGPL2.1" 81.15 +WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" 81.16 + 81.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 81.18 -WEB_SITE="http://www.gnu.org/software/libmicrohttpd/" 81.19 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 81.20 81.21 -DEPENDS="libgcrypt libgnutls" 81.22 BUILD_DEPENDS="libgcrypt-dev gmp-dev gnutls-dev libtasn1-dev" 81.23 +SPLIT="libmicrohttpd-dev" 81.24 81.25 -# Rules to configure and make the package. 81.26 -compile_rules() 81.27 -{ 81.28 - cd $src 81.29 +compile_rules() { 81.30 ./configure \ 81.31 --prefix=/usr \ 81.32 --infodir=/usr/share/info \ 81.33 @@ -27,18 +26,23 @@ 81.34 --enable-messages \ 81.35 --with-pic \ 81.36 $CONFIGURE_ARGS && 81.37 - make && make DESTDIR=$DESTDIR install 81.38 + make && make DESTDIR=$DESTDIR install || return 1 81.39 + 81.40 mkdir -p $DESTDIR/usr/include/$PACKAGE 81.41 cp -a src/include/platform.h $DESTDIR/usr/include/$PACKAGE 81.42 cp -a src/include/plibc/plibc.h $DESTDIR/usr/include/$PACKAGE 81.43 sed -i 's#Cflags: -I${includedir}#Cflags: -I${includedir} -I{includedir}/libmicrohttpd#' $DESTDIR/usr/lib/pkgconfig/libmicrohttpd.pc 81.44 - 81.45 } 81.46 81.47 -# Rules to gen a SliTaz package suitable for Tazpkg. 81.48 -genpkg_rules() 81.49 -{ 81.50 - mkdir -p $fs/usr/lib 81.51 - cp -a $install/usr/lib/*.so* $fs/usr/lib 81.52 +genpkg_rules() { 81.53 + case $PACKAGE in 81.54 + libmicrohttpd) 81.55 + copy @std 81.56 + DEPENDS="libgcrypt libgnutls" 81.57 + ;; 81.58 + *-dev) 81.59 + copy @dev 81.60 + DEPENDS="libmicrohttpd libgcrypt-dev gnutls-dev libtasn1-dev" 81.61 + ;; 81.62 + esac 81.63 } 81.64 -
82.1 --- a/libotr-dev/receipt Thu Mar 01 20:46:32 2018 +0200 82.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 82.3 @@ -1,22 +0,0 @@ 82.4 -# SliTaz package receipt. 82.5 - 82.6 -PACKAGE="libotr-dev" 82.7 -VERSION="4.0.0" 82.8 -CATEGORY="network" 82.9 -SHORT_DESC="Allows you to have private conversations over messenger." 82.10 -MAINTAINER="pascal.bellard@slitaz.org" 82.11 -LICENSE="GPL2 LGPL2.1" 82.12 -WEB_SITE="http://www.cypherpunks.ca/otr/" 82.13 -WANTED="libotr" 82.14 - 82.15 -DEPENDS="libotr pkg-config" 82.16 - 82.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 82.18 -genpkg_rules() 82.19 -{ 82.20 - mkdir -p $fs/usr/lib $fs/usr/share 82.21 - cp -a $install/usr/include $fs/usr 82.22 - cp -a $install/usr/lib/*a $fs/usr/lib 82.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 82.24 - cp -a $install/usr/share/aclocal $fs/usr/share 82.25 -}
83.1 --- a/libotr/receipt Thu Mar 01 20:46:32 2018 +0200 83.2 +++ b/libotr/receipt Fri Mar 02 03:33:54 2018 +0200 83.3 @@ -1,31 +1,35 @@ 83.4 -# SliTaz package receipt. 83.5 +# SliTaz package receipt v2. 83.6 83.7 PACKAGE="libotr" 83.8 VERSION="4.0.0" 83.9 CATEGORY="network" 83.10 -SHORT_DESC="Allows you to have private conversations over messenger." 83.11 +SHORT_DESC="Allows you to have private conversations over messenger" 83.12 MAINTAINER="pascal.bellard@slitaz.org" 83.13 LICENSE="GPL2 LGPL2.1" 83.14 +WEB_SITE="http://www.cypherpunks.ca/otr/" 83.15 + 83.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 83.17 -WEB_SITE="http://www.cypherpunks.ca/otr/" 83.18 WGET_URL="$WEB_SITE$TARBALL" 83.19 83.20 -DEPENDS="libgcrypt libgpg-error" 83.21 BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" 83.22 +SPLIT="libotr-dev" 83.23 83.24 -# Rules to configure and make the package. 83.25 -compile_rules() 83.26 -{ 83.27 - cd $src 83.28 - ./configure --prefix=/usr $CONFIGURE_ARGS && 83.29 +compile_rules() { 83.30 + ./configure \ 83.31 + --prefix=/usr \ 83.32 + $CONFIGURE_ARGS && 83.33 make && 83.34 make DESTDIR=$DESTDIR install 83.35 } 83.36 83.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 83.38 -genpkg_rules() 83.39 -{ 83.40 - mkdir -p $fs/usr/lib 83.41 - cp -a $install/usr/lib/*.so* $fs/usr/lib 83.42 - cp -a $install/usr/bin $fs/usr 83.43 +genpkg_rules() { 83.44 + case $PACKAGE in 83.45 + libotr) 83.46 + copy @std 83.47 + DEPENDS="libgcrypt libgpg-error" 83.48 + ;; 83.49 + *-dev) 83.50 + copy @dev 83.51 + ;; 83.52 + esac 83.53 }
84.1 --- a/libquicktime-dev/receipt Thu Mar 01 20:46:32 2018 +0200 84.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 84.3 @@ -1,21 +0,0 @@ 84.4 -# SliTaz package receipt. 84.5 - 84.6 -PACKAGE="libquicktime-dev" 84.7 -VERSION="1.2.4" 84.8 -CATEGORY="development" 84.9 -MAINTAINER="jozee@slitaz.org" 84.10 -LICENSE="LGPL2.1" 84.11 -SHORT_DESC="libquicktime devel files" 84.12 -WEB_SITE="http://libquicktime.sourceforge.net/" 84.13 -WANTED="libquicktime" 84.14 - 84.15 -DEPENDS="libquicktime pkg-config" 84.16 - 84.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 84.18 -genpkg_rules() 84.19 -{ 84.20 - mkdir -p $fs/usr/lib $fs/usr/share 84.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 84.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 84.23 - cp -a $install/usr/include $fs/usr 84.24 -}
85.1 --- a/libquicktime/receipt Thu Mar 01 20:46:32 2018 +0200 85.2 +++ b/libquicktime/receipt Fri Mar 02 03:33:54 2018 +0200 85.3 @@ -1,23 +1,24 @@ 85.4 -# SliTaz package receipt. 85.5 +# SliTaz package receipt v2. 85.6 85.7 PACKAGE="libquicktime" 85.8 VERSION="1.2.4" 85.9 CATEGORY="multimedia" 85.10 MAINTAINER="jozee@slitaz.org" 85.11 LICENSE="LGPL2.1" 85.12 -SHORT_DESC="A library for reading and writing quicktime files." 85.13 +SHORT_DESC="A library for reading and writing quicktime files" 85.14 WEB_SITE="http://libquicktime.sourceforge.net/" 85.15 + 85.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 85.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 85.18 85.19 -DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264" 85.20 -BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev x264-dev zlib-dev mesa-dev" 85.21 +BUILD_DEPENDS="gtk+-dev ffmpeg-dev alsa-lib-dev xorg-libXv-dev xorg-libXaw-dev \ 85.22 +x264-dev zlib-dev mesa-dev" 85.23 +SPLIT="libquicktime-dev" 85.24 85.25 -# Rules to configure and make the package. 85.26 -compile_rules() 85.27 -{ 85.28 +compile_rules() { 85.29 patch -p0 < $stuff/ffmpeg.u 85.30 - ./configure --prefix=/usr \ 85.31 + ./configure \ 85.32 + --prefix=/usr \ 85.33 --enable-gpl \ 85.34 --with-ffmpeg \ 85.35 --with-x264 \ 85.36 @@ -26,12 +27,15 @@ 85.37 make && 85.38 make DESTDIR=$DESTDIR install 85.39 } 85.40 - 85.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 85.42 -genpkg_rules() 85.43 -{ 85.44 - mkdir -p $fs/usr/lib/$PACKAGE 85.45 - cp -a $install/usr/bin $fs/usr 85.46 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 85.47 - cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE 85.48 + 85.49 +genpkg_rules() { 85.50 + case $PACKAGE in 85.51 + libquicktime) 85.52 + copy @std 85.53 + DEPENDS="gtk+ ffmpeg alsa-lib xorg-libXv mesa xorg-libXaw x264" 85.54 + ;; 85.55 + *-dev) 85.56 + copy @dev 85.57 + ;; 85.58 + esac 85.59 }
86.1 --- a/libsexy-dev/receipt Thu Mar 01 20:46:32 2018 +0200 86.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 86.3 @@ -1,22 +0,0 @@ 86.4 -# SliTaz package receipt. 86.5 - 86.6 -PACKAGE="libsexy-dev" 86.7 -VERSION="0.1.11" 86.8 -CATEGORY="development" 86.9 -SHORT_DESC="Sexy widgests for GTK+ devel files." 86.10 -WANTED="libsexy" 86.11 -MAINTAINER="pankso@slitaz.org" 86.12 -LICENSE="LGPL2.1" 86.13 -WEB_SITE="http://www.chipx86.com/wiki/Libsexy" 86.14 -HOST_ARCH="i486 arm" 86.15 - 86.16 -DEPENDS="pkg-config" 86.17 - 86.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 86.19 -genpkg_rules() 86.20 -{ 86.21 - mkdir -p $fs/usr/lib 86.22 - cp -a $install/usr/include $fs/usr 86.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 86.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 86.25 -}
87.1 --- a/libsexy/receipt Thu Mar 01 20:46:32 2018 +0200 87.2 +++ b/libsexy/receipt Fri Mar 02 03:33:54 2018 +0200 87.3 @@ -1,30 +1,33 @@ 87.4 -# SliTaz package receipt. 87.5 +# SliTaz package receipt v2. 87.6 87.7 PACKAGE="libsexy" 87.8 VERSION="0.1.11" 87.9 CATEGORY="x-window" 87.10 -SHORT_DESC="Sexy widgests for GTK+." 87.11 +SHORT_DESC="Sexy widgests for GTK+" 87.12 MAINTAINER="pankso@slitaz.org" 87.13 LICENSE="LGPL2.1" 87.14 +WEB_SITE="http://www.chipx86.com/wiki/Libsexy" 87.15 + 87.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 87.17 -WEB_SITE="http://www.chipx86.com/wiki/Libsexy" 87.18 WGET_URL="http://releases.chipx86.com/libsexy/libsexy/$TARBALL" 87.19 -HOST_ARCH="i486 arm" 87.20 87.21 -DEPENDS="gtk+ xorg-libXdamage" 87.22 BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev" 87.23 +SPLIT="libsexy-dev" 87.24 87.25 -# Rules to configure and make the package. 87.26 -compile_rules() 87.27 -{ 87.28 +compile_rules() { 87.29 ./configure \ 87.30 $CONFIGURE_ARGS && 87.31 make && make install 87.32 } 87.33 87.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 87.35 -genpkg_rules() 87.36 -{ 87.37 - mkdir -p $fs/usr/lib 87.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 87.39 +genpkg_rules() { 87.40 + case $PACKAGE in 87.41 + libsexy) 87.42 + copy @std 87.43 + DEPENDS="gtk+ xorg-libXdamage" 87.44 + ;; 87.45 + *-dev) 87.46 + copy @dev 87.47 + ;; 87.48 + esac 87.49 }
88.1 --- a/libsexymm-dev/receipt Thu Mar 01 20:46:32 2018 +0200 88.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 88.3 @@ -1,22 +0,0 @@ 88.4 -# SliTaz package receipt. 88.5 - 88.6 -PACKAGE="libsexymm-dev" 88.7 -VERSION="0.1.9" 88.8 -CATEGORY="development" 88.9 -SHORT_DESC="Libsexymm devel files." 88.10 -MAINTAINER="pankso@slitaz.org" 88.11 -LICENSE="LGPL2.1" 88.12 -WEB_SITE="http://osiris.chipx86.com/projects/libsexy/" 88.13 -WANTED="libsexymm" 88.14 - 88.15 -DEPENDS="pkg-config" 88.16 - 88.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 88.18 -genpkg_rules() 88.19 -{ 88.20 - mkdir -p $fs/usr/lib 88.21 - cp -a $install/usr/include $fs/usr 88.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 88.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 88.24 - cp -a $install/usr/lib/libsexymm $fs/usr/lib 88.25 -}
89.1 --- a/libsexymm/receipt Thu Mar 01 20:46:32 2018 +0200 89.2 +++ b/libsexymm/receipt Fri Mar 02 03:33:54 2018 +0200 89.3 @@ -1,28 +1,32 @@ 89.4 -# SliTaz package receipt. 89.5 +# SliTaz package receipt v2. 89.6 89.7 PACKAGE="libsexymm" 89.8 VERSION="0.1.9" 89.9 CATEGORY="x-window" 89.10 -SHORT_DESC="Gtkmm binding for libsexy." 89.11 +SHORT_DESC="Gtkmm binding for libsexy" 89.12 MAINTAINER="pankso@slitaz.org" 89.13 LICENSE="LGPL2.1" 89.14 +WEB_SITE="http://osiris.chipx86.com/projects/libsexy/" 89.15 + 89.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 89.17 -WEB_SITE="http://osiris.chipx86.com/projects/libsexy/" 89.18 WGET_URL="http://releases.chipx86.com/libsexy/libsexymm/$TARBALL" 89.19 89.20 -DEPENDS="glibmm libgiomm cairomm gtkmm libsexy libsigc++" 89.21 BUILD_DEPENDS="glibmm-dev libgiomm-dev cairomm-dev gtkmm-dev libsexy-dev \ 89.22 libsigc++-dev libxml2-dev gtk+-dev" 89.23 +SPLIT="libsexymm-dev" 89.24 89.25 -# Rules to configure and make the package. 89.26 -compile_rules() 89.27 -{ 89.28 +compile_rules() { 89.29 ./configure $CONFIGURE_ARGS && make && make install 89.30 } 89.31 89.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 89.33 -genpkg_rules() 89.34 -{ 89.35 - mkdir -p $fs/usr/lib 89.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 89.37 +genpkg_rules() { 89.38 + case $PACKAGE in 89.39 + libsexymm) 89.40 + copy @std 89.41 + DEPENDS="glibmm libgiomm cairomm gtkmm libsexy libsigc++" 89.42 + ;; 89.43 + *-dev) 89.44 + copy @dev 89.45 + ;; 89.46 + esac 89.47 }
90.1 --- a/libtar-dev/receipt Thu Mar 01 20:46:32 2018 +0200 90.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 90.3 @@ -1,21 +0,0 @@ 90.4 -# SliTaz package receipt. 90.5 - 90.6 -PACKAGE="libtar-dev" 90.7 -VERSION="1.2.11" 90.8 -CATEGORY="development" 90.9 -SHORT_DESC="devel files for libtar" 90.10 -MAINTAINER="slaxemulator@gmail.com" 90.11 -LICENSE="BSD" 90.12 -WEB_SITE="http://www.feep.net/libtar/" 90.13 -WANTED="libtar" 90.14 - 90.15 -DEPENDS="libtar" 90.16 - 90.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 90.18 -genpkg_rules() 90.19 -{ 90.20 - mkdir -p $fs/usr 90.21 - cp -a $install/usr/include $fs/usr 90.22 - cp -a $install/usr/lib $fs/usr 90.23 -} 90.24 -
91.1 --- a/libtar/receipt Thu Mar 01 20:46:32 2018 +0200 91.2 +++ b/libtar/receipt Fri Mar 02 03:33:54 2018 +0200 91.3 @@ -1,22 +1,20 @@ 91.4 -# SliTaz package receipt. 91.5 +# SliTaz package receipt v2. 91.6 91.7 PACKAGE="libtar" 91.8 VERSION="1.2.11" 91.9 CATEGORY="development" 91.10 -SHORT_DESC="C library for manipulating POSIX tar files." 91.11 +SHORT_DESC="C library for manipulating POSIX tar files" 91.12 MAINTAINER="slaxemulator@gmail.com" 91.13 LICENSE="BSD" 91.14 +WEB_SITE="http://www.feep.net/libtar/" 91.15 + 91.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 91.17 -WEB_SITE="http://www.feep.net/libtar/" 91.18 WGET_URL="ftp://ftp.feep.net/pub/software/$PACKAGE/$TARBALL" 91.19 91.20 -DEPENDS="zlib" 91.21 BUILD_DEPENDS="zlib-dev" 91.22 +SPLIT="libtar-dev" 91.23 91.24 -# Rules to configure and make the package. 91.25 -compile_rules() 91.26 -{ 91.27 - cd $src 91.28 +compile_rules() { 91.29 ./configure \ 91.30 --prefix=/usr \ 91.31 --infodir=/usr/share/info \ 91.32 @@ -25,10 +23,14 @@ 91.33 make && make DESTDIR=$DESTDIR install 91.34 } 91.35 91.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 91.37 -genpkg_rules() 91.38 -{ 91.39 - mkdir -p $fs/usr 91.40 - cp -a $install/usr/bin $fs/usr 91.41 +genpkg_rules() { 91.42 + case $PACKAGE in 91.43 + libtar) 91.44 + copy @std 91.45 + DEPENDS="zlib" 91.46 + ;; 91.47 + *-dev) 91.48 + copy @dev 91.49 + ;; 91.50 + esac 91.51 } 91.52 -
92.1 --- a/libupnp-dev/receipt Thu Mar 01 20:46:32 2018 +0200 92.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 92.3 @@ -1,21 +0,0 @@ 92.4 -# SliTaz package receipt. 92.5 - 92.6 -PACKAGE="libupnp-dev" 92.7 -VERSION="1.6.17" 92.8 -CATEGORY="development" 92.9 -SHORT_DESC="LibUpnP devel files." 92.10 -MAINTAINER="pankso@slitaz.org" 92.11 -LICENSE="BSD" 92.12 -WANTED="libupnp" 92.13 -WEB_SITE="http://pupnp.sourceforge.net/" 92.14 - 92.15 -DEPENDS="libupnp pkg-config" 92.16 - 92.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 92.18 -genpkg_rules() 92.19 -{ 92.20 - mkdir -p $fs/usr/lib 92.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 92.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 92.23 - cp -a $install/usr/include $fs/usr 92.24 -}
93.1 --- a/libupnp/receipt Thu Mar 01 20:46:32 2018 +0200 93.2 +++ b/libupnp/receipt Fri Mar 02 03:33:54 2018 +0200 93.3 @@ -1,22 +1,20 @@ 93.4 -# SliTaz package receipt. 93.5 +# SliTaz package receipt v2. 93.6 93.7 PACKAGE="libupnp" 93.8 VERSION="1.6.17" 93.9 CATEGORY="network" 93.10 -SHORT_DESC="The portable Universal Plug and Play (UPnP)." 93.11 +SHORT_DESC="The portable Universal Plug and Play (UPnP)" 93.12 MAINTAINER="pankso@slitaz.org" 93.13 LICENSE="BSD" 93.14 +WEB_SITE="http://pupnp.sourceforge.net/" 93.15 + 93.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 93.17 -WEB_SITE="http://pupnp.sourceforge.net/" 93.18 WGET_URL="$SF_MIRROR/pupnp/$TARBALL" 93.19 93.20 -DEPENDS="libxml2" 93.21 BUILD_DEPENDS="libxml2-dev libpthread-stubs" 93.22 +SPLIT="libupnp-dev" 93.23 93.24 -# Rules to configure and make the package. 93.25 -compile_rules() 93.26 -{ 93.27 - cd $src 93.28 +compile_rules() { 93.29 ./configure \ 93.30 --prefix=/usr \ 93.31 $CONFIGURE_ARGS && 93.32 @@ -24,9 +22,14 @@ 93.33 make DESTDIR=$DESTDIR install 93.34 } 93.35 93.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 93.37 -genpkg_rules() 93.38 -{ 93.39 - mkdir -p $fs/usr/lib 93.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 93.41 +genpkg_rules() { 93.42 + case $PACKAGE in 93.43 + libupnp) 93.44 + copy @std 93.45 + DEPENDS="libxml2" 93.46 + ;; 93.47 + *-dev) 93.48 + copy @dev 93.49 + ;; 93.50 + esac 93.51 }
94.1 --- a/libzdb-dev/receipt Thu Mar 01 20:46:32 2018 +0200 94.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 94.3 @@ -1,22 +0,0 @@ 94.4 -# SliTaz package receipt. 94.5 - 94.6 -PACKAGE="libzdb-dev" 94.7 -VERSION="3.0" 94.8 -CATEGORY="development" 94.9 -SHORT_DESC="Devel headers for Zild Database Library." 94.10 -MAINTAINER="pankso@slitaz.org" 94.11 -LICENSE="GPL" 94.12 -WEB_SITE="http://www.tildeslash.com/libzdb/" 94.13 -#HOST_ARCH="i486 arm" 94.14 - 94.15 -WANTED="libzdb" 94.16 - 94.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 94.18 -genpkg_rules() 94.19 -{ 94.20 - mkdir -p $fs/usr/lib 94.21 - cp -a ${install}/usr/include ${fs}/usr 94.22 - cp -a ${install}/usr/lib/*.*a ${fs}/usr/lib 94.23 - cp -a ${install}/usr/lib/pkgconfig ${fs}/usr/lib 94.24 -} 94.25 -
95.1 --- a/libzdb/receipt Thu Mar 01 20:46:32 2018 +0200 95.2 +++ b/libzdb/receipt Fri Mar 02 03:33:54 2018 +0200 95.3 @@ -1,27 +1,20 @@ 95.4 -# SliTaz package receipt. 95.5 +# SliTaz package receipt v2. 95.6 95.7 PACKAGE="libzdb" 95.8 VERSION="3.0" 95.9 CATEGORY="system-tools" 95.10 -SHORT_DESC="Zild Database Library." 95.11 +SHORT_DESC="Zild Database Library" 95.12 MAINTAINER="pankso@slitaz.org" 95.13 LICENSE="GPL" 95.14 +WEB_SITE="http://www.tildeslash.com/libzdb/" 95.15 + 95.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 95.17 -WEB_SITE="http://www.tildeslash.com/libzdb/" 95.18 WGET_URL="http://www.tildeslash.com/libzdb/dist/$TARBALL" 95.19 -#HOST_ARCH="i486 arm" 95.20 95.21 -DEPENDS="sqlite3" 95.22 BUILD_DEPENDS="sqlite3-dev" 95.23 +SPLIT="libzdb-dev" 95.24 95.25 -# Handle cross comilation 95.26 -case "$ARCH" in 95.27 - arm) ;; 95.28 -esac 95.29 - 95.30 -# Rules to configure and make the package. 95.31 -compile_rules() 95.32 -{ 95.33 +compile_rules() { 95.34 ./configure \ 95.35 --prefix=/usr \ 95.36 --without-postgresql \ 95.37 @@ -31,10 +24,14 @@ 95.38 make && make install 95.39 } 95.40 95.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 95.42 -genpkg_rules() 95.43 -{ 95.44 - mkdir -p $fs/usr/lib 95.45 - cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib 95.46 +genpkg_rules() { 95.47 + case $PACKAGE in 95.48 + libzdb) 95.49 + copy @std 95.50 + DEPENDS="sqlite3" 95.51 + ;; 95.52 + *-dev) 95.53 + copy @dev 95.54 + ;; 95.55 + esac 95.56 } 95.57 -
96.1 --- a/linux-libre/receipt Thu Mar 01 20:46:32 2018 +0200 96.2 +++ b/linux-libre/receipt Fri Mar 02 03:33:54 2018 +0200 96.3 @@ -26,7 +26,7 @@ 96.4 linux-libre-scsi linux-libre-sound linux-libre-source linux-libre-speakup \ 96.5 linux-libre-squashfs linux-libre-toshiba linux-libre-udf linux-libre-usbdsl \ 96.6 linux-libre-usbip linux-libre-usb-misc linux-libre-uwb linux-libre-video \ 96.7 -linux-libre-wimax linux-libre-wireless linux-libre-without-modules" 96.8 +linux-libre-wimax linux-libre-wireless linux-libre-without-modules lguest-libre" 96.9 96.10 # Rules to configure and make the package. 96.11 compile_rules() 96.12 @@ -1325,6 +1325,12 @@ 96.13 CAT="base-system|without module support" 96.14 PROVIDE="linux-without-modules" 96.15 ;; 96.16 + lguest-libre) 96.17 + mkdir -p $fs/usr/sbin 96.18 + cp $src/Documentation/lguest/lguest $fs/usr/sbin 96.19 + CAT="base-system|paravirtualization tool" 96.20 + PROVIDE="lguest" 96.21 + ;; 96.22 esac 96.23 } 96.24
97.1 --- a/lorcon-old-dev/receipt Thu Mar 01 20:46:32 2018 +0200 97.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 97.3 @@ -1,20 +0,0 @@ 97.4 -# SliTaz package receipt. 97.5 - 97.6 -PACKAGE="lorcon-old-dev" 97.7 -VERSION="224" 97.8 -CATEGORY="development" 97.9 -SHORT_DESC="devel files for lorcon-old" 97.10 -MAINTAINER="slaxemulator@gmail.com" 97.11 -LICENSE="GPL2" 97.12 -WEB_SITE="http://802.11ninja.net" 97.13 -WANTED="lorcon-old" 97.14 - 97.15 -DEPENDS="lorcon-old" 97.16 - 97.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 97.18 -genpkg_rules() 97.19 -{ 97.20 - mkdir -p $fs/usr/lib 97.21 - cp -a $install/usr/include $fs/usr 97.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 97.23 -}
98.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 98.2 +++ b/lorcon-old/description.txt Fri Mar 02 03:33:54 2018 +0200 98.3 @@ -0,0 +1,3 @@ 98.4 +Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, 98.5 +capable of injection via multiple driver frameworks, without forcing 98.6 +modification of the application code.
99.1 --- a/lorcon-old/receipt Thu Mar 01 20:46:32 2018 +0200 99.2 +++ b/lorcon-old/receipt Fri Mar 02 03:33:54 2018 +0200 99.3 @@ -1,29 +1,27 @@ 99.4 -# SliTaz package receipt. 99.5 +# SliTaz package receipt v2. 99.6 99.7 PACKAGE="lorcon-old" 99.8 VERSION="224" 99.9 CATEGORY="network" 99.10 -SHORT_DESC="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code." 99.11 +SHORT_DESC="Loss Of Radio CONnectivity" 99.12 MAINTAINER="slaxemulator@gmail.com" 99.13 LICENSE="GPL2" 99.14 WEB_SITE="http://802.11ninja.net" 99.15 + 99.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 99.17 WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/branch/lorcon-old/" 99.18 99.19 -DEPENDS="" 99.20 BUILD_DEPENDS="subversion" 99.21 +SPLIT="lorcon-old-dev" 99.22 99.23 -# Rules to configure and make the package. 99.24 -compile_rules() 99.25 -{ 99.26 - cd $src 99.27 +compile_rules() { 99.28 touch -d 197001010000 .depend 99.29 ./configure $CONFIGURE_ARGS && make && make install 99.30 } 99.31 99.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 99.33 -genpkg_rules() 99.34 -{ 99.35 - mkdir -p $fs/usr/lib 99.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 99.37 +genpkg_rules() { 99.38 + case $PACKAGE in 99.39 + lorcon-old) copy @std;; 99.40 + *-dev) copy @dev;; 99.41 + esac 99.42 }
100.1 --- a/luajit-dev/receipt Thu Mar 01 20:46:32 2018 +0200 100.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 100.3 @@ -1,20 +0,0 @@ 100.4 -# SliTaz package receipt. 100.5 - 100.6 -PACKAGE="luajit-dev" 100.7 -VERSION="2.0.3" 100.8 -CATEGORY="development" 100.9 -SHORT_DESC="The luajit devel files." 100.10 -MAINTAINER="pankso@slitaz.org" 100.11 -LICENSE="MIT" 100.12 -WANTED="luajit" 100.13 -WEB_SITE="http://luajit.org" 100.14 -#HOST_ARCH="i486 arm" 100.15 - 100.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 100.17 -genpkg_rules() 100.18 -{ 100.19 - mkdir -p $fs/usr/lib 100.20 - cp -a $install/usr/lib/*.*a $fs/usr/lib 100.21 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 100.22 - cp -a $install/usr/include $fs/usr 100.23 -}
101.1 --- a/luajit/receipt Thu Mar 01 20:46:32 2018 +0200 101.2 +++ b/luajit/receipt Fri Mar 02 03:33:54 2018 +0200 101.3 @@ -1,29 +1,36 @@ 101.4 -# SliTaz package receipt. 101.5 +# SliTaz package receipt v2. 101.6 101.7 PACKAGE="luajit" 101.8 VERSION="2.0.3" 101.9 CATEGORY="development" 101.10 -SHORT_DESC="Just-In-Time Compiler for Lua." 101.11 +SHORT_DESC="Just-In-Time Compiler for Lua" 101.12 MAINTAINER="pankso@slitaz.org" 101.13 LICENSE="MIT" 101.14 -SOURCE="LuaJIT" 101.15 -TARBALL="${SOURCE}-${VERSION}.tar.gz" 101.16 WEB_SITE="http://luajit.org" 101.17 + 101.18 +TARBALL="LuaJIT-$VERSION.tar.gz" 101.19 WGET_URL="http://luajit.org/download/$TARBALL" 101.20 -#HOST_ARCH="i486 arm" 101.21 101.22 -# Rules to configure and make the package. 101.23 -compile_rules() 101.24 -{ 101.25 +SPLIT="luajit-dev" 101.26 + 101.27 +compile_rules() { 101.28 make amalg PREFIX=/usr && 101.29 make install DESTDIR=$DESTDIR PREFIX=/usr 101.30 } 101.31 101.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 101.33 -genpkg_rules() 101.34 -{ 101.35 - mkdir -p $fs/usr/lib $fs/usr/share 101.36 - cp -a $install/usr/bin $fs/usr 101.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 101.38 - cp -a $install/usr/share/luajit-* $fs/usr/share 101.39 +genpkg_rules() { 101.40 + case $PACKAGE in 101.41 + luajit) 101.42 + mkdir -p $fs/usr/lib $fs/usr/share 101.43 + cp -a $install/usr/bin $fs/usr 101.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 101.45 + cp -a $install/usr/share/luajit-* $fs/usr/share 101.46 + ;; 101.47 + *-dev) 101.48 + mkdir -p $fs/usr/lib 101.49 + cp -a $install/usr/lib/*.*a $fs/usr/lib 101.50 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 101.51 + cp -a $install/usr/include $fs/usr 101.52 + ;; 101.53 + esac 101.54 }
102.1 --- a/marlin-dev/receipt Thu Mar 01 20:46:32 2018 +0200 102.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 102.3 @@ -1,23 +0,0 @@ 102.4 -# SliTaz package receipt. 102.5 - 102.6 -PACKAGE="marlin-dev" 102.7 -VERSION="0.5" 102.8 -CATEGORY="development" 102.9 -SHORT_DESC="Development files for marlin" 102.10 -MAINTAINER="al.bobylev@gmail.com" 102.11 -LICENSE="GPL2 GPL3" 102.12 -WEB_SITE="https://launchpad.net/marlin" 102.13 - 102.14 -WANTED="marlin" 102.15 -DEPENDS="marlin" 102.16 - 102.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 102.18 -genpkg_rules() 102.19 -{ 102.20 - mkdir -p \ 102.21 - $fs/usr/lib \ 102.22 - $fs/usr/share 102.23 - cp -a $install/usr/include $fs/usr 102.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 102.25 - cp -a $install/usr/share/vala $fs/usr/share 102.26 -}
103.1 --- a/marlin/receipt Thu Mar 01 20:46:32 2018 +0200 103.2 +++ b/marlin/receipt Fri Mar 02 03:33:54 2018 +0200 103.3 @@ -1,4 +1,4 @@ 103.4 -# SliTaz package receipt. 103.5 +# SliTaz package receipt v2. 103.6 103.7 PACKAGE="marlin" 103.8 VERSION="0.5" 103.9 @@ -7,19 +7,17 @@ 103.10 MAINTAINER="al.bobylev@gmail.com" 103.11 LICENSE="GPL2 GPL3" 103.12 WEB_SITE="https://launchpad.net/marlin" 103.13 + 103.14 BRANCH="879" 103.15 TARBALL="$PACKAGE-$BRANCH.tar.bz2" 103.16 WGET_URL="bzr|lp:marlin" 103.17 103.18 -DEPENDS="dbus-glib gtk+3 libgee libnotify-gtk3 libsqlite3 varka dconf" 103.19 -SUGGESTED="tumbler ffmpegthumbnailer granite extended-actions" 103.20 BUILD_DEPENDS="bazaar cmake vala varka-dev gtk+3-dev libgee-dev sqlite3-dev \ 103.21 dbus-glib-dev libnotify-gtk3-dev dconf-dev tumbler-dev ffmpegthumbnailer-dev \ 103.22 granite-dev" 103.23 +SPLIT="marlin-dev" 103.24 103.25 -# Rules to configure and make the package. 103.26 -compile_rules() 103.27 -{ 103.28 +compile_rules() { 103.29 # gee-1.0 is old while gee-0.8 is latest ;) 103.30 sed -i 's|gee-1.0|gee-0.8|g' $(grep -l gee-1.0 $(find . -type f)) 103.31 103.32 @@ -35,32 +33,40 @@ 103.33 make DESTDIR=$install install 103.34 } 103.35 103.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 103.37 -genpkg_rules() 103.38 -{ 103.39 - mkdir -p \ 103.40 - $fs/usr/bin \ 103.41 - $fs/usr/lib \ 103.42 - $fs/usr/share/locale 103.43 - cp -a $install/usr/bin $fs/usr 103.44 - cp -a $install/usr/lib/marlin $fs/usr/lib 103.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 103.46 - cp -a $install/usr/share/applications $fs/usr/share 103.47 - cp -a $install/usr/share/dbus* $fs/usr/share 103.48 - cp -a $install/usr/share/glib* $fs/usr/share 103.49 - cp -a $install/usr/share/icons $fs/usr/share 103.50 - cp -a $install/usr/share/marlin $fs/usr/share 103.51 - cp -a $install/usr/share/pixmaps $fs/usr/share 103.52 +genpkg_rules() { 103.53 + case $PACKAGE in 103.54 + marlin) 103.55 + mkdir -p \ 103.56 + $fs/usr/bin \ 103.57 + $fs/usr/lib \ 103.58 + $fs/usr/share/locale 103.59 + cp -a $install/usr/bin $fs/usr 103.60 + cp -a $install/usr/lib/marlin $fs/usr/lib 103.61 + cp -a $install/usr/lib/*.so* $fs/usr/lib 103.62 + cp -a $install/usr/share/applications $fs/usr/share 103.63 + cp -a $install/usr/share/dbus* $fs/usr/share 103.64 + cp -a $install/usr/share/glib* $fs/usr/share 103.65 + cp -a $install/usr/share/icons $fs/usr/share 103.66 + cp -a $install/usr/share/marlin $fs/usr/share 103.67 + cp -a $install/usr/share/pixmaps $fs/usr/share 103.68 103.69 - # localization 103.70 - . $WOK/slitaz-i18n/stuff/locale-pack.conf 103.71 - for lang in $LOCALE_PACK; do 103.72 - langf=$install/usr/share/locale/$lang 103.73 - [ -d $langf ] && cp -a $langf $fs/usr/share/locale 103.74 - done 103.75 + # localization 103.76 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 103.77 + for lang in $LOCALE_PACK; do 103.78 + langf=$install/usr/share/locale/$lang 103.79 + [ -d $langf ] && cp -a $langf $fs/usr/share/locale 103.80 + done 103.81 103.82 - # icons 103.83 - mkdir -p $fs/usr/share/icons/hicolor/16x16 103.84 - cp -a $stuff/apps $fs/usr/share/icons/hicolor/16x16 103.85 - cp -a $stuff/marlin.png $fs/usr/share/pixmaps 103.86 + # icons 103.87 + mkdir -p $fs/usr/share/icons/hicolor/16x16 103.88 + cp -a $stuff/apps $fs/usr/share/icons/hicolor/16x16 103.89 + cp -a $stuff/marlin.png $fs/usr/share/pixmaps 103.90 + DEPENDS="dbus-glib gtk+3 libgee libnotify-gtk3 libsqlite3 varka \ 103.91 + dconf" 103.92 + SUGGESTED="tumbler ffmpegthumbnailer granite extended-actions" 103.93 + ;; 103.94 + *-dev) 103.95 + copy @dev 103.96 + ;; 103.97 + esac 103.98 }
104.1 --- a/memcached-dev/receipt Thu Mar 01 20:46:32 2018 +0200 104.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 104.3 @@ -1,19 +0,0 @@ 104.4 -# SliTaz package receipt. 104.5 - 104.6 -PACKAGE="memcached-dev" 104.7 -VERSION="1.4.14" 104.8 -CATEGORY="development" 104.9 -SHORT_DESC="Memecached dev files." 104.10 -MAINTAINER="erjo@slitaz.org" 104.11 -LICENSE="BSD" 104.12 -WEB_SITE="http://memcached.org" 104.13 -WANTED="memcached" 104.14 - 104.15 -DEPENDS="libevent-dev memcached" 104.16 - 104.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 104.18 -genpkg_rules() 104.19 -{ 104.20 - mkdir $fs/usr 104.21 - cp -a $install/usr/include $fs/usr 104.22 -}
105.1 --- a/memcached/receipt Thu Mar 01 20:46:32 2018 +0200 105.2 +++ b/memcached/receipt Fri Mar 02 03:33:54 2018 +0200 105.3 @@ -1,28 +1,32 @@ 105.4 -# SliTaz package receipt. 105.5 +# SliTaz package receipt v2. 105.6 105.7 PACKAGE="memcached" 105.8 VERSION="1.4.14" 105.9 CATEGORY="system-tools" 105.10 -SHORT_DESC="High-performance, distributed memory object caching system, " 105.11 +SHORT_DESC="High-performance, distributed memory object caching system" 105.12 MAINTAINER="erjo@slitaz.org" 105.13 LICENSE="BSD" 105.14 WEB_SITE="http://memcached.org" 105.15 + 105.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 105.17 WGET_URL="http://memcached.googlecode.com/files/$TARBALL" 105.18 105.19 -DEPENDS="libevent" 105.20 BUILD_DEPENDS="libevent-dev" 105.21 +SPLIT="memcached-dev" 105.22 105.23 -# Rules to configure and make the package. 105.24 -compile_rules() 105.25 -{ 105.26 - cd $src 105.27 +compile_rules() { 105.28 ./configure $CONFIGURE_ARGS && make && make install 105.29 } 105.30 105.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 105.32 -genpkg_rules() 105.33 -{ 105.34 - mkdir $fs/usr 105.35 - cp -a $install/usr/bin $fs/usr 105.36 +genpkg_rules() { 105.37 + case $PACKAGE in 105.38 + memcached) 105.39 + copy @std 105.40 + DEPENDS="libevent" 105.41 + ;; 105.42 + *-dev) 105.43 + copy @dev 105.44 + DEPENDS="memcached libevent-dev" 105.45 + ;; 105.46 + esac 105.47 }
106.1 --- a/mencoder/receipt Thu Mar 01 20:46:32 2018 +0200 106.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 106.3 @@ -1,27 +0,0 @@ 106.4 -# SliTaz package receipt. 106.5 - 106.6 -PACKAGE="mencoder" 106.7 -VERSION="1.1.1" 106.8 -CATEGORY="multimedia" 106.9 -SHORT_DESC="MPlayer video and movie encoder" 106.10 -MAINTAINER="pankso@slitaz.org" 106.11 -LICENSE="GPL2" 106.12 -WANTED="mplayer" 106.13 -WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 106.14 - 106.15 -DEPENDS="libtheora alsa-lib cdparanoia-III expat libogg libvorbis \ 106.16 -fontconfig freetype x264 xvidcore jpeg libmad ncurses zlib lame \ 106.17 -libpng16 giflib enca lirc" 106.18 - 106.19 -# Handle arch package install 106.20 -case "$SLITAZ_ARCH" in 106.21 - arm*) DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm libogg \ 106.22 -libvorbis libtheora xvidcore lame esound" ;; 106.23 -esac 106.24 - 106.25 -# Rules to gen a SliTaz package suitable for Tazpkg. 106.26 -genpkg_rules() 106.27 -{ 106.28 - mkdir -p $fs/usr/bin 106.29 - cp -a $install/usr/bin/mencoder $fs/usr/bin 106.30 -} 106.31 \ No newline at end of file
107.1 --- a/mplayer/receipt Thu Mar 01 20:46:32 2018 +0200 107.2 +++ b/mplayer/receipt Fri Mar 02 03:33:54 2018 +0200 107.3 @@ -1,49 +1,39 @@ 107.4 -# SliTaz package receipt. 107.5 +# SliTaz package receipt v2. 107.6 107.7 PACKAGE="mplayer" 107.8 VERSION="1.1.1" 107.9 CATEGORY="multimedia" 107.10 -SHORT_DESC="The Ultimate Movie Player For Linux." 107.11 +SHORT_DESC="The Ultimate Movie Player For Linux" 107.12 MAINTAINER="pankso@slitaz.org" 107.13 LICENSE="GPL2" 107.14 -SOURCE="MPlayer" 107.15 -TARBALL="$SOURCE-$VERSION.tar.xz" 107.16 WEB_SITE="http://www.mplayerhq.hu/design7/news.html" 107.17 + 107.18 +TARBALL="MPlayer-$VERSION.tar.xz" 107.19 WGET_URL="http://www1.mplayerhq.hu/MPlayer/releases/$TARBALL" 107.20 -HOST_ARCH="i486 arm" 107.21 107.22 -# Dont forget to update all related pkgs 107.23 -RELATED="mplayer-codecs mencoder" 107.24 -DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib ncurses \ 107.25 -lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm esound libmng \ 107.26 -audiofile libvorbis libogg zlib xvidcore x264 xorg-libXScrnSaver" 107.27 +BUILD_DEPENDS_arm="gtk+-dev libmad-dev xorg-libXv-dev libtheora-dev \ 107.28 +alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev giflib-dev \ 107.29 +xorg-libXxf86vm-dev esound-dev audiofile-dev libogg-dev libvorbis-dev \ 107.30 +xvidcore-dev zlib-dev xorg-xextproto pkg-config yasm libsdl-dev" 107.31 BUILD_DEPENDS="gtk+-dev libmad-dev xorg-libXv-dev libtheora-dev \ 107.32 alsa-lib-dev ncurses-dev lame-dev xorg-libXdamage-dev giflib-dev \ 107.33 xorg-libXxf86vm-dev esound-dev audiofile-dev libogg-dev libvorbis-dev \ 107.34 -xvidcore-dev zlib-dev xorg-xextproto pkg-config yasm" 107.35 +xvidcore-dev zlib-dev xorg-xextproto pkg-config yasm cdparanoia-III-dev \ 107.36 +x264-dev enca-dev libmng-dev lirc-dev" 107.37 +SPLIT="mencoder" 107.38 107.39 -# Handle arch package install. Less deps and no GTK gui for ARM 107.40 -case "$SLITAZ_ARCH" in 107.41 - arm*) 107.42 - DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm libogg \ 107.43 - libvorbis libtheora libsdl xvidcore lame esound gtk+" ;; 107.44 -esac 107.45 +compile_rules() { 107.46 + # Handle cross compilation. Host coreutils-file-* are used 107.47 + case "$ARCH" in 107.48 + i?86) 107.49 + ARCH_ARGS="--target=i386-linux --disable-sdl --enable-runtime-cpudetection" 107.50 + ;; 107.51 + arm*) 107.52 + export PATH=/cross/arm/tools/arm-slitaz-linux-gnueabi/bin:$PATH 107.53 + ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" 107.54 + ;; 107.55 + esac 107.56 107.57 -# Handle cross compilation. Host coreutils-file-* are used 107.58 -case "$ARCH" in 107.59 - i?86) 107.60 - ARCH_ARGS="--target=i386-linux --disable-sdl --enable-runtime-cpudetection" 107.61 - BUILD_DEPENDS="$BUILD_DEPENDS cdparanoia-III-dev x264-dev enca-dev \ 107.62 - libmng-dev lirc-dev" ;; 107.63 - arm*) 107.64 - export PATH=/cross/arm/tools/arm-slitaz-linux-gnueabi/bin:$PATH 107.65 - BUILD_DEPENDS="$BUILD_DEPENDS libsdl-dev" 107.66 - ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;; 107.67 -esac 107.68 - 107.69 -# Rules to configure and make the package. 107.70 -compile_rules() 107.71 -{ 107.72 ./configure \ 107.73 --prefix=/usr \ 107.74 --confdir=/etc/mplayer \ 107.75 @@ -66,28 +56,55 @@ 107.76 make DESTDIR=$DESTDIR install | sed '/install: strip: .*/'d 107.77 } 107.78 107.79 -# Rules to gen a SliTaz package suitable for Tazpkg. 107.80 -genpkg_rules() 107.81 -{ 107.82 - mkdir -p $fs/usr/share/mplayer/skins 107.83 - cp -a $install/usr/bin $fs/usr 107.84 - # Mencoder goes in a splited package. 107.85 - rm $fs/usr/bin/mencoder 107.86 - [ -d "$install/usr/share/mplayer" ] && \ 107.87 - cp -a $install/usr/share/mplayer $fs/usr/share 107.88 - cp -a $install/etc $fs 107.89 - cp $src/etc/example.conf $fs/etc/mplayer 107.90 - # Config to use Xv by default. 107.91 - cp $stuff/mplayer.conf $fs/etc/mplayer 107.92 - # default skin 107.93 - tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins 107.94 - cd $fs/usr/share/mplayer/skins && ln -s productive default 107.95 - # Font 107.96 - cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf 107.97 - # Xv support dont work for ARM and gmplayer symlink not created 107.98 - case "$ARCH" in 107.99 - arm*) 107.100 - cp -f $stuff/mplayer-arm.conf $fs/etc/mplayer/mplayer.conf 107.101 - cd $fs/usr/bin && ln -s mplayer gmplayer ;; 107.102 +genpkg_rules() { 107.103 + case $PACKAGE in 107.104 + mplayer) 107.105 + mkdir -p $fs/usr/share/mplayer/skins 107.106 + cp -a $install/usr/bin $fs/usr 107.107 + # Mencoder goes in a splited package. 107.108 + rm $fs/usr/bin/mencoder 107.109 + [ -d "$install/usr/share/mplayer" ] && \ 107.110 + cp -a $install/usr/share/mplayer $fs/usr/share 107.111 + cp -a $install/etc $fs 107.112 + cp $src/etc/example.conf $fs/etc/mplayer 107.113 + # Config to use Xv by default. 107.114 + cp $stuff/mplayer.conf $fs/etc/mplayer 107.115 + # default skin 107.116 + tar xjf $stuff/productive-1.0.tar.bz2 -C $fs/usr/share/mplayer/skins 107.117 + cd $fs/usr/share/mplayer/skins && ln -s productive default 107.118 + # Font 107.119 + cd .. && ln -s ../fonts/truetype/ttf-dejavu/DejaVuSans.ttf subfont.ttf 107.120 + # Xv support dont work for ARM and gmplayer symlink not created 107.121 + case "$ARCH" in 107.122 + arm*) 107.123 + cp -f $stuff/mplayer-arm.conf $fs/etc/mplayer/mplayer.conf 107.124 + cd $fs/usr/bin && ln -s mplayer gmplayer ;; 107.125 + esac 107.126 + DEPENDS="gtk+ cdparanoia-III libmad xorg-libXv libtheora alsa-lib \ 107.127 + ncurses lame xorg-libXdamage giflib enca lirc xorg-libXxf86vm \ 107.128 + esound libmng audiofile libvorbis libogg zlib xvidcore x264 \ 107.129 + xorg-libXScrnSaver" 107.130 + # Handle arch package install. Less deps and no GTK gui for ARM 107.131 + case "$SLITAZ_ARCH" in 107.132 + arm*) 107.133 + DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm \ 107.134 + libogg libvorbis libtheora libsdl xvidcore lame esound gtk+" 107.135 + ;; 107.136 + esac 107.137 + ;; 107.138 + mencoder) 107.139 + copy /usr/bin/mencoder 107.140 + CAT="multimedia|video and movie encoder" 107.141 + DEPENDS="libtheora alsa-lib cdparanoia-III expat libogg libvorbis \ 107.142 + fontconfig freetype x264 xvidcore jpeg libmad ncurses zlib lame \ 107.143 + libpng16 giflib enca lirc" 107.144 + # Handle arch package install 107.145 + case "$SLITAZ_ARCH" in 107.146 + arm*) 107.147 + DEPENDS="alsa-lib zlib libmad xorg-libXv xorg-libXxf86vm \ 107.148 + libogg libvorbis libtheora xvidcore lame esound" 107.149 + ;; 107.150 + esac 107.151 + ;; 107.152 esac 107.153 -} 107.154 \ No newline at end of file 107.155 +}
108.1 --- a/mxml-dev/receipt Thu Mar 01 20:46:32 2018 +0200 108.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 108.3 @@ -1,21 +0,0 @@ 108.4 -# SliTaz package receipt. 108.5 - 108.6 -PACKAGE="mxml-dev" 108.7 -VERSION="2.8" 108.8 -CATEGORY="development" 108.9 -SHORT_DESC="Minimal XML - Dom oriented library, development files." 108.10 -MAINTAINER="pascal.bellard@slitaz.org" 108.11 -LICENSE="LGPL2" 108.12 -WEB_SITE="http://www.minixml.org/" 108.13 -WANTED="mxml" 108.14 - 108.15 -DEPENDS="mxml" 108.16 - 108.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 108.18 -genpkg_rules() 108.19 -{ 108.20 - mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include 108.21 - cp -a $src/mxml.h $fs/usr/include 108.22 - cp -a $src/libmxml.a $fs/usr/lib 108.23 - cp -a $src/mxml.pc $fs/usr/lib/pkgconfig 108.24 -}
109.1 --- a/mxml/receipt Thu Mar 01 20:46:32 2018 +0200 109.2 +++ b/mxml/receipt Fri Mar 02 03:33:54 2018 +0200 109.3 @@ -1,30 +1,25 @@ 109.4 -# SliTaz package receipt. 109.5 +# SliTaz package receipt v2. 109.6 109.7 PACKAGE="mxml" 109.8 VERSION="2.8" 109.9 CATEGORY="system-tools" 109.10 -SHORT_DESC="Minimal XML - Dom oriented library." 109.11 +SHORT_DESC="Minimal XML - DOM oriented library" 109.12 MAINTAINER="pascal.bellard@slitaz.org" 109.13 -TARBALL="$PACKAGE-$VERSION.tar.gz" 109.14 LICENSE="LGPL2" 109.15 WEB_SITE="http://www.minixml.org/" 109.16 + 109.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 109.18 WGET_URL="http://www.msweet.org/files/project3/$TARBALL" 109.19 109.20 -DEPENDS="" 109.21 -BUILD_DEPENDS="" 109.22 +SPLIT="mxml-dev" 109.23 109.24 -# Rules to configure and make the package. 109.25 -compile_rules() 109.26 -{ 109.27 - ./configure --prefix=/usr \ 109.28 - $CONFIGURE_ARGS && 109.29 - make && 109.30 - make DESTDIR=$DESTDIR install 109.31 +compile_rules() { 109.32 + ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install 109.33 } 109.34 109.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 109.36 -genpkg_rules() 109.37 -{ 109.38 - mkdir -p $fs/usr/lib 109.39 - cp -a $src/libmxml.so* $fs/usr/lib 109.40 +genpkg_rules() { 109.41 + case $PACKAGE in 109.42 + mxml) copy @std;; 109.43 + *-dev) copy @dev;; 109.44 + esac 109.45 }
110.1 --- a/nareto-doc/receipt Thu Mar 01 20:46:32 2018 +0200 110.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 110.3 @@ -1,19 +0,0 @@ 110.4 -# SliTaz package receipt. 110.5 - 110.6 -PACKAGE="nareto-doc" 110.7 -VERSION="1.1.6" 110.8 -CATEGORY="network" 110.9 -SHORT_DESC="Nareto documentation." 110.10 -MAINTAINER="erjo@slitaz.org" 110.11 -LICENSE="GPL2" 110.12 -WEB_SITE="http://www.nareto.org/" 110.13 -WANTED="nareto" 110.14 -DEPENDS="nareto" 110.15 - 110.16 -# Rules to gen a SliTaz package suitable for Tazpkg. 110.17 -genpkg_rules() 110.18 -{ 110.19 - mkdir -p $fs/usr/share/nareto 110.20 - cp -a $src/docs $fs/usr/share/nareto 110.21 -} 110.22 -
111.1 --- a/nareto/receipt Thu Mar 01 20:46:32 2018 +0200 111.2 +++ b/nareto/receipt Fri Mar 02 03:33:54 2018 +0200 111.3 @@ -1,57 +1,57 @@ 111.4 -# SliTaz package receipt. 111.5 +# SliTaz package receipt v2. 111.6 111.7 PACKAGE="nareto" 111.8 VERSION="1.1.6" 111.9 CATEGORY="network" 111.10 -SHORT_DESC="Nagios reporting tool." 111.11 +SHORT_DESC="Nagios reporting tool" 111.12 MAINTAINER="erjo@slitaz.org" 111.13 LICENSE="GPL2" 111.14 +WEB_SITE="http://www.nareto.org/" 111.15 +BUGS="s/oreon/centreon/" 111.16 + 111.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 111.18 -WEB_SITE="http://www.nareto.org/" 111.19 WGET_URL="${WEB_SITE}srcs/$TARBALL" 111.20 CONFIG_FILES="/etc/nagios" 111.21 -BUGS="s/oreon/centreon/" 111.22 111.23 DEPENDS="nagios apache php php-cli mysql perl-dbd-mysql perl-dbi" 111.24 +SPLIT="nareto-doc" 111.25 111.26 -# Rules to configure and make the package. 111.27 -compile_rules() 111.28 -{ 111.29 - cd $src 111.30 +compile_rules() { 111.31 chown -R www.www * 111.32 chmod -R 755 * 111.33 chmod u+x scripts/*.pl 111.34 } 111.35 111.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 111.37 -genpkg_rules() 111.38 -{ 111.39 - mkdir -p $fs/usr/share $fs/etc/mysql.d $fs/etc/initcron.d $fs/etc/nagios 111.40 - 111.41 - cp -a $src $fs/usr/share/nareto 111.42 - cp -a stuff/* $fs 111.43 - sed -i 's/oreon.jpg/centreon.png/' $fs/usr/share/nareto/index.php 111.44 - sed -i -e 's/oreon/centreon/g' -e 's/Oreon/Centreon/g' \ 111.45 - $fs/usr/share/nareto/index.php \ 111.46 - $fs/usr/share/nareto/administration/gestion_auto.php 111.47 - find $fs/usr/share/nareto -type f | while read file; do 111.48 - case "$file" in 111.49 - *.jpg|*.png|*.gif|*.pdf|*.ttf|*.xls|*.html) continue;; 111.50 - esac 111.51 - dos2unix "$file" 111.52 - sed -i 's/<?/<?php /g' "$file" 111.53 - sed -i 's/<?php xml/<?xml/g' "$file" 111.54 - sed -i 's/<?php php/<?php/g' "$file" 111.55 - sed -i 's/<?php =/<?php echo /g' "$file" 111.56 - done 111.57 - mv $fs/usr/share/nareto/include/config.ini.php \ 111.58 - $fs/etc/nagios/nareto.init.php 111.59 - ln -s /etc/nagios/nareto.init.php \ 111.60 - $fs/usr/share/nareto/include/config.ini.php 111.61 - sed -i -e 's/user$/nareto/' -e 's/password$/nareto/' \ 111.62 - $fs/etc/nagios/nareto.init.php 111.63 - chmod 700 $fs/etc/nagios/nareto.init.php 111.64 - cat > $fs/etc/mysql.d/nareto <<EOM 111.65 +genpkg_rules() { 111.66 + case $PACKAGE in 111.67 + nareto) 111.68 + mkdir -p $fs/usr/share $fs/etc/mysql.d $fs/etc/initcron.d $fs/etc/nagios 111.69 + 111.70 + cp -a $src $fs/usr/share/nareto 111.71 + cp -a stuff/* $fs 111.72 + sed -i 's/oreon.jpg/centreon.png/' $fs/usr/share/nareto/index.php 111.73 + sed -i -e 's/oreon/centreon/g' -e 's/Oreon/Centreon/g' \ 111.74 + $fs/usr/share/nareto/index.php \ 111.75 + $fs/usr/share/nareto/administration/gestion_auto.php 111.76 + find $fs/usr/share/nareto -type f \ 111.77 + | while read file; do 111.78 + case "$file" in 111.79 + *.jpg|*.png|*.gif|*.pdf|*.ttf|*.xls|*.html) continue;; 111.80 + esac 111.81 + dos2unix "$file" 111.82 + sed -i 's/<?/<?php /g' "$file" 111.83 + sed -i 's/<?php xml/<?xml/g' "$file" 111.84 + sed -i 's/<?php php/<?php/g' "$file" 111.85 + sed -i 's/<?php =/<?php echo /g' "$file" 111.86 + done 111.87 + mv $fs/usr/share/nareto/include/config.ini.php \ 111.88 + $fs/etc/nagios/nareto.init.php 111.89 + ln -s /etc/nagios/nareto.init.php \ 111.90 + $fs/usr/share/nareto/include/config.ini.php 111.91 + sed -i -e 's/user$/nareto/' -e 's/password$/nareto/' \ 111.92 + $fs/etc/nagios/nareto.init.php 111.93 + chmod 700 $fs/etc/nagios/nareto.init.php 111.94 + cat > $fs/etc/mysql.d/nareto <<EOM 111.95 #!/bin/sh 111.96 111.97 mysqldump nareto > /dev/null 2>&1 || mysql <<EOT 111.98 @@ -66,8 +66,8 @@ 111.99 EOT 111.100 chmod -x /etc/mysql.d/nareto 111.101 EOM 111.102 - chmod +x $fs/etc/mysql.d/nareto 111.103 - cat > $fs/etc/initcron.d/nareto <<EOT 111.104 + chmod +x $fs/etc/mysql.d/nareto 111.105 + cat > $fs/etc/initcron.d/nareto <<EOT 111.106 # Reporting 111.107 #FIXME LEAK?#*/5 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_5min.php > /dev/null 2>&1 111.108 #FIXME LEAK?#2 * * * * root /usr/bin/php /usr/share/nareto/scripts/nareto_dispo_cron_1h.php > /dev/null 2>&1 111.109 @@ -78,20 +78,27 @@ 111.110 #FIXME LEAK?#0 1 * * * root /usr/bin/perl /usr/share/nareto/scripts/nagios_alert_agregation.pl > /dev/null 2>&1 111.111 111.112 EOT 111.113 - chmod +x $fs/etc/initcron.d/nareto 111.114 - 111.115 - # Move doc in nareto-doc package. 111.116 - rm -rf $fs/usr/share/nareto/docs 111.117 + chmod +x $fs/etc/initcron.d/nareto 111.118 + 111.119 + # Move doc in nareto-doc package. 111.120 + rm -rf $fs/usr/share/nareto/docs 111.121 + ;; 111.122 + nareto-doc) 111.123 + mkdir -p $fs/usr/share/nareto 111.124 + cp -a $src/docs $fs/usr/share/nareto 111.125 + CAT="network|documentation" 111.126 + DEPENDS="nareto" 111.127 + ;; 111.128 } 111.129 111.130 -post_install() 111.131 -{ 111.132 +post_install_nareto() { 111.133 [ -s "$1/usr/share/nagios/.htaccess" ] && 111.134 cp "$1/usr/share/nagios/.htaccess" "$1/usr/share/nareto/" 111.135 + 111.136 # Configure lighttpd server 111.137 if [ -f "$1/etc/lighttpd/lighttpd.conf" ]; then 111.138 if ! grep -q /usr/share/nareto/ "$1/etc/lighttpd/lighttpd.conf"; then 111.139 - sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/nareto/" => "/usr/share/nareto",|g' -i "$1/etc/lighttpd/lighttpd.conf" 111.140 + sed -e 's|.*"/examples/" => "/usr/share/examples/",| "/examples/" => "/usr/share/examples/",\n "/nareto/" => "/usr/share/nareto",|g' -i "$1/etc/lighttpd/lighttpd.conf" 111.141 if [ -z "$1" ]; then 111.142 # Start Web server. 111.143 /etc/init.d/lighttpd stop 111.144 @@ -99,7 +106,7 @@ 111.145 fi 111.146 fi 111.147 fi 111.148 - 111.149 + 111.150 # Configure apache server 111.151 if [ -f "$1/etc/apache/httpd.conf" ]; then 111.152 sed -i 's/lighttpd/apache/' "$1/etc/rcS.conf" 111.153 @@ -121,4 +128,3 @@ 111.154 fi 111.155 fi 111.156 } 111.157 -
112.1 --- a/obby-dev/receipt Thu Mar 01 20:46:32 2018 +0200 112.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 112.3 @@ -1,21 +0,0 @@ 112.4 -# SliTaz package receipt. 112.5 - 112.6 -PACKAGE="obby-dev" 112.7 -VERSION="0.4.7" 112.8 -CATEGORY="development" 112.9 -SHORT_DESC="obby library devel files." 112.10 -MAINTAINER="pankso@slitaz.org" 112.11 -LICENSE="GPL2" 112.12 -WANTED="obby" 112.13 -WEB_SITE="http://gobby.0x539.de/trac/" 112.14 - 112.15 -DEPENDS="pkg-config" 112.16 - 112.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 112.18 -genpkg_rules() 112.19 -{ 112.20 - mkdir -p $fs/usr/lib 112.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 112.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 112.23 - cp -a $install/usr/include $fs/usr 112.24 -}
113.1 --- a/obby/receipt Thu Mar 01 20:46:32 2018 +0200 113.2 +++ b/obby/receipt Fri Mar 02 03:33:54 2018 +0200 113.3 @@ -1,24 +1,21 @@ 113.4 -# SliTaz package receipt. 113.5 +# SliTaz package receipt v2. 113.6 113.7 PACKAGE="obby" 113.8 VERSION="0.4.7" 113.9 CATEGORY="network" 113.10 -SHORT_DESC="Realtime collaborative text-editing functionality." 113.11 +SHORT_DESC="Realtime collaborative text-editing functionality" 113.12 MAINTAINER="pankso@slitaz.org" 113.13 LICENSE="GPL2" 113.14 +WEB_SITE="http://gobby.0x539.de/trac/" 113.15 + 113.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 113.17 -WEB_SITE="http://gobby.0x539.de/trac/" 113.18 WGET_URL="http://releases.0x539.de/obby/$TARBALL" 113.19 -TAGS="collaboration text" 113.20 113.21 -DEPENDS="gnutls libgpg-error libgcrypt net6 libsigc++ zlib gcc-lib-base libtasn1" 113.22 BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev net6-dev \ 113.23 libsigc++-dev" 113.24 +SPLIT="obby-dev" 113.25 113.26 -# Rules to configure and make the package. 113.27 -compile_rules() 113.28 -{ 113.29 - cd $src 113.30 +compile_rules() { 113.31 ./configure \ 113.32 --prefix=/usr \ 113.33 --infodir=/usr/share/info \ 113.34 @@ -28,9 +25,16 @@ 113.35 make DESTDIR=$DESTDIR install 113.36 } 113.37 113.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 113.39 -genpkg_rules() 113.40 -{ 113.41 - mkdir -p $fs/usr/lib 113.42 - cp -a $install/usr/lib/*.so* $fs/usr/lib 113.43 +genpkg_rules() { 113.44 + case $PACKAGE in 113.45 + obby) 113.46 + copy @std 113.47 + DEPENDS="gnutls libgpg-error libgcrypt net6 libsigc++ zlib \ 113.48 + gcc-lib-base libtasn1" 113.49 + TAGS="collaboration text" 113.50 + ;; 113.51 + *-dev) 113.52 + copy @dev 113.53 + ;; 113.54 + esac 113.55 }
114.1 --- a/ola-dev/receipt Thu Mar 01 20:46:32 2018 +0200 114.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 114.3 @@ -1,21 +0,0 @@ 114.4 -# SliTaz package receipt. 114.5 - 114.6 -PACKAGE="ola-dev" 114.7 -VERSION="0.9.8" 114.8 -CATEGORY="development" 114.9 -SHORT_DESC="Open Lighting Architecture devel files" 114.10 -MAINTAINER="kult-ex@aon.at" 114.11 -LICENSE="LGPL2.1" 114.12 -WEB_SITE="https://www.openlighting.org/ola/" 114.13 - 114.14 -WANTED="ola" 114.15 -DEPENDS="ola protobuf-dev" 114.16 - 114.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 114.18 -genpkg_rules() 114.19 -{ 114.20 - mkdir -p $fs/usr/lib 114.21 - cp -a $install/usr/include $fs/usr 114.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 114.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 114.24 -}
115.1 --- a/ola/receipt Thu Mar 01 20:46:32 2018 +0200 115.2 +++ b/ola/receipt Fri Mar 02 03:33:54 2018 +0200 115.3 @@ -1,4 +1,4 @@ 115.4 -# SliTaz package receipt. 115.5 +# SliTaz package receipt v2. 115.6 115.7 PACKAGE="ola" 115.8 VERSION="0.9.8" 115.9 @@ -6,17 +6,16 @@ 115.10 SHORT_DESC="Open Lighting Architecture" 115.11 MAINTAINER="kult-ex@aon.at" 115.12 LICENSE="LGPL2.1" 115.13 +WEB_SITE="https://www.openlighting.org/ola/" 115.14 + 115.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 115.16 -WEB_SITE="https://www.openlighting.org/ola/" 115.17 WGET_URL="https://github.com/OpenLightingProject/ola/archive/$VERSION.tar.gz" 115.18 115.19 -DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf" 115.20 BUILD_DEPENDS="libtool flex protobuf-dev util-linux-uuid-dev cppunit-dev \ 115.21 libmicrohttpd-dev libftdi-dev libusb-dev liblo-dev ncurses-dev" 115.22 +SPLIT="ola-dev" 115.23 115.24 -# Rules to configure and make the package. 115.25 -compile_rules() 115.26 -{ 115.27 +compile_rules() { 115.28 autoreconf -i 115.29 ./configure \ 115.30 --prefix=/usr \ 115.31 @@ -24,11 +23,21 @@ 115.32 make && make install 115.33 } 115.34 115.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 115.36 -genpkg_rules() 115.37 -{ 115.38 - mkdir -p $fs/usr/lib/olad 115.39 - cp -a $install/usr/bin $fs/usr 115.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 115.41 - cp -a $install/usr/share $fs/usr 115.42 +genpkg_rules() { 115.43 + case $PACKAGE in 115.44 + ola) 115.45 + mkdir -p $fs/usr/lib/olad 115.46 + cp -a $install/usr/bin $fs/usr 115.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 115.48 + cp -a $install/usr/share $fs/usr 115.49 + DEPENDS="libftdi liblo libmicrohttpd ncurses protobuf" 115.50 + ;; 115.51 + *-dev) 115.52 + mkdir -p $fs/usr/lib 115.53 + cp -a $install/usr/include $fs/usr 115.54 + cp -a $install/usr/lib/*.*a $fs/usr/lib 115.55 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 115.56 + DEPENDS="ola protobuf-dev" 115.57 + ;; 115.58 + esac 115.59 }
116.1 --- a/openal-dev/receipt Thu Mar 01 20:46:32 2018 +0200 116.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 116.3 @@ -1,21 +0,0 @@ 116.4 -# SliTaz package receipt. 116.5 - 116.6 -PACKAGE="openal-dev" 116.7 -SOURCE="openal-soft" 116.8 -VERSION="1.16.0" 116.9 -CATEGORY="development" 116.10 -SHORT_DESC="cross-platform 3D audio API, development files." 116.11 -MAINTAINER="pascal.bellard@slitaz.org" 116.12 -LICENSE="LGPL2" 116.13 -WEB_SITE="http://www.openal.org/" 116.14 -WANTED="openal" 116.15 - 116.16 -DEPENDS="openal pkg-config" 116.17 - 116.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 116.19 -genpkg_rules() 116.20 -{ 116.21 - mkdir -p $fs/usr/lib 116.22 - cp -a $install/usr/include $fs/usr 116.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 116.24 -}
117.1 --- a/openal/receipt Thu Mar 01 20:46:32 2018 +0200 117.2 +++ b/openal/receipt Fri Mar 02 03:33:54 2018 +0200 117.3 @@ -1,30 +1,33 @@ 117.4 -# SliTaz package receipt. 117.5 +# SliTaz package receipt v2. 117.6 117.7 PACKAGE="openal" 117.8 -SOURCE="openal-soft" 117.9 VERSION="1.16.0" 117.10 CATEGORY="multimedia" 117.11 -SHORT_DESC="cross-platform 3D audio API." 117.12 +SHORT_DESC="Cross-platform 3D audio API" 117.13 MAINTAINER="pascal.bellard@slitaz.org" 117.14 LICENSE="LGPL2" 117.15 -TARBALL="$SOURCE-$VERSION.tar.bz2" 117.16 WEB_SITE="http://www.openal.org/" 117.17 + 117.18 +TARBALL="openal-soft-$VERSION.tar.bz2" 117.19 WGET_URL="http://www.openal-soft.org/openal-releases/$TARBALL" 117.20 + 117.21 BUILD_DEPENDS="cmake" 117.22 -TAGS="multimedia audio sound 3D" 117.23 +SPLIT="openal-dev" 117.24 117.25 -# Rules to configure and make the package. 117.26 -compile_rules() 117.27 -{ 117.28 +compile_rules() { 117.29 cmake -DCMAKE_INSTALL_PREFIX=/usr 117.30 make && 117.31 make install 117.32 } 117.33 117.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 117.35 -genpkg_rules() 117.36 -{ 117.37 - mkdir -p $fs/usr/lib 117.38 - cp -a $install/usr/bin $fs/usr 117.39 - cp -a $install/usr/lib/*.so* $fs/usr/lib 117.40 +genpkg_rules() { 117.41 + case $PACKAGE in 117.42 + openal) 117.43 + copy @std 117.44 + TAGS="multimedia audio sound 3D" 117.45 + ;; 117.46 + *-dev) 117.47 + copy @dev 117.48 + ;; 117.49 + esac 117.50 }
118.1 --- a/opencore-amr-dev/receipt Thu Mar 01 20:46:32 2018 +0200 118.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 118.3 @@ -1,21 +0,0 @@ 118.4 -# SliTaz package receipt. 118.5 - 118.6 -PACKAGE="opencore-amr-dev" 118.7 -VERSION="0.1.3" 118.8 -CATEGORY="multimedia" 118.9 -SHORT_DESC="Adaptive Multi Rate (AMR) speech codec -dev files" 118.10 -MAINTAINER="domcox@slitaz.org" 118.11 -LICENSE="Apache" 118.12 -WEB_SITE="http://opencore-amr.sourceforge.net" 118.13 -WANTED="opencore-amr" 118.14 - 118.15 -DEPENDS="pkg-config" 118.16 - 118.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 118.18 -genpkg_rules() 118.19 -{ 118.20 - mkdir -p $fs/usr/lib 118.21 - cp -a $install/usr/include $fs/usr 118.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 118.23 - cp -a $install/usr/lib/*.la $fs/usr/lib 118.24 -}
119.1 --- a/opencore-amr/receipt Thu Mar 01 20:46:32 2018 +0200 119.2 +++ b/opencore-amr/receipt Fri Mar 02 03:33:54 2018 +0200 119.3 @@ -1,4 +1,4 @@ 119.4 -# SliTaz package receipt. 119.5 +# SliTaz package receipt v2. 119.6 119.7 PACKAGE="opencore-amr" 119.8 VERSION="0.1.3" 119.9 @@ -7,25 +7,21 @@ 119.10 MAINTAINER="domcox@slitaz.org" 119.11 LICENSE="Apache" 119.12 WEB_SITE="http://opencore-amr.sourceforge.net" 119.13 + 119.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 119.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 119.16 119.17 -DEPENDS="" 119.18 -BUILD_DEPENDS="" 119.19 +SPLIT="opencore-amr-dev" 119.20 119.21 -# Rules to configure and make the package. 119.22 -compile_rules() 119.23 -{ 119.24 +compile_rules() { 119.25 ./configure \ 119.26 - --prefix="/usr" \ 119.27 --disable-static \ 119.28 $CONFIGURE_ARGS && 119.29 make && make install 119.30 } 119.31 119.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 119.33 -genpkg_rules() 119.34 -{ 119.35 - mkdir -p $fs/usr/lib 119.36 - cp -a $install/usr/lib/*.so* $fs/usr/lib 119.37 +genpkg_rules() { 119.38 + case $PACKAGE in 119.39 + opencore-amr) copy @std;; 119.40 + *-dev) copy @dev;; 119.41 }
120.1 --- a/openmpi-dev/receipt Thu Mar 01 20:46:32 2018 +0200 120.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 120.3 @@ -1,23 +0,0 @@ 120.4 -# SliTaz package receipt. 120.5 - 120.6 -PACKAGE="openmpi-dev" 120.7 -VERSION="1.5.3" 120.8 -CATEGORY="development" 120.9 -SHORT_DESC="devel files for opemmpi" 120.10 -MAINTAINER="slaxemulator@gmail.com" 120.11 -LICENSE="BSD" 120.12 -WEB_SITE="http://www.open-mpi.org" 120.13 -WANTED="openmpi" 120.14 - 120.15 -DEPENDS="openmpi pkg-config" 120.16 - 120.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 120.18 -genpkg_rules() 120.19 -{ 120.20 - mkdir -p $fs/usr/lib/$WANTED 120.21 - cp -a $install/usr/include $fs/usr 120.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 120.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 120.24 - cp -a $install/usr/lib/$WANTED/*.*a $fs/usr/lib/$WANTED 120.25 -} 120.26 -
121.1 --- a/openmpi/receipt Thu Mar 01 20:46:32 2018 +0200 121.2 +++ b/openmpi/receipt Fri Mar 02 03:33:54 2018 +0200 121.3 @@ -1,4 +1,4 @@ 121.4 -# SliTaz package receipt. 121.5 +# SliTaz package receipt v2. 121.6 121.7 PACKAGE="openmpi" 121.8 VERSION="1.5.3" 121.9 @@ -6,39 +6,44 @@ 121.10 SHORT_DESC="High performance message passing library (MPI)" 121.11 MAINTAINER="slaxemulator@gmail.com" 121.12 LICENSE="BSD" 121.13 +WEB_SITE="http://www.open-mpi.org" 121.14 + 121.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 121.16 -WEB_SITE="http://www.open-mpi.org" 121.17 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL" 121.18 121.19 -DEPENDS="gcc gfortran libtool openssh valgrind" 121.20 -BUILD_DEPENDS="$DEPENDS valgrind-dev" 121.21 +BUILD_DEPENDS="gcc gfortran libtool openssh valgrind valgrind-dev" 121.22 +SPLIT="openmpi-dev" 121.23 121.24 -# Rules to configure and make the package. 121.25 -compile_rules() 121.26 -{ 121.27 - cd $src 121.28 - ./configure --sysconfdir=/etc/${PACKAGE} \ 121.29 - --enable-mpi-f90 \ 121.30 - --libdir=/usr/lib/${pkgname} \ 121.31 - --with-threads=posix \ 121.32 - --enable-mpi-threads \ 121.33 - --enable-smp-locks \ 121.34 - --with-valgrind \ 121.35 - --enable-pretty-print-stacktrace \ 121.36 - --without-slurm \ 121.37 - --with-libltdl=/usr \ 121.38 - FC=/usr/bin/gfortran \ 121.39 - LDFLAGS='-Wl,-z,noexecstack' && 121.40 +compile_rules() { 121.41 + ./configure \ 121.42 + --sysconfdir=/etc/openmpi \ 121.43 + --enable-mpi-f90 \ 121.44 + --libdir=/usr/lib/openmpi \ 121.45 + --with-threads=posix \ 121.46 + --enable-mpi-threads \ 121.47 + --enable-smp-locks \ 121.48 + --with-valgrind \ 121.49 + --enable-pretty-print-stacktrace \ 121.50 + --without-slurm \ 121.51 + --with-libltdl=/usr \ 121.52 + FC=/usr/bin/gfortran \ 121.53 + LDFLAGS='-Wl,-z,noexecstack' && 121.54 make && make install 121.55 } 121.56 121.57 -# Rules to gen a SliTaz package suitable for Tazpkg. 121.58 -genpkg_rules() 121.59 -{ 121.60 - mkdir -p $fs/usr/lib/$PACKAGE 121.61 - cp -a $install/etc $fs 121.62 - cp -a $install/usr/bin $fs/usr 121.63 - cp -a $install/usr/lib/*.so* $fs/usr/lib 121.64 - cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 121.65 - cp -a $install/usr/lib/mpi.mod $fs/usr/lib 121.66 +genpkg_rules() { 121.67 + case $PACKAGE in 121.68 + openmpi) 121.69 + mkdir -p $fs/usr/lib/$PACKAGE 121.70 + cp -a $install/etc $fs 121.71 + cp -a $install/usr/bin $fs/usr 121.72 + cp -a $install/usr/lib/*.so* $fs/usr/lib 121.73 + cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 121.74 + cp -a $install/usr/lib/mpi.mod $fs/usr/lib 121.75 + DEPENDS="gcc gfortran libtool openssh valgrind" 121.76 + ;; 121.77 + *-dev) 121.78 + copy @dev 121.79 + ;; 121.80 + esac 121.81 }
122.1 --- a/pari-dev/receipt Thu Mar 01 20:46:32 2018 +0200 122.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 122.3 @@ -1,18 +0,0 @@ 122.4 -# SliTaz package receipt. 122.5 - 122.6 -PACKAGE="pari-dev" 122.7 -VERSION="2.5.3" 122.8 -CATEGORY="development" 122.9 -SHORT_DESC="Devel files for PARI/GP" 122.10 -MAINTAINER="al.bobylev@gmail.com" 122.11 -LICENSE="GPL2" 122.12 -WEB_SITE="http://pari.math.u-bordeaux.fr/" 122.13 -WANTED="pari" 122.14 - 122.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 122.16 -genpkg_rules() 122.17 -{ 122.18 - mkdir -p $fs/usr/lib 122.19 - cp -a $install/usr/include $fs/usr 122.20 - cp -a $install/usr/lib/*.*a $fs/usr/lib 122.21 -}
123.1 --- a/pari/receipt Thu Mar 01 20:46:32 2018 +0200 123.2 +++ b/pari/receipt Fri Mar 02 03:33:54 2018 +0200 123.3 @@ -1,4 +1,4 @@ 123.4 -# SliTaz package receipt. 123.5 +# SliTaz package receipt v2. 123.6 123.7 PACKAGE="pari" 123.8 VERSION="2.5.3" 123.9 @@ -7,19 +7,21 @@ 123.10 MAINTAINER="al.bobylev@gmail.com" 123.11 LICENSE="GPL2" 123.12 WEB_SITE="http://pari.math.u-bordeaux.fr/" 123.13 + 123.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 123.15 WGET_URL="http://pari.math.u-bordeaux.fr/pub/$PACKAGE/unix/$TARBALL" 123.16 123.17 -DEPENDS="glibc-base gmp xorg-libxcb ncurses readline xorg-libX11 xorg-libXau \ 123.18 -xorg-libXdmcp" 123.19 BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev" 123.20 +SPLIT="pari-dev" 123.21 123.22 -# Rules to configure and make the package. 123.23 -compile_rules() 123.24 -{ 123.25 +compile_rules() { 123.26 mkdir build 123.27 # this configure not respect $CONFIGURE_ARGS :( 123.28 - ./Configure --host=$ARCH --graphic=X11 --builddir=build --prefix=/usr && 123.29 + ./Configure \ 123.30 + --host=$ARCH \ 123.31 + --graphic=X11 \ 123.32 + --builddir=build \ 123.33 + --prefix=/usr && 123.34 cd build 123.35 make all && 123.36 make DESTDIR=$install install 2>&1 | sed \ 123.37 @@ -28,11 +30,15 @@ 123.38 rm -rf $src/build 123.39 } 123.40 123.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 123.42 -genpkg_rules() 123.43 -{ 123.44 - mkdir -p $fs/usr/lib/pari $fs/usr/share 123.45 - cp -a $install/usr/bin $fs/usr 123.46 - cp -a $install/usr/lib/pari $fs/usr/lib 123.47 - cp -a $install/usr/share/pari $fs/usr/share 123.48 +genpkg_rules() { 123.49 + case $PACKAGE in 123.50 + pari) 123.51 + copy @std 123.52 + DEPENDS="glibc-base gmp xorg-libxcb ncurses readline xorg-libX11 \ 123.53 + xorg-libXau xorg-libXdmcp" 123.54 + ;; 123.55 + *-dev) 123.56 + copy @dev 123.57 + ;; 123.58 + esac 123.59 }
124.1 --- a/portaudio-dev/receipt Thu Mar 01 20:46:32 2018 +0200 124.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 124.3 @@ -1,23 +0,0 @@ 124.4 -# SliTaz package receipt. 124.5 - 124.6 -PACKAGE="portaudio-dev" 124.7 -VERSION="v19_20110326" 124.8 -CATEGORY="development" 124.9 -SHORT_DESC="Portaudio dev files." 124.10 -MAINTAINER="erjo@slitaz.org" 124.11 -LICENSE="CC-SA" 124.12 -SOURCE="pa_stable" 124.13 -WEB_SITE="http://www.portaudio.com/" 124.14 -HOST_ARCH="i486 arm" 124.15 - 124.16 -WANTED="portaudio" 124.17 -DEPENDS="portaudio pkg-config" 124.18 - 124.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 124.20 -genpkg_rules() 124.21 -{ 124.22 - mkdir -p $fs/usr/lib 124.23 - cp -a $install/usr/lib/*.*a $fs/usr/lib 124.24 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 124.25 - cp -a $install/usr/include $fs/usr 124.26 -}
125.1 --- a/portaudio/receipt Thu Mar 01 20:46:32 2018 +0200 125.2 +++ b/portaudio/receipt Fri Mar 02 03:33:54 2018 +0200 125.3 @@ -1,4 +1,4 @@ 125.4 -# SliTaz package receipt. 125.5 +# SliTaz package receipt v2. 125.6 125.7 PACKAGE="portaudio" 125.8 VERSION="v19_20110326" 125.9 @@ -6,29 +6,32 @@ 125.10 SHORT_DESC="A portable cross-platform audio API" 125.11 MAINTAINER="erjo@slitaz.org" 125.12 LICENSE="CC-SA" 125.13 -SOURCE="pa_stable" 125.14 -TARBALL="${SOURCE}_${VERSION}.tgz" 125.15 WEB_SITE="http://www.portaudio.com/" 125.16 + 125.17 +TARBALL="pa_stable_$VERSION.tgz" 125.18 WGET_URL="http://www.portaudio.com/archives/$TARBALL" 125.19 -HOST_ARCH="i486 arm" 125.20 125.21 -DEPENDS="alsa-lib jack" 125.22 BUILD_DEPENDS="alsa-lib-dev jack-dev" 125.23 +SPLIT="portaudio-dev" 125.24 125.25 -# Rules to configure and make the package. 125.26 -compile_rules() 125.27 -{ 125.28 - cd $src 125.29 - ./configure --prefix=/usr \ 125.30 +compile_rules() { 125.31 + ./configure \ 125.32 + --prefix=/usr \ 125.33 --infodir=/usr/share/info \ 125.34 - --mandir=/usr/share/man $CONFIGURE_ARGS && 125.35 + --mandir=/usr/share/man \ 125.36 + $CONFIGURE_ARGS && 125.37 make && 125.38 make DESTDIR=$DESTDIR install 125.39 } 125.40 125.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 125.42 -genpkg_rules() 125.43 -{ 125.44 - mkdir -p $fs/usr/lib 125.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 125.46 +genpkg_rules() { 125.47 + case $PACKAGE in 125.48 + portaudio) 125.49 + copy @std 125.50 + DEPENDS="alsa-lib jack" 125.51 + ;; 125.52 + *-dev) 125.53 + copy @dev 125.54 + ;; 125.55 + esac 125.56 }
126.1 --- a/python-ecore-dev/receipt Thu Mar 01 20:46:32 2018 +0200 126.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 126.3 @@ -1,20 +0,0 @@ 126.4 -# SliTaz package receipt. 126.5 - 126.6 -PACKAGE="python-ecore-dev" 126.7 -VERSION="1.7.0" 126.8 -CATEGORY="development" 126.9 -SHORT_DESC="Python bindings for ecore devel files." 126.10 -MAINTAINER="domcox@slitaz.org" 126.11 -LICENSE="LGPL2.1" 126.12 -WANTED="python-ecore" 126.13 -WEB_SITE="http://www.enlightenment.org/" 126.14 - 126.15 -DEPENDS="ecore-dev python-dev pkg-config" 126.16 - 126.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 126.18 -genpkg_rules() 126.19 -{ 126.20 - mkdir -p $fs/usr/lib 126.21 - cp -a $install/usr/include $fs/usr 126.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 126.23 -}
127.1 --- a/python-ecore/receipt Thu Mar 01 20:46:32 2018 +0200 127.2 +++ b/python-ecore/receipt Fri Mar 02 03:33:54 2018 +0200 127.3 @@ -1,4 +1,4 @@ 127.4 -# SliTaz package receipt. 127.5 +# SliTaz package receipt v2. 127.6 127.7 PACKAGE="python-ecore" 127.8 VERSION="1.7.0" 127.9 @@ -6,26 +6,31 @@ 127.10 SHORT_DESC="Python bindings for ecore" 127.11 MAINTAINER="domcox@slitaz.org" 127.12 LICENSE="LGPL2.1" 127.13 +WEB_SITE="http://www.enlightenment.org/" 127.14 + 127.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 127.16 -WEB_SITE="http://www.enlightenment.org/" 127.17 WGET_URL="git|git://git.enlightenment.org/legacy/bindings/python/$PACKAGE.git" 127.18 -TAGS="e enlightenment efl python" 127.19 127.20 -DEPENDS="ecore" 127.21 BUILD_DEPENDS="ecore-dev python-dev python-cython autoconf automake git \ 127.22 subversion libtool" 127.23 +SPLIT="python-ecore-dev" 127.24 127.25 -# Rules to configure and make the package. 127.26 -compile_rules() 127.27 -{ 127.28 +compile_rules() { 127.29 ./autogen.sh && 127.30 ./configure --prefix=/usr && 127.31 make all && make install 127.32 } 127.33 127.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 127.35 -genpkg_rules() 127.36 -{ 127.37 - mkdir -p $fs/usr/lib 127.38 - cp -a $install/usr/lib/python2.7 $fs/usr/lib 127.39 +genpkg_rules() { 127.40 + case $PACKAGE in 127.41 + python-ecore) 127.42 + copy @std 127.43 + DEPENDS="ecore" 127.44 + TAGS="e enlightenment efl python" 127.45 + ;; 127.46 + *-dev) 127.47 + copy @dev 127.48 + DEPENDS="python-ecore ecore-dev python-dev" 127.49 + ;; 127.50 + esac 127.51 }
128.1 --- a/python-pygame-dev/receipt Thu Mar 01 20:46:32 2018 +0200 128.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 128.3 @@ -1,23 +0,0 @@ 128.4 -# SliTaz package receipt. 128.5 - 128.6 -PACKAGE="python-pygame-dev" 128.7 -VERSION="1.9.1release" 128.8 -CATEGORY="development" 128.9 -SHORT_DESC="Python game development files." 128.10 -MAINTAINER="claudinei@slitaz.org" 128.11 -LICENSE="LGPL" 128.12 -WEB_SITE="http://www.pygame.org/" 128.13 -WANTED="python-pygame" 128.14 - 128.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 128.16 -genpkg_rules() 128.17 -{ 128.18 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 128.19 - mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 128.20 - cp -a $install/usr/include $fs/usr 128.21 - cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \ 128.22 - $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 128.23 - cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \ 128.24 - $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 128.25 -} 128.26 -
129.1 --- a/python-pygame/receipt Thu Mar 01 20:46:32 2018 +0200 129.2 +++ b/python-pygame/receipt Fri Mar 02 03:33:54 2018 +0200 129.3 @@ -1,45 +1,54 @@ 129.4 -# SliTaz package receipt. 129.5 +# SliTaz package receipt v2. 129.6 129.7 PACKAGE="python-pygame" 129.8 -SOURCE="pygame" 129.9 VERSION="1.9.1release" 129.10 CATEGORY="development" 129.11 -SHORT_DESC="Python game library." 129.12 +SHORT_DESC="Python game library" 129.13 MAINTAINER="claudinei@slitaz.org" 129.14 LICENSE="LGPL" 129.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 129.16 WEB_SITE="http://www.pygame.org/" 129.17 + 129.18 +TARBALL="pygame-$VERSION.tar.gz" 129.19 WGET_URL="$WEB_SITE/ftp/$TARBALL" 129.20 129.21 -DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf python-numpy \ 129.22 -libsmpeg gcc-lib-base" 129.23 BUILD_DEPENDS="python-dev libsmpeg-dev libsdl-dev libsdl-image-dev \ 129.24 libsdl-mixer-dev libsdl-ttf-dev libv4l-dev" 129.25 +SPLIT="python-pygame-dev" 129.26 129.27 -# Rules to configure and make the package. 129.28 -compile_rules() 129.29 -{ 129.30 +compile_rules() { 129.31 patch -Np0 -i $stuff/config.patch 129.32 sed -i "s|linux/videodev.h|libv4l1-videodev.h|" src/camera.h 129.33 python config.py -auto && 129.34 python setup.py install --root=$DESTDIR 129.35 } 129.36 129.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 129.38 -genpkg_rules() 129.39 -{ 129.40 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 129.41 - mkdir -p $fs/usr 129.42 - cp -a $install/usr/lib $fs/usr 129.43 - chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf 129.44 - # examples and tests in python-pygame-dev 129.45 - rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/examples 129.46 - rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/tests 129.47 +genpkg_rules() { 129.48 + case $PACKAGE in 129.49 + python-pygame) 129.50 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 129.51 + mkdir -p $fs/usr 129.52 + cp -a $install/usr/lib $fs/usr 129.53 + chmod 644 $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/freesansbold.ttf 129.54 + # examples and tests in python-pygame-dev 129.55 + rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/examples 129.56 + rm -rf $fs/usr/lib/$PYTHON_LIB/site-packages/pygame/tests 129.57 + DEPENDS="python libsdl libsdl-image libsdl-mixer libsdl-ttf \ 129.58 + python-numpy libsmpeg gcc-lib-base" 129.59 + ;; 129.60 + *-dev) 129.61 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 129.62 + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 129.63 + cp -a $install/usr/include $fs/usr 129.64 + cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/examples \ 129.65 + $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 129.66 + cp -a $install/usr/lib/$PYTHON_LIB/site-packages/pygame/tests \ 129.67 + $fs/usr/lib/$PYTHON_LIB/site-packages/pygame 129.68 + ;; 129.69 + esac 129.70 } 129.71 129.72 # Remove old package. 129.73 -post_install() 129.74 -{ 129.75 +post_install_python_pygame() { 129.76 [ ! -d "$1/var/lib/tazpkg/installed/pygame/examples" ] || 129.77 rm -rf "$1/var/lib/tazpkg/installed/pygame/examples" 129.78 }
130.1 --- a/python-stfl/receipt Thu Mar 01 20:46:32 2018 +0200 130.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 130.3 @@ -1,19 +0,0 @@ 130.4 -# SliTaz package receipt. 130.5 - 130.6 -PACKAGE="python-stfl" 130.7 -VERSION="0.24" 130.8 -CATEGORY="development" 130.9 -SHORT_DESC="Python bindings for tne Structured Terminal Forms Language/Library." 130.10 -MAINTAINER="pascal.bellard@slitaz.org" 130.11 -LICENSE="LGPL3" 130.12 -WEB_SITE="http://www.clifford.at/stfl/" 130.13 -WANTED="stfl" 130.14 - 130.15 -DEPENDS="python stfl" 130.16 - 130.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 130.18 -genpkg_rules() 130.19 -{ 130.20 - mkdir -p $fs/usr/lib 130.21 - cp -a $install/usr/lib/python* $fs/usr/lib 130.22 -}
131.1 --- a/qasmixer/receipt Thu Mar 01 20:46:32 2018 +0200 131.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 131.3 @@ -1,22 +0,0 @@ 131.4 -# SliTaz package receipt. 131.5 - 131.6 -PACKAGE="qasmixer" 131.7 -VERSION="0.17.2" 131.8 -CATEGORY="multimedia" 131.9 -SHORT_DESC="Qt based ALSA mixer" 131.10 -MAINTAINER="al.bobylev@gmail.com" 131.11 -LICENSE="GPL3" 131.12 -WEB_SITE="http://xwmw.org/qastools/index.html" 131.13 - 131.14 -WANTED="qastools" 131.15 -DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg" 131.16 - 131.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 131.18 -genpkg_rules() 131.19 -{ 131.20 - for file in $(cat $WOK/$WANTED/stuff/qasmixer.files); do 131.21 - mkdir -p $fs$(dirname $file) 131.22 - cp -a $install$file $fs$file 131.23 - done 131.24 - ln -s /usr/share/licenses/gpl.txt $fs/usr/share/qastools/COPYING 131.25 -}
132.1 --- a/qastools/receipt Thu Mar 01 20:46:32 2018 +0200 132.2 +++ b/qastools/receipt Fri Mar 02 03:33:54 2018 +0200 132.3 @@ -1,4 +1,4 @@ 132.4 -# SliTaz package receipt. 132.5 +# SliTaz package receipt v2. 132.6 132.7 PACKAGE="qastools" 132.8 VERSION="0.17.2" 132.9 @@ -7,30 +7,33 @@ 132.10 MAINTAINER="al.bobylev@gmail.com" 132.11 LICENSE="GPL3" 132.12 WEB_SITE="http://xwmw.org/qastools/index.html" 132.13 + 132.14 TARBALL="${PACKAGE}_$VERSION.tar.xz" 132.15 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 132.16 + 132.17 GENERIC_MENUS="no" 132.18 132.19 -DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer" 132.20 BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev" 132.21 +SPLIT="qasmixer" 132.22 132.23 -# Rules to configure and make the package. 132.24 -compile_rules() 132.25 -{ 132.26 +compile_rules() { 132.27 mkdir build; cd build 132.28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 132.29 make && 132.30 make DESTDIR=$install install 132.31 } 132.32 132.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 132.34 -genpkg_rules() 132.35 -{ 132.36 - cp -a $install/* $fs 132.37 - rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING 132.38 - 132.39 - # separate qasmixer 132.40 - for file in $(cat $stuff/qasmixer.files); do 132.41 - rm -f $fs$file 132.42 - done 132.43 +genpkg_rules() { 132.44 + case $PACKAGE in 132.45 + qasmixer) 132.46 + copy qasmixer* 132.47 + rm -rf $fs/usr/share/man/ 132.48 + CAT="multimedia|Qt based ALSA mixer" 132.49 + DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg" 132.50 + ;; 132.51 + qastools) 132.52 + copy @std @rm 132.53 + DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer" 132.54 + ;; 132.55 + esac 132.56 }
133.1 --- a/qpdf-dev/receipt Thu Mar 01 20:46:32 2018 +0200 133.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 133.3 @@ -1,18 +0,0 @@ 133.4 -# SliTaz package receipt. 133.5 - 133.6 -PACKAGE="qpdf-dev" 133.7 -VERSION="6.0.0" 133.8 -CATEGORY="development" 133.9 -SHORT_DESC="QPDF devel files" 133.10 -MAINTAINER="mojo@slitaz.org" 133.11 -LICENSE="Artistic-2.0" 133.12 -WEB_SITE="http://qpdf.sourceforge.net/" 133.13 - 133.14 -WANTED="qpdf" 133.15 -DEPENDS="qpdf" 133.16 - 133.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 133.18 -genpkg_rules() 133.19 -{ 133.20 - copy *.h *.hh *.la *.pc 133.21 -}
134.1 --- a/qpdf/receipt Thu Mar 01 20:46:32 2018 +0200 134.2 +++ b/qpdf/receipt Fri Mar 02 03:33:54 2018 +0200 134.3 @@ -1,4 +1,4 @@ 134.4 -# SliTaz package receipt. 134.5 +# SliTaz package receipt v2. 134.6 134.7 PACKAGE="qpdf" 134.8 VERSION="6.0.0" 134.9 @@ -11,12 +11,10 @@ 134.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 134.11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 134.12 134.13 -DEPENDS="pcre zlib" 134.14 BUILD_DEPENDS="zlib-dev pcre-dev" 134.15 +SPLIT="qpdf-dev" 134.16 134.17 -# Rules to configure and make the package. 134.18 -compile_rules() 134.19 -{ 134.20 +compile_rules() { 134.21 ./configure \ 134.22 --disable-static \ 134.23 --docdir=/usr/share/doc/qpdf-$VERSION \ 134.24 @@ -24,8 +22,14 @@ 134.25 make && make install 134.26 } 134.27 134.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 134.29 -genpkg_rules() 134.30 -{ 134.31 - copy bin/ *.so* 134.32 +genpkg_rules() { 134.33 + case $PACKAGE in 134.34 + qpdf) 134.35 + copy bin/ *.so* 134.36 + DEPENDS="pcre zlib" 134.37 + ;; 134.38 + *-dev) 134.39 + copy *.h *.hh *.la *.pc 134.40 + ;; 134.41 + esac 134.42 }
135.1 --- a/qtkeychain-dev/receipt Thu Mar 01 20:46:32 2018 +0200 135.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 135.3 @@ -1,20 +0,0 @@ 135.4 -# SliTaz package receipt. 135.5 - 135.6 -PACKAGE="qtkeychain-dev" 135.7 -VERSION="0.5.0" 135.8 -CATEGORY="development" 135.9 -SHORT_DESC="Development files for qtkeychain" 135.10 -MAINTAINER="al.bobylev@gmail.com" 135.11 -LICENSE="BSD" 135.12 -WEB_SITE="https://github.com/frankosterfeld/qtkeychain" 135.13 - 135.14 -WANTED="qtkeychain" 135.15 -DEPENDS="qtkeychain" 135.16 - 135.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 135.18 -genpkg_rules() 135.19 -{ 135.20 - mkdir -p $fs/usr/lib 135.21 - cp -a $install/usr/include $fs/usr 135.22 - cp -a $install/usr/lib/cmake $fs/usr/lib 135.23 -}
136.1 --- a/qtkeychain/receipt Thu Mar 01 20:46:32 2018 +0200 136.2 +++ b/qtkeychain/receipt Fri Mar 02 03:33:54 2018 +0200 136.3 @@ -1,4 +1,4 @@ 136.4 -# SliTaz package receipt. 136.5 +# SliTaz package receipt v2. 136.6 136.7 PACKAGE="qtkeychain" 136.8 VERSION="0.5.0" 136.9 @@ -7,23 +7,27 @@ 136.10 MAINTAINER="al.bobylev@gmail.com" 136.11 LICENSE="BSD" 136.12 WEB_SITE="https://github.com/frankosterfeld/qtkeychain" 136.13 + 136.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 136.15 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 136.16 136.17 -DEPENDS="libQtDBus" 136.18 BUILD_DEPENDS="cmake Qt4-dev qmake" 136.19 +SPLIT="qtkeychain-dev" 136.20 136.21 -# Rules to configure and make the package. 136.22 -compile_rules() 136.23 -{ 136.24 +compile_rules() { 136.25 mkdir build; cd build 136.26 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 136.27 make && make install 136.28 } 136.29 136.30 -# Rules to gen a SliTaz package suitable for Tazpkg. 136.31 -genpkg_rules() 136.32 -{ 136.33 - mkdir -p $fs/usr/lib 136.34 - cp -a $install/usr/lib/*.so* $fs/usr/lib 136.35 +genpkg_rules() { 136.36 + case $PACKAGE in 136.37 + qtkeychain) 136.38 + copy @std 136.39 + DEPENDS="libQtDBus" 136.40 + ;; 136.41 + *-dev) 136.42 + copy @dev 136.43 + ;; 136.44 + esac 136.45 }
137.1 --- a/qupzilla-locales/receipt Thu Mar 01 20:46:32 2018 +0200 137.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 137.3 @@ -1,20 +0,0 @@ 137.4 -# SliTaz package receipt. 137.5 - 137.6 -PACKAGE="qupzilla-locales" 137.7 -VERSION="1.8.5" 137.8 -CATEGORY="localization" 137.9 -SHORT_DESC="Translations for the QupZilla browser" 137.10 -MAINTAINER="claudinei@slitaz.org" 137.11 -LICENSE="GPL3" 137.12 -WEB_SITE="http://qupzilla.com" 137.13 - 137.14 -DEPENDS="qupzilla" 137.15 -WANTED="qupzilla" 137.16 - 137.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 137.18 -genpkg_rules() 137.19 -{ 137.20 - p=usr/share/qupzilla 137.21 - mkdir -p $fs/$p 137.22 - cp -a $install/$p/locale $fs/$p 137.23 -}
138.1 --- a/qupzilla/receipt Thu Mar 01 20:46:32 2018 +0200 138.2 +++ b/qupzilla/receipt Fri Mar 02 03:33:54 2018 +0200 138.3 @@ -1,4 +1,4 @@ 138.4 -# SliTaz PACKAGE receipt. 138.5 +# SliTaz PACKAGE receipt v2. 138.6 138.7 PACKAGE="qupzilla" 138.8 VERSION="1.8.5" 138.9 @@ -7,31 +7,43 @@ 138.10 MAINTAINER="claudinei@slitaz.org" 138.11 LICENSE="GPL3" 138.12 WEB_SITE="https://github.com/QupZilla/qupzilla" 138.13 + 138.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 138.15 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 138.16 + 138.17 GENERIC_PIXMAPS="no" 138.18 -TAGS="web-browser" 138.19 138.20 -DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript libQtSql \ 138.21 -libQtXml openssl xorg-libX11 zlib cacerts xdg-utils libQtWebkit" 138.22 BUILD_DEPENDS="wget cacerts Qt4-dev qmake openssl-dev xorg-libX11-dev" 138.23 -SUGGESTED="libQtWebkit-video qupzilla-locales" 138.24 +SPLIT="qupzilla-locales" 138.25 138.26 -# Rules to configure and make the PACKAGE. 138.27 -compile_rules() 138.28 -{ 138.29 +compile_rules() { 138.30 qmake QupZilla.pro && 138.31 make && 138.32 make INSTALL_ROOT=$install install 138.33 } 138.34 -# Rules to gen a SliTaz PACKAGE suitable for Tazpkg. 138.35 -genpkg_rules() 138.36 -{ 138.37 - cp -a $install/* $fs 138.38 - rm -rf $fs/usr/share/bash-completion 138.39 - for size in 64 128 256; do 138.40 - rm -rf $fs/usr/share/icons/hicolor/${size}x$size 138.41 - done 138.42 - rm -rf $fs/usr/share/pixmaps 138.43 - rm -rf $fs/usr/share/qupzilla/locale 138.44 + 138.45 +genpkg_rules() { 138.46 + case $PACKAGE in 138.47 + qupzilla) 138.48 + cp -a $install/* $fs 138.49 + rm -rf $fs/usr/share/bash-completion 138.50 + for size in 64 128 256; do 138.51 + rm -rf $fs/usr/share/icons/hicolor/${size}x$size 138.52 + done 138.53 + rm -rf $fs/usr/share/pixmaps 138.54 + rm -rf $fs/usr/share/qupzilla/locale 138.55 + DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtScript \ 138.56 + libQtSql libQtXml openssl xorg-libX11 zlib cacerts xdg-utils \ 138.57 + libQtWebkit" 138.58 + SUGGESTED="libQtWebkit-video qupzilla-locales" 138.59 + TAGS="web-browser" 138.60 + ;; 138.61 + qupzilla-locales) 138.62 + p=usr/share/qupzilla 138.63 + mkdir -p $fs/$p 138.64 + cp -a $install/$p/locale $fs/$p 138.65 + CAT="localization|translations" 138.66 + DEPENDS="qupzilla" 138.67 + ;; 138.68 + esac 138.69 }
139.1 --- a/rtmpdump-dev/receipt Thu Mar 01 20:46:32 2018 +0200 139.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 139.3 @@ -1,21 +0,0 @@ 139.4 -# SliTaz package receipt. 139.5 - 139.6 -PACKAGE="rtmpdump-dev" 139.7 -VERSION="2.3" 139.8 -CATEGORY="development" 139.9 -SHORT_DESC="The rtmpdump devel files." 139.10 -MAINTAINER="pankso@slitaz.org" 139.11 -LICENSE="GPL2" 139.12 -WANTED="rtmpdump" 139.13 -WEB_SITE="http://rtmpdump.mplayerhq.hu/" 139.14 - 139.15 -DEPENDS="openssl-dev" 139.16 - 139.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 139.18 -genpkg_rules() 139.19 -{ 139.20 - mkdir -p $fs/usr/lib 139.21 - cp -a $install/usr/include $fs/usr 139.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 139.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 139.24 -}
140.1 --- a/rtmpdump/receipt Thu Mar 01 20:46:32 2018 +0200 140.2 +++ b/rtmpdump/receipt Fri Mar 02 03:33:54 2018 +0200 140.3 @@ -1,4 +1,4 @@ 140.4 -# SliTaz package receipt. 140.5 +# SliTaz package receipt v2. 140.6 140.7 PACKAGE="rtmpdump" 140.8 VERSION="2.3" 140.9 @@ -6,16 +6,15 @@ 140.10 SHORT_DESC="rtmpdump is a toolkit for RTMP streams" 140.11 MAINTAINER="pankso@slitaz.org" 140.12 LICENSE="GPL2" 140.13 +WEB_SITE="http://rtmpdump.mplayerhq.hu/" 140.14 + 140.15 TARBALL="$PACKAGE-$VERSION.tgz" 140.16 -WEB_SITE="http://rtmpdump.mplayerhq.hu/" 140.17 WGET_URL="http://rtmpdump.mplayerhq.hu/download/$TARBALL" 140.18 140.19 -DEPENDS="openssl" 140.20 BUILD_DEPENDS="openssl-dev zlib-dev" 140.21 +SPLIT="rtmpdump-dev" 140.22 140.23 -# Rules to configure and make the package. 140.24 -compile_rules() 140.25 -{ 140.26 +compile_rules() { 140.27 mkdir -p $DESTDIR/usr/lib 140.28 make && make \ 140.29 prefix="/usr" \ 140.30 @@ -24,10 +23,15 @@ 140.31 DESTDIR="$DESTDIR" install 140.32 } 140.33 140.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 140.35 -genpkg_rules() 140.36 -{ 140.37 - mkdir -p $fs/usr/lib 140.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 140.39 - cp -a $install/usr/bin $fs/usr 140.40 +genpkg_rules() { 140.41 + case $PACKAGE in 140.42 + rtmpdump) 140.43 + copy @std 140.44 + DEPENDS="openssl" 140.45 + ;; 140.46 + *-dev) 140.47 + copy @dev 140.48 + DEPENDS="rtmpdump openssl-dev" 140.49 + ;; 140.50 + esac 140.51 }
141.1 --- a/ruby-enterprise-doc/receipt Thu Mar 01 20:46:32 2018 +0200 141.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 141.3 @@ -1,19 +0,0 @@ 141.4 -# SliTaz package receipt. 141.5 - 141.6 -PACKAGE="ruby-enterprise-doc" 141.7 -VERSION="1.8.7-2012.02" 141.8 -CATEGORY="development" 141.9 -SHORT_DESC="Devel file for Ruby (to compile ruby-modules)." 141.10 -MAINTAINER="erjo@slitaz.org" 141.11 -LICENSE="GPL2" 141.12 -WEB_SITE="http://www.rubyenterpriseedition.com/" 141.13 -WANTED="ruby-enterprise" 141.14 - 141.15 -DEPENDS="ruby-enterprise" 141.16 - 141.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 141.18 -genpkg_rules() 141.19 -{ 141.20 - mkdir -p $fs/usr/lib/ruby/1.8 141.21 - cp -a $install/usr/lib/ruby/1.8/rdoc $fs/usr/lib/ruby/1.8/rdoc 141.22 -}
142.1 --- a/ruby-enterprise/receipt Thu Mar 01 20:46:32 2018 +0200 142.2 +++ b/ruby-enterprise/receipt Fri Mar 02 03:33:54 2018 +0200 142.3 @@ -1,4 +1,4 @@ 142.4 -# SliTaz package receipt. 142.5 +# SliTaz package receipt v2. 142.6 142.7 PACKAGE="ruby-enterprise" 142.8 VERSION="1.8.7-2012.02" 142.9 @@ -6,19 +6,15 @@ 142.10 SHORT_DESC="Ruby Enterprise Edition" 142.11 MAINTAINER="erjo@slitaz.org" 142.12 LICENSE="GPL2" 142.13 +WEB_SITE="http://www.rubyenterpriseedition.com/" 142.14 + 142.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 142.16 -WEB_SITE="http://www.rubyenterpriseedition.com/" 142.17 WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL" 142.18 -SUGGESTED="tk xorg-libXScrnSaver gdbm" 142.19 -PROVIDE="ruby" 142.20 -TAGS="ruby language programming" 142.21 142.22 -DEPENDS="libdb ncurses openssl readline zlib" 142.23 BUILD_DEPENDS="zlib-dev" 142.24 +SPLIT="ruby-enterprise-doc" 142.25 142.26 -# Rules to configure and make the package. 142.27 -compile_rules() 142.28 -{ 142.29 +compile_rules() { 142.30 cd $src/source 142.31 for i in ext/dl/mk*rb ; do 142.32 grep -q STDOUT.flush $i || echo "STDOUT.flush" >> $i 142.33 @@ -26,17 +22,29 @@ 142.34 ./configure $CONFIGURE_ARGS && make && make install 142.35 } 142.36 142.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 142.38 -genpkg_rules() 142.39 -{ 142.40 - mkdir -p $fs/usr/lib 142.41 - cp -a $install/usr/lib/ruby $fs/usr/lib 142.42 - cp -a $install/usr/bin $fs/usr 142.43 - 142.44 - # Remove devel files --> ruby-enterprise-dev 142.45 - rm $fs/usr/lib/ruby/1.8/i?86-linux/*.h 142.46 - 142.47 - # Remove doc --> ruby-enterprise-doc 142.48 - rm -rf $fs/usr/lib/ruby/1.8/rdoc 142.49 +genpkg_rules() { 142.50 + case $PACKAGE in 142.51 + ruby-enterprise) 142.52 + mkdir -p $fs/usr/lib 142.53 + cp -a $install/usr/lib/ruby $fs/usr/lib 142.54 + cp -a $install/usr/bin $fs/usr 142.55 + 142.56 + # Remove devel files --> ruby-enterprise-dev 142.57 + rm $fs/usr/lib/ruby/1.8/i?86-linux/*.h 142.58 + 142.59 + # Remove doc --> ruby-enterprise-doc 142.60 + rm -rf $fs/usr/lib/ruby/1.8/rdoc 142.61 + DEPENDS="libdb ncurses openssl readline zlib" 142.62 + PROVIDE="ruby" 142.63 + SUGGESTED="tk xorg-libXScrnSaver gdbm" 142.64 + TAGS="ruby language programming" 142.65 + ;; 142.66 + ruby-enterprise-doc) 142.67 + mkdir -p $fs/usr/lib/ruby/1.8 142.68 + cp -a $install/usr/lib/ruby/1.8/rdoc $fs/usr/lib/ruby/1.8/rdoc 142.69 + CAT="development|documentation" 142.70 + DEPENDS="ruby-enterprise" 142.71 + ;; 142.72 + esac 142.73 } 142.74
143.1 --- a/sox-dev/receipt Thu Mar 01 20:46:32 2018 +0200 143.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 143.3 @@ -1,22 +0,0 @@ 143.4 -# SliTaz package receipt. 143.5 - 143.6 -PACKAGE="sox-dev" 143.7 -VERSION="14.3.2" 143.8 -CATEGORY="development" 143.9 -SHORT_DESC="Swiss Army knife of sound processing programs development files." 143.10 -MAINTAINER="pascal.bellard@slitaz.org" 143.11 -LICENSE="GPL LGPL" 143.12 -WEB_SITE="http://sox.sourceforge.net/" 143.13 -HOST_ARCH="i486 arm" 143.14 - 143.15 -WANTED="sox" 143.16 - 143.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 143.18 -genpkg_rules() 143.19 -{ 143.20 - mkdir -p $fs/usr/lib/sox 143.21 - cp -a $install/usr/include $fs/usr 143.22 - cp -a $install/usr/lib/*a $fs/usr/lib 143.23 - #cp -a $install/usr/lib/sox/*a $fs/usr/lib 143.24 -} 143.25 -
144.1 --- a/sox/receipt Thu Mar 01 20:46:32 2018 +0200 144.2 +++ b/sox/receipt Fri Mar 02 03:33:54 2018 +0200 144.3 @@ -1,47 +1,56 @@ 144.4 -# SliTaz package receipt. 144.5 +# SliTaz package receipt v2. 144.6 144.7 PACKAGE="sox" 144.8 VERSION="14.3.2" 144.9 CATEGORY="multimedia" 144.10 -SHORT_DESC="Swiss Army knife of sound processing programs." 144.11 +SHORT_DESC="Swiss Army knife of sound processing programs" 144.12 MAINTAINER="pascal.bellard@slitaz.org" 144.13 LICENSE="GPL LGPL" 144.14 +WEB_SITE="http://sox.sourceforge.net/" 144.15 + 144.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 144.17 -WEB_SITE="http://sox.sourceforge.net/" 144.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 144.19 -HOST_ARCH="i486 arm" 144.20 144.21 -DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad libvorbis \ 144.22 -libpng16 lame libmagic libgomp libao ffmpeg libsndfile" 144.23 +BUILD_DEPENDS_arm="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \ 144.24 +libvorbis-dev libpng16-dev lame-dev libsamplerate-dev alsa-lib-dev \ 144.25 +libao-dev libogg-dev libmagic-dev" 144.26 BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \ 144.27 libvorbis-dev libpng16-dev lame-dev libsamplerate-dev alsa-lib-dev \ 144.28 -libao-dev libogg-dev libmagic-dev" 144.29 - 144.30 -# Handle SliTaz arch 144.31 -case "$SLITAZ_ARCH" in 144.32 - i?86) DEPENDS="$DEPENDS flac" 144.33 -esac 144.34 +libao-dev libogg-dev libmagic-dev flac-dev" 144.35 +SPLIT="sox-dev" 144.36 144.37 -# Handle cross compilation 144.38 -case "$ARCH" in 144.39 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" 144.40 -esac 144.41 - 144.42 -# Rules to configure and make the package. 144.43 -compile_rules() 144.44 -{ 144.45 +compile_rules() { 144.46 ./configure \ 144.47 --with-distro="SliTaz" \ 144.48 $CONFIGURE_ARGS && 144.49 make && make install 144.50 } 144.51 144.52 -# Rules to gen a SliTaz package suitable for Tazpkg. 144.53 -genpkg_rules() 144.54 -{ 144.55 - mkdir -p $fs/usr/lib/sox 144.56 - cp -a $install/usr/bin $fs/usr 144.57 - cp -a $install/usr/lib/*.so* $fs/usr/lib 144.58 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 144.59 +genpkg_rules() { 144.60 + case $PACKAGE in 144.61 + sox) 144.62 + mkdir -p $fs/usr/lib/sox 144.63 + cp -a $install/usr/bin $fs/usr 144.64 + cp -a $install/usr/lib/*.so* $fs/usr/lib 144.65 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 144.66 + case "$SLITAZ_ARCH" in 144.67 + arm*) 144.68 + DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad \ 144.69 + libvorbis libpng16 lame libmagic libgomp libao ffmpeg \ 144.70 + libsndfile" 144.71 + ;; 144.72 + *) 144.73 + DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad \ 144.74 + libvorbis libpng16 lame libmagic libgomp libao ffmpeg \ 144.75 + libsndfile flac" 144.76 + ;; 144.77 + esac 144.78 + ;; 144.79 + *-dev) 144.80 + mkdir -p $fs/usr/lib/sox 144.81 + cp -a $install/usr/include $fs/usr 144.82 + cp -a $install/usr/lib/*a $fs/usr/lib 144.83 + #cp -a $install/usr/lib/sox/*a $fs/usr/lib 144.84 + ;; 144.85 + esac 144.86 } 144.87 -
145.1 --- a/ssfs-server/receipt Thu Mar 01 20:46:32 2018 +0200 145.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 145.3 @@ -1,23 +0,0 @@ 145.4 -# SliTaz package receipt. 145.5 - 145.6 -PACKAGE="ssfs-server" 145.7 -VERSION="108" 145.8 -CATEGORY="network" 145.9 -SHORT_DESC="Ssfs server side tools." 145.10 -MAINTAINER="pankso@slitaz.org" 145.11 -LICENSE="BSD" 145.12 -WANTED="ssfs" 145.13 -WEB_SITE="http://ssfs.slitaz.org/" 145.14 - 145.15 -DEPENDS="ssfs ssfs-busybox openssh" 145.16 - 145.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 145.18 -genpkg_rules() 145.19 -{ 145.20 - mkdir -p $fs/usr/share 145.21 - cp -a $install/etc $fs 145.22 - cp -a $install/bin $fs 145.23 - cp -a $install/usr/sbin $fs/usr 145.24 - cp -a $install/usr/share/ssfs $fs/usr/share 145.25 - cp -a $install/var $fs 145.26 -}
146.1 --- a/ssfs/receipt Thu Mar 01 20:46:32 2018 +0200 146.2 +++ b/ssfs/receipt Fri Mar 02 03:33:54 2018 +0200 146.3 @@ -1,32 +1,42 @@ 146.4 -# SliTaz package receipt. 146.5 +# SliTaz package receipt v2. 146.6 146.7 PACKAGE="ssfs" 146.8 VERSION="108" 146.9 CATEGORY="network" 146.10 -SHORT_DESC="Ssfs is SliTaz Secure File Storage." 146.11 +SHORT_DESC="Ssfs is SliTaz Secure File Storage" 146.12 MAINTAINER="pankso@slitaz.org" 146.13 LICENSE="BSD" 146.14 WEB_SITE="http://ssfs.slitaz.org/" 146.15 -SUGGESTED="yad" 146.16 146.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 146.18 WGET_URL="http://hg.slitaz.org/ssfs/archive/$VERSION.tar.bz2" 146.19 146.20 -DEPENDS="rsync lsyncd" 146.21 +SPLIT="ssfs-server" 146.22 146.23 -# Rules to configure and make the package. 146.24 -compile_rules() 146.25 -{ 146.26 - cd $src 146.27 +compile_rules() { 146.28 make && make DESTDIR=$DESTDIR install 146.29 } 146.30 146.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 146.32 -genpkg_rules() 146.33 -{ 146.34 - mkdir -p $fs/usr/share 146.35 - cp -a $install/usr/bin $fs/usr 146.36 - cp -a $install/usr/share/applications $fs/usr/share 146.37 - cp -a $install/usr/share/locale $fs/usr/share 146.38 - cp -a $install/usr/share/doc $fs/usr/share 146.39 +genpkg_rules() { 146.40 + case $PACKAGE in 146.41 + ssfs) 146.42 + mkdir -p $fs/usr/share 146.43 + cp -a $install/usr/bin $fs/usr 146.44 + cp -a $install/usr/share/applications $fs/usr/share 146.45 + cp -a $install/usr/share/locale $fs/usr/share 146.46 + cp -a $install/usr/share/doc $fs/usr/share 146.47 + DEPENDS="rsync lsyncd" 146.48 + SUGGESTED="yad" 146.49 + ;; 146.50 + ssfs-server) 146.51 + mkdir -p $fs/usr/share 146.52 + cp -a $install/etc $fs 146.53 + cp -a $install/bin $fs 146.54 + cp -a $install/usr/sbin $fs/usr 146.55 + cp -a $install/usr/share/ssfs $fs/usr/share 146.56 + cp -a $install/var $fs 146.57 + CAT="network|server side tools" 146.58 + DEPENDS="ssfs ssfs-busybox openssh" 146.59 + ;; 146.60 + esac 146.61 }
147.1 --- a/stfl/receipt Thu Mar 01 20:46:32 2018 +0200 147.2 +++ b/stfl/receipt Fri Mar 02 03:33:54 2018 +0200 147.3 @@ -12,11 +12,9 @@ 147.4 WGET_URL="$WEB_SITE$TARBALL" 147.5 147.6 BUILD_DEPENDS="ncurses-dev swig python-dev" 147.7 -SPLIT="stfl-python stfl-dev" 147.8 +SPLIT="python-stfl stfl-dev" 147.9 147.10 -# Rules to configure and make the package. 147.11 -compile_rules() 147.12 -{ 147.13 +compile_rules() { 147.14 sed -i 's|/usr/local|/usr|' Makefile.cfg 147.15 sed -i 's|ncursesw/ncurses.h|ncurses.h|' stfl_internals.h 147.16 sed -i 's|^include Makefile.deps|-&|' Makefile 147.17 @@ -27,17 +25,16 @@ 147.18 ln -s libstfl.so.$VERSION $install/usr/lib/libstfl.so.0 147.19 } 147.20 147.21 -# Rules to gen a SliTaz package suitable for Tazpkg. 147.22 -genpkg_rules() 147.23 -{ 147.24 +genpkg_rules() { 147.25 case $PACKAGE in 147.26 stfl) 147.27 copy libstfl.so* 147.28 DEPENDS="ncurses" 147.29 ;; 147.30 - *-python) 147.31 + python-stfl) 147.32 copy python*/ 147.33 - DEPENDS="ncurses python" 147.34 + CAT="development|Python bindings" 147.35 + DEPENDS="ncurses python stfl" 147.36 ;; 147.37 *-dev) 147.38 copy @dev
148.1 --- a/sylpheed-dev/receipt Thu Mar 01 20:46:32 2018 +0200 148.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 148.3 @@ -1,20 +0,0 @@ 148.4 -# SliTaz package receipt. 148.5 - 148.6 -PACKAGE="sylpheed-dev" 148.7 -VERSION="3.5.1" 148.8 -CATEGORY="development" 148.9 -SHORT_DESC="Sylpheed devel files" 148.10 -MAINTAINER="pankso@slitaz.org" 148.11 -LICENSE="GPL2" 148.12 -WANTED="sylpheed" 148.13 -WEB_SITE="http://sylpheed.sraoss.jp/en/" 148.14 - 148.15 -DEPENDS="gtk+ openssl gpgme gnupg xorg-libXdamage" 148.16 - 148.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 148.18 -genpkg_rules() 148.19 -{ 148.20 - mkdir -p $fs/usr/lib 148.21 - cp -a $install/usr/include $fs/usr 148.22 - cp -a $install/usr/lib/*.*a $fs/usr/lib 148.23 -}
149.1 --- a/sylpheed/receipt Thu Mar 01 20:46:32 2018 +0200 149.2 +++ b/sylpheed/receipt Fri Mar 02 03:33:54 2018 +0200 149.3 @@ -1,4 +1,4 @@ 149.4 -# SliTaz package receipt. 149.5 +# SliTaz package receipt v2. 149.6 149.7 PACKAGE="sylpheed" 149.8 VERSION="3.5.1" 149.9 @@ -6,18 +6,15 @@ 149.10 SHORT_DESC="Simple, lightweight but featureful, and easy-to-use e-mail client" 149.11 MAINTAINER="pankso@slitaz.org" 149.12 LICENSE="GPL2" 149.13 +WEB_SITE="http://sylpheed.sraoss.jp/en/" 149.14 + 149.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 149.16 -WEB_SITE="http://sylpheed.sraoss.jp/en/" 149.17 WGET_URL="http://sylpheed.sraoss.jp/sylpheed/v${VERSION%.*}/$TARBALL" 149.18 -TAGS="mail internet" 149.19 149.20 -DEPENDS="gtk+ openssl libffi" 149.21 BUILD_DEPENDS="gtk+-dev openssl-dev" 149.22 +SPLIT="sylpheed-dev" 149.23 149.24 -# Rules to configure and make the package. 149.25 -compile_rules() 149.26 -{ 149.27 - cd $src 149.28 +compile_rules() { 149.29 ./configure \ 149.30 --disable-gtkspell \ 149.31 --disable-updatecheck \ 149.32 @@ -25,11 +22,21 @@ 149.33 make && make install 149.34 } 149.35 149.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 149.37 -genpkg_rules() 149.38 -{ 149.39 - mkdir -p $fs/usr/lib $fs/usr/share/applications 149.40 - cp -a $stuff/applications/sylpheed*.desktop $fs/usr/share/applications 149.41 - cp -a $install/usr/bin $fs/usr 149.42 - cp -a $install/usr/lib/*.so* $fs/usr/lib 149.43 +genpkg_rules() { 149.44 + case $PACKAGE in 149.45 + sylpheed) 149.46 + mkdir -p $fs/usr/lib $fs/usr/share/applications 149.47 + cp -a $stuff/applications/sylpheed*.desktop $fs/usr/share/applications 149.48 + cp -a $install/usr/bin $fs/usr 149.49 + cp -a $install/usr/lib/*.so* $fs/usr/lib 149.50 + DEPENDS="gtk+ openssl libffi" 149.51 + TAGS="mail internet" 149.52 + ;; 149.53 + *-dev) 149.54 + mkdir -p $fs/usr/lib 149.55 + cp -a $install/usr/include $fs/usr 149.56 + cp -a $install/usr/lib/*.*a $fs/usr/lib 149.57 + DEPENDS="gtk+ openssl gpgme gnupg xorg-libXdamage" 149.58 + ;; 149.59 + esac 149.60 }
150.1 --- a/udev-dev/receipt Thu Mar 01 20:46:32 2018 +0200 150.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 150.3 @@ -1,23 +0,0 @@ 150.4 -# SliTaz package receipt. 150.5 - 150.6 -PACKAGE="udev-dev" 150.7 -VERSION="182" 150.8 -CATEGORY="development" 150.9 -SHORT_DESC="Udev devel file (libudev)." 150.10 -MAINTAINER="pankso@slitaz.org" 150.11 -LICENSE="GPL2" 150.12 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" 150.13 -HOST_ARCH="i486 arm" 150.14 - 150.15 -WANTED="udev" 150.16 -DEPENDS="udev pkg-config" 150.17 - 150.18 -# Rules to gen a SliTaz package suitable for Tazpkg. 150.19 -genpkg_rules() 150.20 -{ 150.21 - mkdir -p $fs/lib $fs/usr/lib/pkgconfig $fs/usr/include 150.22 - cp -a $install/lib/libudev*a $fs/lib 150.23 - cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig 150.24 - cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig 150.25 - cp -a $install/usr/include/libudev.h $fs/usr/include 150.26 -}
151.1 --- a/udev/receipt Thu Mar 01 20:46:32 2018 +0200 151.2 +++ b/udev/receipt Fri Mar 02 03:33:54 2018 +0200 151.3 @@ -1,42 +1,35 @@ 151.4 -# SliTaz package receipt. 151.5 +# SliTaz package receipt v2. 151.6 151.7 PACKAGE="udev" 151.8 VERSION="182" 151.9 -BUILD_WARNING="Install new udev package and rebuild hal" 151.10 CATEGORY="base-system" 151.11 -SHORT_DESC="Udev creat automaticly right devices in /dev." 151.12 +SHORT_DESC="Udev creat automaticly right devices in /dev" 151.13 MAINTAINER="pankso@slitaz.org" 151.14 LICENSE="GPL2" 151.15 WEB_SITE="https://www.freedesktop.org/software/systemd/man/udev.html" 151.16 HOST_ARCH="i486 arm" 151.17 +BUILD_WARNING="Install new udev package and rebuild hal" 151.18 151.19 TARBALL="$PACKAGE-$VERSION.tar.xz" 151.20 WGET_URL="https://www.kernel.org/pub/linux/utils/kernel/hotplug/$TARBALL" 151.21 151.22 -DEPENDS="util-linux-blkid pciids usbids acl kmod" 151.23 +BUILD_DEPENDS_arm="util-linux-blkid-dev kmod-dev acl-dev glib-dev" 151.24 BUILD_DEPENDS="util-linux-blkid-dev gperf pkg-config pciids acl-dev \ 151.25 usbutils-dev libusb-dev glib-dev pciids usbids kmod-dev \ 151.26 libgudev-dev pcre-dev xz-dev util-linux-uuid-dev" 151.27 +SPLIT="udev-dev" 151.28 151.29 -# Use build host: gperf 151.30 -case "$ARCH" in 151.31 - arm*) BUILD_DEPENDS="util-linux-blkid-dev kmod-dev acl-dev glib-dev" 151.32 -esac 151.33 - 151.34 -# Rules to configure and make the package. 151.35 -compile_rules() 151.36 -{ 151.37 +compile_rules() { 151.38 case "$ARCH" in 151.39 - arm*) 151.40 - # ARM Hack 151.41 - for la in libgthread-2.0.la libglib-2.0.la 151.42 - do 151.43 - if grep -q "^libdir='/usr/lib'" /usr/lib/${la}; then 151.44 + arm*) # ARM Hack 151.45 + for la in libgthread-2.0.la libglib-2.0.la; do 151.46 + if grep -q "^libdir='/usr/lib'" /usr/lib/$la; then 151.47 sed -i s"#/usr/lib#/cross/$ARCH/sysroot/usr/lib#" \ 151.48 - /usr/lib/${la} 151.49 - fi 151.50 + /usr/lib/$la 151.51 + fi 151.52 done ;; 151.53 esac 151.54 + 151.55 sed -i 's/.*mtd-user.*/&\n#include <stdint.h>/' src/mtd_probe/mtd_probe.h 151.56 export LDFLAGS="$LDFLAGS -lrt" 151.57 ./configure \ 151.58 @@ -57,50 +50,59 @@ 151.59 make && make install 151.60 } 151.61 151.62 -# Rules to gen a SliTaz package suitable for Tazpkg. 151.63 -genpkg_rules() 151.64 -{ 151.65 - mkdir -p $fs/lib/firmware 151.66 +genpkg_rules() { 151.67 + case $PACKAGE in 151.68 + udev) 151.69 + mkdir -p $fs/lib/firmware 151.70 151.71 - cp -a $install/sbin $fs 151.72 - cp -a $install/etc $fs 151.73 - cp -a $install/lib/libudev*so* $fs/lib 151.74 - cp -a $install/lib/udev $fs/lib 151.75 + cp -a $install/sbin $fs 151.76 + cp -a $install/etc $fs 151.77 + cp -a $install/lib/libudev*so* $fs/lib 151.78 + cp -a $install/lib/udev $fs/lib 151.79 151.80 - # Have udevd in PATH 151.81 - mv $fs/lib/udev/udevd $fs/sbin 151.82 + # Have udevd in PATH 151.83 + mv $fs/lib/udev/udevd $fs/sbin 151.84 151.85 - # Copy rules files to udev conf dir 151.86 - mv -f $fs/lib/udev/rules.d $fs/etc/udev 151.87 - cp $stuff/udev.conf $fs/etc/udev 151.88 - cp $stuff/*.rules $fs/etc/udev/rules.d 151.89 + # Copy rules files to udev conf dir 151.90 + mv -f $fs/lib/udev/rules.d $fs/etc/udev 151.91 + cp $stuff/udev.conf $fs/etc/udev 151.92 + cp $stuff/*.rules $fs/etc/udev/rules.d 151.93 151.94 - # Create some devices and directories that Udev cannot handle 151.95 - # due to them being required very early in the boot process 151.96 - mkdir -p $fs/lib/udev/devices/pts 151.97 - mkdir -p $fs/lib/udev/devices/shm 151.98 - mknod -m 0666 $fs/lib/udev/devices/null c 1 3 151.99 + # Create some devices and directories that Udev cannot handle 151.100 + # due to them being required very early in the boot process 151.101 + mkdir -p $fs/lib/udev/devices/pts 151.102 + mkdir -p $fs/lib/udev/devices/shm 151.103 + mknod -m 0666 $fs/lib/udev/devices/null c 1 3 151.104 151.105 - # Fix permissions 151.106 - chmod +x $fs/lib/udev/* 151.107 - chown -R root.root $fs 151.108 + # Fix permissions 151.109 + chmod +x $fs/lib/udev/* 151.110 + chown -R root.root $fs 151.111 + DEPENDS="util-linux-blkid pciids usbids acl kmod" 151.112 + ;; 151.113 + *-dev) 151.114 + mkdir -p $fs/lib $fs/usr/lib/pkgconfig $fs/usr/include 151.115 + cp -a $install/lib/libudev*a $fs/lib 151.116 + cp -a $install/lib/pkgconfig/libudev.pc $fs/usr/lib/pkgconfig 151.117 + cp -a $install/usr/share/pkgconfig/* $fs/usr/lib/pkgconfig 151.118 + cp -a $install/usr/include/libudev.h $fs/usr/include 151.119 + ;; 151.120 + esac 151.121 } 151.122 151.123 -list_udev_group() 151.124 -{ 151.125 - object=${2:-GROUP} 151.126 - grep $object "$1/etc/udev/rules.d/"* | \ 151.127 - sed "s|.*$object=\"\([a-zA-Z0-9]*\)\".*|\1|" | sort | uniq 151.128 -} 151.129 - 151.130 -post_install() 151.131 -{ 151.132 +post_install_udev() { 151.133 # Sanity check for udev+ldap boot 151.134 - list_udev_group "$1" GROUP | \ 151.135 - while read x; do 151.136 + grep GROUP "$1/etc/udev/rules.d/"* \ 151.137 + | sed "s|.*$object=\"\([a-zA-Z0-9]*\)\".*|\1|" \ 151.138 + | sort \ 151.139 + | uniq \ 151.140 + | while read x; do 151.141 grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x 151.142 done 151.143 - list_udev_group "$1" OWNER | \ 151.144 + 151.145 + grep OWNER "$1/etc/udev/rules.d/"* \ 151.146 + | sed "s|.*$object=\"\([a-zA-Z0-9]*\)\".*|\1|" \ 151.147 + | sort \ 151.148 + | uniq \ 151.149 while read x; do 151.150 grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x 151.151 done
152.1 --- a/vanessa_socket-dev/receipt Thu Mar 01 20:46:32 2018 +0200 152.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 152.3 @@ -1,21 +0,0 @@ 152.4 -# SliTaz package receipt. 152.5 - 152.6 -PACKAGE="vanessa_socket-dev" 152.7 -VERSION="0.0.12" 152.8 -CATEGORY="development" 152.9 -SHORT_DESC="Simplifies TCP/IP socket operations, development files." 152.10 -MAINTAINER="pascal.bellard@slitaz.org" 152.11 -LICENSE="LGPL2.1" 152.12 -WEB_SITE="http://www.vergenet.net/linux/vanessa" 152.13 -WANTED="vanessa_socket" 152.14 - 152.15 -DEPENDS="vanessa_socket pkg-config" 152.16 - 152.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 152.18 -genpkg_rules() 152.19 -{ 152.20 - mkdir -p $fs/usr/lib 152.21 - cp -a $install/usr/include $fs/usr 152.22 - cp -a $install/usr/lib/*a $fs/usr/lib 152.23 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 152.24 -}
153.1 --- a/vanessa_socket/receipt Thu Mar 01 20:46:32 2018 +0200 153.2 +++ b/vanessa_socket/receipt Fri Mar 02 03:33:54 2018 +0200 153.3 @@ -1,31 +1,37 @@ 153.4 -# SliTaz package receipt. 153.5 +# SliTaz package receipt v2. 153.6 153.7 PACKAGE="vanessa_socket" 153.8 VERSION="0.0.12" 153.9 CATEGORY="network" 153.10 -SHORT_DESC="Simplifies TCP/IP socket operations." 153.11 +SHORT_DESC="Simplifies TCP/IP socket operations" 153.12 MAINTAINER="pascal.bellard@slitaz.org" 153.13 LICENSE="LGPL2.1" 153.14 +WEB_SITE="http://www.vergenet.net/linux/vanessa" 153.15 + 153.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 153.17 -WEB_SITE="http://www.vergenet.net/linux/vanessa" 153.18 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" 153.19 153.20 -DEPENDS="vanessa_logger popt" 153.21 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev" 153.22 +SPLIT="vanessa_socket-dev" 153.23 153.24 -# Rules to configure and make the package. 153.25 -compile_rules() 153.26 -{ 153.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 153.28 - --mandir=/usr/share/man $CONFIGURE_ARGS 153.29 - make 153.30 +compile_rules() { 153.31 + ./configure \ 153.32 + --prefix=/usr \ 153.33 + --infodir=/usr/share/info \ 153.34 + --mandir=/usr/share/man \ 153.35 + $CONFIGURE_ARGS && 153.36 + make && 153.37 make DESTDIR=$DESTDIR install 153.38 } 153.39 153.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 153.41 -genpkg_rules() 153.42 -{ 153.43 - mkdir -p $fs/usr/lib 153.44 - cp -a $install/usr/bin $fs/usr 153.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 153.46 +genpkg_rules() { 153.47 + case $PACKAGE in 153.48 + vanessa_socket) 153.49 + copy @std 153.50 + DEPENDS="vanessa_logger popt" 153.51 + ;; 153.52 + *-dev) 153.53 + copy @dev 153.54 + ;; 153.55 + esac 153.56 }
154.1 --- a/waterline-dev/receipt Thu Mar 01 20:46:32 2018 +0200 154.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 154.3 @@ -1,21 +0,0 @@ 154.4 -# SliTaz package receipt. 154.5 - 154.6 -PACKAGE="waterline-dev" 154.7 -VERSION="ed8ddef" 154.8 -CATEGORY="x-window" 154.9 -SHORT_DESC="A lightweight framework for desktop widgets and applets. dev files." 154.10 -MAINTAINER="psychomaniak@xakep.ru" 154.11 -LICENSE="GPL2" 154.12 -WEB_SITE="http://git.make-linux.org/sde/waterline.git" 154.13 -WANTED="waterline" 154.14 - 154.15 -DEPENDS="waterline libsde-utils-jansson libsde-utils-x11" 154.16 - 154.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 154.18 -genpkg_rules() 154.19 -{ 154.20 - mkdir -p $fs/usr/lib/waterline/internals 154.21 - cp -a $install/usr/include $fs/usr 154.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 154.23 - cp -a $install/usr/lib/waterline/internals/*.la $fs/usr/lib/waterline/internals 154.24 -}
155.1 --- a/waterline/receipt Thu Mar 01 20:46:32 2018 +0200 155.2 +++ b/waterline/receipt Fri Mar 02 03:33:54 2018 +0200 155.3 @@ -1,4 +1,4 @@ 155.4 -# SliTaz package receipt. 155.5 +# SliTaz package receipt v2. 155.6 155.7 PACKAGE="waterline" 155.8 VERSION="ed8ddef" 155.9 @@ -7,19 +7,17 @@ 155.10 MAINTAINER="psychomaniak@xakep.ru" 155.11 LICENSE="GPL2" 155.12 WEB_SITE="http://git.make-linux.org/sde/waterline.git" 155.13 + 155.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 155.15 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL" 155.16 -TAGS="desktop panel taskbar" 155.17 155.18 -DEPENDS="libsde-utils-jansson libsde-utils-x11" 155.19 BUILD_DEPENDS="automake autoconf intltool libtool gtk+-dev jansson-dev \ 155.20 libsde-utils libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \ 155.21 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xorg-dev gettext" 155.22 # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev 155.23 +SPLIT="waterline-dev" 155.24 155.25 -# Rules to configure and make the package. 155.26 -compile_rules() 155.27 -{ 155.28 +compile_rules() { 155.29 rm -rf $src/.git 155.30 sed 's/lxsession-logout/tazbox logout/' -i src/defaultapplications.c 155.31 ./autogen.sh || return 1 155.32 @@ -36,18 +34,29 @@ 155.33 make install 155.34 } 155.35 155.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 155.37 -genpkg_rules() 155.38 -{ 155.39 - cp -a $install/* $fs 155.40 - mkdir -p $fs/etc/xdg/autostart 155.41 - cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT 155.42 +genpkg_rules() { 155.43 + case $PACKAGE in 155.44 + waterline) 155.45 + cp -a $install/* $fs 155.46 + mkdir -p $fs/etc/xdg/autostart 155.47 + cat > $fs/etc/xdg/autostart/waterline.desktop <<EOT 155.48 [Desktop Entry] 155.49 Type=Application 155.50 Name=Waterline Desktop panel 155.51 Exec=waterline 155.52 EOT 155.53 - rm -rf $fs/usr/include 155.54 - rm -rf $fs/usr/lib/pkgconfig 155.55 - rm -r $fs/usr/lib/waterline/internals/*.la 155.56 + rm -rf $fs/usr/include 155.57 + rm -rf $fs/usr/lib/pkgconfig 155.58 + rm -r $fs/usr/lib/waterline/internals/*.la 155.59 + DEPENDS="libsde-utils-jansson libsde-utils-x11" 155.60 + TAGS="desktop panel taskbar" 155.61 + ;; 155.62 + *-dev) 155.63 + mkdir -p $fs/usr/lib/waterline/internals 155.64 + cp -a $install/usr/include $fs/usr 155.65 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 155.66 + cp -a $install/usr/lib/waterline/internals/*.la $fs/usr/lib/waterline/internals 155.67 + DEPENDS="waterline libsde-utils-jansson libsde-utils-x11" 155.68 + ;; 155.69 + esac 155.70 }
156.1 --- a/wine-dev/receipt Thu Mar 01 20:46:32 2018 +0200 156.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 156.3 @@ -1,19 +0,0 @@ 156.4 -# SliTaz package receipt. 156.5 - 156.6 -PACKAGE="wine-dev" 156.7 -VERSION="1.7.16" 156.8 -CATEGORY="system-tools" 156.9 -SHORT_DESC="Windows API for Linux development files." 156.10 -MAINTAINER="pascal.bellard@slitaz.org" 156.11 -LICENSE="LGPL2.1" 156.12 -WEB_SITE="http://www.winehq.org/" 156.13 -WANTED="wine" 156.14 - 156.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 156.16 -genpkg_rules() 156.17 -{ 156.18 - mkdir -p $fs/usr/lib/wine $fs/usr/share 156.19 - cp -a $install/usr/include $fs/usr 156.20 - cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 156.21 - cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 156.22 -}
157.1 --- a/wine/receipt Thu Mar 01 20:46:32 2018 +0200 157.2 +++ b/wine/receipt Fri Mar 02 03:33:54 2018 +0200 157.3 @@ -1,48 +1,58 @@ 157.4 -# SliTaz package receipt. 157.5 +# SliTaz package receipt v2. 157.6 157.7 PACKAGE="wine" 157.8 VERSION="2.5" 157.9 CATEGORY="misc" 157.10 -SHORT_DESC="Windows API for Linux." 157.11 +SHORT_DESC="Windows API for Linux" 157.12 MAINTAINER="pascal.bellard@slitaz.org" 157.13 LICENSE="LGPL2.1" 157.14 +WEB_SITE="http://www.winehq.org/" 157.15 + 157.16 TARBALL="$PACKAGE-$VERSION.tar.xz" 157.17 -WEB_SITE="http://www.winehq.org/" 157.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 157.19 -TAGS="windows emulator" # wine is not an emulator 157.20 157.21 -DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype" 157.22 BUILD_DEPENDS="alsa-lib-dev flex bison mesa-dev freetype-dev libtool \ 157.23 libglu-mesa-dev libxml2-dev libxslt-dev lcms-dev prelink cups-dev dbus-dev \ 157.24 -jpeg-dev libpng16-dev libv4l-dev gnutls-dev libgphoto2-dev xorg-dev zlib-dev " 157.25 +jpeg-dev libpng16-dev libv4l-dev gnutls-dev libgphoto2-dev xorg-dev zlib-dev" 157.26 +SPLIT="wine-dev" 157.27 157.28 -# Rules to configure and make the package. 157.29 -compile_rules() 157.30 -{ 157.31 +compile_rules() { 157.32 ./configure $CONFIGURE_ARGS && 157.33 make $MAKEFLAGS && make install 157.34 } 157.35 157.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 157.37 -genpkg_rules() 157.38 -{ 157.39 - mkdir -p $fs/usr/share 157.40 - cp -a $install/usr/bin $fs/usr 157.41 - cp -a $install/usr/lib $fs/usr 157.42 - cp -a $install/usr/share/wine $fs/usr/share 157.43 +genpkg_rules() { 157.44 + case $PACKAGE in 157.45 + wine) 157.46 + mkdir -p $fs/usr/share 157.47 + cp -a $install/usr/bin $fs/usr 157.48 + cp -a $install/usr/lib $fs/usr 157.49 + cp -a $install/usr/share/wine $fs/usr/share 157.50 + DEPENDS="alsa-lib libxml2 libxslt mesa libglu-mesa lcms freetype" 157.51 + TAGS="windows" 157.52 + ;; 157.53 + *-dev) 157.54 + mkdir -p $fs/usr/lib/wine $fs/usr/share 157.55 + cp -a $install/usr/include $fs/usr 157.56 + cp -a $install/usr/lib/wine/*.a $fs/usr/lib/wine 157.57 + cp -a $install/usr/lib/wine/*.def* $fs/usr/lib/wine 157.58 + ;; 157.59 + esac 157.60 } 157.61 157.62 -post_install() 157.63 -{ 157.64 +post_install_wine() { 157.65 [ "$1" ] || modprobe snd-seq 2>/dev/null 157.66 157.67 # Enable unicode filenames and localized keyboard layouts input 157.68 . "$1/etc/locale.conf" 157.69 case $LANG in 157.70 - (C|POSIX|*UTF-8) echo $LANG - skip modifying /etc/locale.conf ;; 157.71 - (*) 157.72 - echo "$LANG changed to ${LANG}.UTF-8 in /etc/locale.conf" 157.73 - echo "Restart/ReLogin required." 157.74 - sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" ;; 157.75 + C|POSIX|*UTF-8) 157.76 + echo "$LANG - skip modifying /etc/locale.conf" 157.77 + ;; 157.78 + *) 157.79 + echo "$LANG changed to $LANG.UTF-8 in /etc/locale.conf" 157.80 + echo "Restart/ReLogin required." 157.81 + sed -i 's/$/&.UTF-8/' "$1/etc/locale.conf" 157.82 + ;; 157.83 esac 157.84 }
158.1 --- a/xfprint-dev/receipt Thu Mar 01 20:46:32 2018 +0200 158.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 158.3 @@ -1,22 +0,0 @@ 158.4 -# SliTaz package receipt. 158.5 - 158.6 -PACKAGE="xfprint-dev" 158.7 -VERSION="4.6.1" 158.8 -CATEGORY="development" 158.9 -SHORT_DESC="Xfce Printer manager dev files" 158.10 -MAINTAINER="erjo@slitaz.org" 158.11 -LICENSE="GPL2" 158.12 -WANTED="xfprint" 158.13 -WEB_SITE="http://www.xfce.org" 158.14 - 158.15 -DEPENDS="xfprint" 158.16 - 158.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 158.18 -genpkg_rules() 158.19 -{ 158.20 - mkdir -p $fs/usr/lib/xfce4/xfprint-plugins 158.21 - 158.22 - cp -a $install/usr/include $fs/usr 158.23 - cp -a $install/usr/lib/xfce4/xfprint-plugins/*.*a $fs/usr/lib/xfce4/xfprint-plugins 158.24 - cp -a $install/usr/lib/*.*a $fs/usr/lib 158.25 -}
159.1 --- a/xfprint/receipt Thu Mar 01 20:46:32 2018 +0200 159.2 +++ b/xfprint/receipt Fri Mar 02 03:33:54 2018 +0200 159.3 @@ -1,4 +1,4 @@ 159.4 -# SliTaz package receipt. 159.5 +# SliTaz package receipt v2. 159.6 159.7 PACKAGE="xfprint" 159.8 VERSION="4.6.1" 159.9 @@ -6,38 +6,34 @@ 159.10 SHORT_DESC="Xfce Printer manager" 159.11 MAINTAINER="erjo@slitaz.org" 159.12 LICENSE="GPL2" 159.13 +WEB_SITE="http://www.xfce.org" 159.14 + 159.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 159.16 -WEB_SITE="http://www.xfce.org" 159.17 WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL" 159.18 159.19 -DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \ 159.20 -libcomerr3 util-linux-uuid" 159.21 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \ 159.22 - dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev" 159.23 +dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev" 159.24 +SPLIT="xfprint-dev" 159.25 159.26 -# Rules to configure and make the package. 159.27 -compile_rules() 159.28 -{ 159.29 - cd $src 159.30 +compile_rules() { 159.31 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch 159.32 - ./configure --prefix=/usr $CONFIGURE_ARGS && \ 159.33 + ./configure \ 159.34 + --prefix=/usr \ 159.35 + $CONFIGURE_ARGS && 159.36 make && make DESTDIR=$DESTDIR install 159.37 } 159.38 159.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 159.40 -genpkg_rules() 159.41 -{ 159.42 - mkdir -p $fs/usr 159.43 - 159.44 - cp -a $install/usr/bin $fs/usr 159.45 - cp -a $install/usr/lib $fs/usr 159.46 - 159.47 - # Remove unecessary files 159.48 - find $fs/ -name "*.*a" -exec rm -f {} \; 159.49 - rm -rf $fs/usr/lib/pkgconfig 159.50 - # Remove SVG icons 159.51 - rm -rf $fs/usr/share/icons/hicolor/scalable 159.52 - 159.53 - 159.54 +genpkg_rules() { 159.55 + case $PACKAGE in 159.56 + xfprint) 159.57 + copy @std 159.58 + # Remove SVG icons 159.59 + rm -rf $fs/usr/share/icons/hicolor/scalable 159.60 + DEPENDS="libxfcegui4 libxfce4util cups dbus-glib \ 159.61 + startup-notification libcomerr3 util-linux-uuid" 159.62 + ;; 159.63 + *-dev) 159.64 + copy @dev 159.65 + ;; 159.66 + esac 159.67 } 159.68 -
160.1 --- a/xfwm4-themes/receipt Thu Mar 01 20:46:32 2018 +0200 160.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 160.3 @@ -1,23 +0,0 @@ 160.4 -# SliTaz package receipt. 160.5 - 160.6 -PACKAGE="xfwm4-themes" 160.7 -VERSION="4.11.1" 160.8 -CATEGORY="customization" 160.9 -SHORT_DESC="xfwm4 additionnal themes" 160.10 -MAINTAINER="erjo@slitaz.org" 160.11 -LICENSE="GPL2" 160.12 -WANTED="xfwm4" 160.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 160.14 -WEB_SITE="http://www.xfce.org/" 160.15 -HOST_ARCH="any" 160.16 - 160.17 -DEPENDS="xfwm4" 160.18 -BUILD_DEPENDS="" 160.19 - 160.20 -# Rules to gen a SliTaz package suitable for Tazpkg. 160.21 -genpkg_rules() 160.22 -{ 160.23 - mkdir -p $fs/usr/share 160.24 - cp -a $install/usr/share/themes $fs/usr/share 160.25 -} 160.26 -
161.1 --- a/xfwm4/receipt Thu Mar 01 20:46:32 2018 +0200 161.2 +++ b/xfwm4/receipt Fri Mar 02 03:33:54 2018 +0200 161.3 @@ -15,6 +15,7 @@ 161.4 xorg-libXext-dev gtk+-dev libxfce4util-dev libxfce4ui-dev libwnck2-dev \ 161.5 libdrm-dev xorg-libXrandr-dev xorg-libXcomposite-dev xorg-libXfixes-dev \ 161.6 xorg-libXdamage-dev" 161.7 +SPLIT="xfwm4-themes xfwm4" 161.8 161.9 compile_rules() { 161.10 ./configure \ 161.11 @@ -27,10 +28,19 @@ 161.12 } 161.13 161.14 genpkg_rules() { 161.15 - copy @std 161.16 - DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf glib gtk+ \ 161.17 - libwnck2 libxfce4ui libxfce4util pango startup-notification xfconf \ 161.18 - xorg-libICE xorg-libSM xorg-libX11 xorg-libXcomposite xorg-libXdamage \ 161.19 - xorg-libXext xorg-libXfixes xorg-libXrandr xorg-libXrender" 161.20 - TAGS="Xfce window-manager" 161.21 + case $PACKAGE in 161.22 + xfwm4-themes) 161.23 + copy themes/ 161.24 + DEPENDS="xfwm4" 161.25 + ;; 161.26 + xfwm4) 161.27 + copy @std @rm 161.28 + DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \ 161.29 + glib gtk+ libwnck2 libxfce4ui libxfce4util pango \ 161.30 + startup-notification xfconf xorg-libICE xorg-libSM xorg-libX11 \ 161.31 + xorg-libXcomposite xorg-libXdamage xorg-libXext xorg-libXfixes \ 161.32 + xorg-libXrandr xorg-libXrender" 161.33 + TAGS="Xfce window-manager" 161.34 + ;; 161.35 + esac 161.36 }
162.1 --- a/xplc-dev/receipt Thu Mar 01 20:46:32 2018 +0200 162.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 162.3 @@ -1,21 +0,0 @@ 162.4 -# SliTaz package receipt. 162.5 - 162.6 -PACKAGE="xplc-dev" 162.7 -VERSION="0.3.13" 162.8 -CATEGORY="development" 162.9 -SHORT_DESC="xplc development files." 162.10 -MAINTAINER="jozee@slitaz.org" 162.11 -LICENSE="LGPL2.1" 162.12 -WEB_SITE="http://xplc.sourceforge.net" 162.13 -WANTED="xplc" 162.14 - 162.15 -DEPENDS="pkg-config" 162.16 - 162.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 162.18 -genpkg_rules() 162.19 -{ 162.20 - mkdir -p $fs/usr/lib/$WANTED-$VERSION 162.21 - cp -a $install/usr/include $fs/usr 162.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 162.23 - cp -a $install/usr/lib/$WANTED-$VERSION/*.a $fs/usr/lib/$WANTED-$VERSION/ 162.24 -}
163.1 --- a/xplc/receipt Thu Mar 01 20:46:32 2018 +0200 163.2 +++ b/xplc/receipt Fri Mar 02 03:33:54 2018 +0200 163.3 @@ -1,36 +1,37 @@ 163.4 -# SliTaz package receipt. 163.5 +# SliTaz package receipt v2. 163.6 163.7 PACKAGE="xplc" 163.8 VERSION="0.3.13" 163.9 CATEGORY="network" 163.10 +SHORT_DESC="Cross-Platform Lightweight Components" 163.11 MAINTAINER="jozee@slitaz.org" 163.12 LICENSE="LGPL2.1" 163.13 -SHORT_DESC="Cross-Platform Lightweight Components" 163.14 WEB_SITE="http://xplc.sourceforge.net" 163.15 + 163.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 163.17 WGET_URL="$SF_MIRROR/xplc/$TARBALL" 163.18 -TAGS="" 163.19 163.20 -DEPENDS="gcc-lib-base" 163.21 -BUILD_DEPENDS="" 163.22 - 163.23 -# Rules to configure and make the package. 163.24 +SPLIT="xplc-dev" 163.25 163.26 compile_rules() { 163.27 - cd $src 163.28 - ./configure --prefix=/usr --mandir=/usr/share/man \ 163.29 - --without-libuuid $CONFIGURE_ARGS && 163.30 - make && 163.31 - make DESTDIR=$DESTDIR install 163.32 + ./configure \ 163.33 + --prefix=/usr \ 163.34 + --mandir=/usr/share/man \ 163.35 + --without-libuuid \ 163.36 + $CONFIGURE_ARGS && 163.37 + make && 163.38 + make DESTDIR=$DESTDIR install 163.39 +} 163.40 163.41 +genpkg_rules() { 163.42 + case $PACKAGE in 163.43 + xplc) 163.44 + copy @std 163.45 + rm -f $fs/usr/bin/uuidgen 163.46 + DEPENDS="gcc-lib-base" 163.47 + ;; 163.48 + *-dev) 163.49 + copy @dev 163.50 + ;; 163.51 + esac 163.52 } 163.53 - 163.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 163.55 -genpkg_rules() 163.56 -{ 163.57 - mkdir -p $fs/usr/lib/$PACKAGE-$VERSION 163.58 - cp -a $install/usr/bin $fs/usr 163.59 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 163.60 - cp -a $install/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION 163.61 - rm -f $fs/usr/bin/uuidgen 163.62 -}