# HG changeset patch # User Aleksej Bobylev # Date 1520444624 -7200 # Node ID 4396aed7eb01449455b7baef586cd6f6d46e1341 # Parent e323d0535e2c5c42a90de8a24957435187b84d85 Combine receipts (final) diff -r e323d0535e2c -r 4396aed7eb01 atftp/receipt --- a/atftp/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/atftp/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,35 +1,46 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="atftp" VERSION="0.7" CATEGORY="network" -SHORT_DESC="Advanced Trivial File Transport Protocol client." +SHORT_DESC="Advanced Trivial File Transport Protocol" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://freshmeat.net/projects/atftp/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" -DEPENDS="ncurses readline" BUILD_DEPENDS="pcre-dev readline-dev" +SPLIT="atftpd" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \ -e 's/^_*argz_next/__NTH(&/' argz.h sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c sed -i 's/D_REENTRANT/& -std=gnu89/' configure* - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + case $PACKAGE in + atftp) + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + CAT="network|client" + DEPENDS="ncurses readline" + ;; + atftpd) + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr + CAT="network|server" + DEPENDS="pcre" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 atftpd/receipt --- a/atftpd/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="atftpd" -VERSION="0.7" -CATEGORY="network" -SHORT_DESC="Advanced Trivial File Transport Protocol server." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://freshmeat.net/projects/atftp/" -WANTED="atftp" - -DEPENDS="pcre" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 boinc-dev/receipt --- a/boinc-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="boinc-dev" -VERSION="6.10.58" -CATEGORY="development" -SHORT_DESC="BOINC devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL3" -WANTED="boinc" -WEB_SITE="http://boinc.berkeley.edu/" - -DEPENDS="boinc" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 boinc/receipt --- a/boinc/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/boinc/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,24 +1,22 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="boinc" VERSION="6.10.58" SVN_TAG="6_10_58" CATEGORY="network" -SHORT_DESC="Open-source software for volunteer computing and grid computing." +SHORT_DESC="Open-source software for volunteer computing and grid computing" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://boinc.berkeley.edu/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://boinc.berkeley.edu/" WGET_URL="svn|http://boinc.berkeley.edu/svn/tags/boinc_core_release_${SVN_TAG}" -# The init script requires bash. -DEPENDS="openssl libcurl wxWidgets28 libnotify bash" BUILD_DEPENDS="subversion openssl-dev autoconf automake curl-dev libidn-dev \ wxWidgets28-dev libnotify-dev sqlite3-dev file" +SPLIT="boinc-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/AC_PROG_CPP/&\nAC_PROG_OBJCXX/' configure.ac automake --add-missing ./_autosetup @@ -30,25 +28,33 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/var/lib/boinc \ - $fs/usr/share/pixmaps - cp -a $install/etc $fs - chmod 0644 $fs/etc/boinc-client.conf - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp $install/usr/share/boinc/boincmgr.48x48.png \ - $fs/usr/share/pixmaps/boincmgr.png - rm $fs/etc/init.d/boinc-client - cp $stuff/boinc-client $fs/etc/init.d/boinc-client +genpkg_rules() { + case $PACKAGE in + boinc) + mkdir -p \ + $fs/usr/lib \ + $fs/var/lib/boinc \ + $fs/usr/share/pixmaps + cp -a $install/etc $fs + chmod 0644 $fs/etc/boinc-client.conf + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp $install/usr/share/boinc/boincmgr.48x48.png \ + $fs/usr/share/pixmaps/boincmgr.png + rm $fs/etc/init.d/boinc-client + cp $stuff/boinc-client $fs/etc/init.d/boinc-client + # The init script requires bash. + DEPENDS="openssl libcurl wxWidgets28 libnotify bash" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + ;; + esac } -post_install() -{ +post_install_boinc() { echo # Check if boinc user already exists if grep -q ^${BOINCUSER}: "$1/etc/passwd"; then @@ -61,8 +67,7 @@ echo 'Start the boinc client with "# /etc/init.d/boinc-client start"' } -post_remove() -{ +post_remove_boinc() { echo echo -n "Delete user boinc and /var/lib/boinc (yes/No) ? : " read -t 30 answer diff -r e323d0535e2c -r 4396aed7eb01 cifs-utils-dev/receipt --- a/cifs-utils-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cifs-utils-dev" -VERSION="6.1" -CATEGORY="development" -SHORT_DESC="CIFS userland tools, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils" -WANTED="cifs-utils" - -DEPENDS="cifs-utils" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 cifs-utils/receipt --- a/cifs-utils/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/cifs-utils/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,36 +1,43 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cifs-utils" VERSION="6.1" CATEGORY="system-tools" -SHORT_DESC="CIFS userland tools." +SHORT_DESC="CIFS userland tools" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" WEB_SITE="http://wiki.samba.org/index.php/LinuxCIFS_utils" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL" -PROVIDE="smbfs" -BUILD_DEPENDS="" -DEPENDS="linux-cifs" +SPLIT="cifs-utils-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr \ - --mandir=/usr/share/man $CONFIGURE_ARGS && +compile_rules() { + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install cook_pick_manpages *.1 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/sbin - cp -a $install/sbin $fs - cd $fs/usr/sbin - ln -s ../../sbin/mount.cifs . - ln -s ../../sbin/mount.cifs umount.cifs +genpkg_rules() { + case $PACKAGE in + cifs-utils) + mkdir -p $fs/usr/sbin + cp -a $install/sbin $fs + cd $fs/usr/sbin + ln -s ../../sbin/mount.cifs . + ln -s ../../sbin/mount.cifs umount.cifs + DEPENDS="linux-cifs" + PROVIDE="smbfs" + ;; + *-dev) + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 cloop-utils/receipt --- a/cloop-utils/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cloop-utils" -VERSION="0.20.1" -CATEGORY="system-tools" -SHORT_DESC="Cloop image creation & extraction tools." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://fusecloop.sourceforge.net/" -WANTED="fusecloop" - -DEPENDS="zlib gcc-lib-base" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp $src/extract_compressed_fs $fs/usr/bin - cp $src/create_compressed_fs $fs/usr/bin/create_compressed_fs_fast - cp $src/advancecomp-*/advdef $fs/usr/bin/create_compressed_fs -} diff -r e323d0535e2c -r 4396aed7eb01 compiz-plugins-unsupported-dev/receipt --- a/compiz-plugins-unsupported-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="compiz-plugins-unsupported-dev" -VERSION="0.8.12" -CATEGORY="development" -SHORT_DESC="Compiz plugins-extra devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.compiz.org/" - -WANTED="compiz-plugins-unsupported" -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 compiz-plugins-unsupported/receipt --- a/compiz-plugins-unsupported/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/compiz-plugins-unsupported/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,37 +1,42 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="compiz-plugins-unsupported" -SOURCE="compiz-plugins-experimental" VERSION="0.8.12" CATEGORY="x-window" -SHORT_DESC="Compiz extra plugins." +SHORT_DESC="Compiz extra plugins" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="https://github.com/compiz-reloaded" -WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL" -DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \ -libnotify compiz-plugins-main" +TARBALL="compiz-plugins-experimental-$VERSION.tar.xz" +WGET_URL="$WEB_SITE/compiz-plugins-experimental/releases/download/v$VERSION/$TARBALL" + BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \ libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \ libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev \ compiz-plugins-extra compiz-plugins-extra-dev libtool util-linux-getopt \ -xorg-libxshmfence-dev libglu-mesa-dev expat-dev " +xorg-libxshmfence-dev libglu-mesa-dev expat-dev" +SPLIT="compiz-plugins-unsupported-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr +compile_rules() { + ./configure --prefix=/usr && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share/locale - cp -a $install/usr/lib/compiz $fs/usr/lib - cp -a $install/usr/share/compiz $fs/usr/share - cp -a $install/usr/share/locale/ru $fs/usr/share/locale - cd $fs/usr/lib/compiz; rm -f *.a *.la +genpkg_rules() { + case $PACKAGE in + compiz-plugins-unsupported) + mkdir -p $fs/usr/lib $fs/usr/share/locale + cp -a $install/usr/lib/compiz $fs/usr/lib + cp -a $install/usr/share/compiz $fs/usr/share + cp -a $install/usr/share/locale/ru $fs/usr/share/locale + cd $fs/usr/lib/compiz; rm -f *.a *.la + DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ \ + librsvg libnotify compiz-plugins-main" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 coova-chilli-dev/receipt --- a/coova-chilli-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="coova-chilli-dev" -VERSION="1.3.0" -CATEGORY="development" -SHORT_DESC="Captive portal or wireless LAN access point controller, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://www.coova.org/CoovaChilli" -WANTED="coova-chilli" - -DEPENDS="coova-chilli" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/coova-chilli - cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/ - cp -a $install/usr/lib/*a $fs/usr/lib/ - cp -a $install/usr/lib/python $fs/usr/lib/ - cp -a $install/usr/include $fs/usr/ -} diff -r e323d0535e2c -r 4396aed7eb01 coova-chilli/receipt --- a/coova-chilli/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/coova-chilli/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,44 +1,73 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="coova-chilli" VERSION="1.3.0" CATEGORY="network" -SHORT_DESC="Captive portal or wireless LAN access point controller." +SHORT_DESC="Captive portal or wireless LAN access point controller" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://www.coova.org/CoovaChilli" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.coova.org/CoovaChilli" WGET_URL="http://ap.coova.org/chilli/$TARBALL" -DEPENDS="openssl curl libidn" BUILD_DEPENDS="openssl-dev curl-dev perl" +SPLIT="coova-chilli-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c - ./configure --prefix=/usr --mandir=/usr/share/man \ + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --sysconfdir=/etc --localstatedir=/var --enable-largelimits \ - --enable-binstatusfile --enable-statusfile --enable-chilliproxy \ - --enable-chilliradsec --enable-chilliredir --with-openssl --with-curl \ - --with-poll --enable-dhcpopt --enable-sessgarden --enable-dnslog \ - --enable-ipwhitelist --enable-redirdnsreq --enable-miniconfig \ - --enable-libjson --enable-layer3 --enable-proxyvsa --enable-miniportal \ - --enable-chilliscript --enable-eapol --enable-uamdomainfile \ - --enable-modules --enable-multiroute \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-largelimits \ + --enable-binstatusfile \ + --enable-statusfile \ + --enable-chilliproxy \ + --enable-chilliradsec \ + --enable-chilliredir \ + --with-openssl \ + --with-curl \ + --with-poll \ + --enable-dhcpopt \ + --enable-sessgarden \ + --enable-dnslog \ + --enable-ipwhitelist \ + --enable-redirdnsreq \ + --enable-miniconfig \ + --enable-libjson \ + --enable-layer3 \ + --enable-proxyvsa \ + --enable-miniportal \ + --enable-chilliscript \ + --enable-eapol \ + --enable-uamdomainfile \ + --enable-modules \ + --enable-multiroute \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/coova-chilli - cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/ - cp -a $install/usr/lib/*.so* $fs/usr/lib/ - cp -a $install/usr/sbin $fs/usr/ - cp -a $install/etc $fs/ +genpkg_rules() { + case $PACKAGE in + coova-chilli) + mkdir -p $fs/usr/lib/coova-chilli + cp -a $install/usr/lib/coova-chilli/*.so* $fs/usr/lib/ + cp -a $install/usr/lib/*.so* $fs/usr/lib/ + cp -a $install/usr/sbin $fs/usr/ + cp -a $install/etc $fs/ + DEPENDS="openssl curl libidn" + ;; + *-dev) + mkdir -p $fs/usr/lib/coova-chilli + cp -a $install/usr/lib/coova-chilli/*a $fs/usr/lib/ + cp -a $install/usr/lib/*a $fs/usr/lib/ + cp -a $install/usr/lib/python $fs/usr/lib/ + cp -a $install/usr/include $fs/usr/ + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 csync-dev/receipt --- a/csync-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="csync-dev" -VERSION="0.50.8" -CATEGORY="development" -SHORT_DESC="Csync development files." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.csync.org/" -WANTED="csync" - -DEPENDS="csync" -BUILD_DEPENDS="" - - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 csync/receipt --- a/csync/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/csync/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="csync" VERSION="0.50.8" @@ -7,31 +7,38 @@ MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.csync.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://download.owncloud.com/download/$TARBALL" -DEPENDS="libsqlite3 neon" -BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \ - expat-dev openssl-dev log4c-dev neon-dev samba-dev" +BUILD_DEPENDS="check-dev cmake sqlite3-dev iniparser-dev \ +expat-dev openssl-dev log4c-dev neon-dev samba-dev" +SPLIT="csync-dev" -# Rules to configure and make the package. -compile_rules() -{ - mkdir csync-build && cd csync-build - cmake -DCMAKE_INSTALL_PREFIX=/usr \ +compile_rules() { + mkdir csync-build + cd csync-build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ -DWITH_LOG4C=OFF \ - -DLOG_TO_CALLBACK=ON .. \ - && make && make install - + -DLOG_TO_CALLBACK=ON \ + .. && + make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - - cp -a $install/usr/etc $fs/ - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/csync-0 $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + csync) + mkdir -p $fs/usr/lib + cp -a $install/usr/etc $fs/ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/csync-0 $fs/usr/lib + DEPENDS="libsqlite3 neon" + ;; + *-dev) + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 cups-filters-dev/receipt --- a/cups-filters-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cups-filters-dev" -VERSION="1.11.1" -CATEGORY="development" -SHORT_DESC="OpenPrinting Cups Filters (development files)" -MAINTAINER="mojo@slitaz.org" -LICENSE="GPL" -WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start" - -WANTED="cups-filters" -DEPENDS="cups-filters" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy *.h *.la *.pc -} diff -r e323d0535e2c -r 4396aed7eb01 cups-filters/receipt --- a/cups-filters/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/cups-filters/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cups-filters" VERSION="1.11.1" @@ -11,14 +11,12 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL" -DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups libgnutls \ -libjpeg-turbo libpng16 poppler qpdf tiff zlib" -BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev glib-dev \ -lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev dbus-dev" +BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng16-dev tiff-dev \ +glib-dev lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev \ +dbus-dev" +SPLIT="cups-filters-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -32,9 +30,16 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy etc/ bin/ sbin/ cups/ ppd/ *.so* - # rm -rf $fs/usr/share/cups/ppdc +genpkg_rules() { + case $PACKAGE in + cups-filters) + copy etc/ bin/ sbin/ cups/ ppd/ *.so* + # rm -rf $fs/usr/share/cups/ppdc + DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups \ + libgnutls libjpeg-turbo libpng16 poppler qpdf tiff zlib" + ;; + *-dev) + copy *.h *.la *.pc + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 cvs-contrib/receipt --- a/cvs-contrib/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cvs-contrib" -VERSION="1.11.23" -CATEGORY="development" -SHORT_DESC="CVS contrib utilities" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL" -WANTED="cvs" -WEB_SITE="http://ximbiot.com/cvs/" - -DEPENDS="libcomerr openssl libkrb5" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/cvs $fs/usr/share - - rm -f $fs/usr/share/cvs/contrib/intro.doc -} - diff -r e323d0535e2c -r 4396aed7eb01 cvs/receipt --- a/cvs/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/cvs/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cvs" VERSION="1.11.23" @@ -6,27 +6,38 @@ SHORT_DESC="Concurrent Versions System" MAINTAINER="erjo@slitaz.org" LICENSE="GPL" +WEB_SITE="http://ximbiot.com/cvs/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://ximbiot.com/cvs/" WGET_URL="http://ftp.gnu.org/non-gnu/cvs/source/stable/$VERSION/$TARBALL" -TAGS="version-control versioning" -DEPENDS="libcomerr libcomerr3 openssl libkrb5" +SPLIT="cvs-contrib" -# Rules to configure and make the package. -compile_rules() -{ - ./configure -C --prefix=/usr \ +compile_rules() { + ./configure \ + -C \ + --prefix=/usr \ --with-ssh \ - --mandir=/usr/share/man $CONFIGURE_ARGS && + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/cvs* $fs/usr/bin +genpkg_rules() { + case $PACKAGE in + cvs) + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/cvs* $fs/usr/bin + DEPENDS="libcomerr libcomerr3 openssl libkrb5" + TAGS="version-control versioning" + ;; + cvs-contrib) + mkdir -p $fs/usr/share + cp -a $install/usr/share/cvs $fs/usr/share + rm -f $fs/usr/share/cvs/contrib/intro.doc + CAT="development|contrib utilities" + DEPENDS="libcomerr openssl libkrb5" + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 depmod/receipt --- a/depmod/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="depmod" -VERSION="3.12" -CATEGORY="base-system" -SHORT_DESC="Kernel modules dependancy tool." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/" - -WANTED="module-init-tools" -DEPENDS="wget glibc-base gcc-lib-base zlib lzlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/sbin - cp $install/sbin/depmod $fs/sbin -} - -# Overlap busybox -pre_install() -{ - rm -f "$1/sbin/depmod" -} diff -r e323d0535e2c -r 4396aed7eb01 dvd+rw-media-tools/receipt --- a/dvd+rw-media-tools/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="dvd+rw-media-tools" -VERSION="7.1" -CATEGORY="multimedia" -SHORT_DESC="DVD RW media tools" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="dvd+rw-tools" -WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin $fs/usr - rm $fs/usr/bin/growisofs - -} diff -r e323d0535e2c -r 4396aed7eb01 dvd+rw-tools/receipt --- a/dvd+rw-tools/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/dvd+rw-tools/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="dvd+rw-tools" VERSION="7.1" @@ -6,17 +6,15 @@ SHORT_DESC="DVD RW tools" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://fy.chalmers.se/~appro/linux/DVD+RW" WGET_URL="$WEB_SITE/tools/$TARBALL" -DEPENDS="cdrkit" -BUILD_DEPENDS="cdrkit gcc-lib-base m4" +BUILD_DEPENDS="cdrkit m4" +SPLIT="dvd+rw-media-tools" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { patch -p1 -i $stuff/build-7.1.patch grep -qs 'define u8' growisofs.c || sed -i 's|#include |#define u8 __u8\n&|' growisofs.c @@ -27,10 +25,15 @@ done } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/growisofs $fs/usr/bin - +genpkg_rules() { + case $PACKAGE in + dvd+rw-tools) + copy growisofs + DEPENDS="cdrkit" + ;; + dvd+rw-media-tools) + copy @std @rm + CAT="multimedia|media tools" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 emacs-pkg-po-mode/receipt --- a/emacs-pkg-po-mode/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="emacs-pkg-po-mode" -VERSION="0.19.8.1" -CATEGORY="development" -SHORT_DESC="An Emacs major mode for editing or modifying PO files." -MAINTAINER="domcox@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://www.gnu.org/software/hello/manual/gettext/PO-Mode.html" -WANTED="gettext" - -DEPENDS="emacs" -BUILD_DEPENDS="emacs" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - echo -n "Installing start file" - mkdir -p $fs/usr/share/emacs/site-lisp/site-start.d && \ - cp -a $src/gettext-tools/misc/start-po.el \ - $fs/usr/share/emacs/site-lisp/site-start.d/50-start-po.el - status - - echo -n "Installing po-mode" - mkdir -p $fs/usr/share/emacs/site-lisp/po-mode && \ - cp -a $src/gettext-tools/misc/po*.el $fs/usr/share/emacs/site-lisp/po-mode - status - - # byte-compile files, remove src - for file in $fs/usr/share/emacs/site-lisp/po-mode/*.el ; do - echo -n "Byte-compiling $(basename $file)" - emacs -batch -f batch-byte-compile $file 2> /dev/null; err=$? - status - [ "$err" = "0" ] && rm -f $file - done - true -} - -post_install() -{ - chroot "$1/" tazpkg reconfigure emacs -} - -post_remove() -{ - chroot "$1/" tazpkg reconfigure emacs -} diff -r e323d0535e2c -r 4396aed7eb01 fcgi-dev/receipt --- a/fcgi-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="fcgi-dev" -VERSION="2.4.0" -CATEGORY="development" -SHORT_DESC="Fast CGI devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.fastcgi.com/" -WANTED="fcgi" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 fcgi/receipt --- a/fcgi/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/fcgi/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,36 +1,32 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="fcgi" VERSION="2.4.0" CATEGORY="development" -SHORT_DESC="Fast CGI binary and library." +SHORT_DESC="Fast CGI binary and library" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="http://www.fastcgi.com/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.fastcgi.com/" WGET_URL="http://www.fastcgi.com/dist/$TARBALL" -TAGS="CGI" -# Rules to configure and make the package. -compile_rules() -{ - # Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654) - busybox patch -p0 -i $stuff/fcgi-2.4.0_gcc4.u - - cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && +SPLIT="fcgi-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make -j1 && make -j1 DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + case $PACKAGE in + fcgi) + copy @std + TAGS="CGI" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 fcgi/stuff/fcgi-2.4.0_gcc4.u --- a/fcgi/stuff/fcgi-2.4.0_gcc4.u Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ ---- include/fcgio.h Mon Feb 25 13:16:11 2002 -+++ include/fcgio.h Thu Sep 24 09:43:58 2009 -@@ -31,6 +31,7 @@ - #define FCGIO_H - - #include -+#include - - #include "fcgiapp.h" - diff -r e323d0535e2c -r 4396aed7eb01 fcgi/stuff/patches/fcgi-2.4.0_gcc4.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcgi/stuff/patches/fcgi-2.4.0_gcc4.u Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,10 @@ +--- include/fcgio.h Mon Feb 25 13:16:11 2002 ++++ include/fcgio.h Thu Sep 24 09:43:58 2009 +@@ -31,6 +31,7 @@ + #define FCGIO_H + + #include ++#include + + #include "fcgiapp.h" + diff -r e323d0535e2c -r 4396aed7eb01 fcgi/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcgi/stuff/patches/series Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,2 @@ +# Gcc4 fix from Gentoo (http://bugs.gentoo.org/256654) +-p0|fcgi-2.4.0_gcc4.u diff -r e323d0535e2c -r 4396aed7eb01 freeimage-dev/receipt --- a/freeimage-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="freeimage-dev" -VERSION="3141" -CATEGORY="development" -SHORT_DESC="freeimage devel files" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="freeimage" -SOURCE="FreeImage" -WEB_SITE="http://freeimage.sourceforge.net/" - -DEPENDS="freeimage" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 freeimage/receipt --- a/freeimage/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/freeimage/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,41 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="freeimage" VERSION="3141" CATEGORY="graphics" -SHORT_DESC="library to support popular graphics image formats like PNG, BMP, JPEG, TIFF and others" +SHORT_DESC="Library to support popular graphics image formats like PNG, BMP, \ +JPEG, TIFF and others" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" -SOURCE="FreeImage" -TARBALL="$SOURCE$VERSION.zip" WEB_SITE="http://freeimage.sourceforge.net/" + +TARBALL="FreeImage$VERSION.zip" WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" -DEPENDS="gcc-lib-base" -BUILD_DEPENDS="gcc-lib-base" +SPLIT="freeimage-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - patch -Np1 -i $stuff/gcc4.5_ln.patch +compile_rules() { pkgdir=$DESTDIR incl=$pkgdir/usr/include - dest=$pkgdir/usr/lib + dest=$pkgdir/usr/lib install -d $dest install -d $incl - sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu - sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu - sed -e "s|ldconfig||g" -i Makefile.gnu + sed -e "s|INCDIR = /usr/include|INCDIR = $incl|g" -i Makefile.gnu + sed -e "s|INSTALLDIR = /usr/lib|INSTALLDIR = $dest|g" -i Makefile.gnu + sed -e "s|ldconfig||g" -i Makefile.gnu export CXXFLAGS="-Wno-narrowing" make && make DESTDIR=$pkgdir install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - +genpkg_rules() { + case $PACKAGE in + freeimage) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 freeimage/stuff/gcc4.5_ln.patch --- a/freeimage/stuff/gcc4.5_ln.patch Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,62 +0,0 @@ -diff -Naur FreeImage.orig//Makefile.fip FreeImage.new//Makefile.fip ---- FreeImage.orig//Makefile.fip 2010-08-10 19:15:20.000000000 +0200 -+++ FreeImage.new//Makefile.fip 2010-09-12 23:29:36.000000000 +0200 -@@ -15,9 +15,9 @@ - - MODULES = $(SRCS:.c=.o) - MODULES := $(MODULES:.cpp=.o) --CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS -+CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS - CFLAGS += $(INCLUDE) --CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -+CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy - CXXFLAGS += $(INCLUDE) - - ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64) -diff -Naur FreeImage.orig//Makefile.gnu FreeImage.new//Makefile.gnu ---- FreeImage.orig//Makefile.gnu 2010-08-10 19:15:20.000000000 +0200 -+++ FreeImage.new//Makefile.gnu 2010-09-12 23:01:57.000000000 +0200 -@@ -15,9 +15,9 @@ - - MODULES = $(SRCS:.c=.o) - MODULES := $(MODULES:.cpp=.o) --CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS -+CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS - CFLAGS += $(INCLUDE) --CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -+CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy - CXXFLAGS += $(INCLUDE) - - ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64) -@@ -65,9 +65,6 @@ - install -m 644 -o root -g root $(HEADER) $(INCDIR) - install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) - install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR) -- ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME) -- ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME) -- ldconfig - - clean: - rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME) -diff -Naur FreeImage.orig//Source/FreeImageToolkit/Background.cpp FreeImage.new//Source/FreeImageToolkit/Background.cpp ---- FreeImage.orig//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:15:20.000000000 +0200 -+++ FreeImage.new//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:16:12.000000000 +0200 -@@ -21,6 +21,7 @@ - - #include "FreeImage.h" - #include "Utilities.h" -+#include - - /** @brief Determines, whether a palletized image is visually greyscale or not. - -diff -Naur FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h ---- FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 19:15:20.000000000 +0200 -+++ FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 21:43:26.000000000 +0200 -@@ -51,6 +51,7 @@ - - #include - #include -+#include - - #if (defined _WIN32 || defined _WIN64) && defined _MSC_VER - // suppress exception specification warnings diff -r e323d0535e2c -r 4396aed7eb01 freeimage/stuff/patches/gcc4.5_ln.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/freeimage/stuff/patches/gcc4.5_ln.patch Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,62 @@ +diff -Naur FreeImage.orig//Makefile.fip FreeImage.new//Makefile.fip +--- FreeImage.orig//Makefile.fip 2010-08-10 19:15:20.000000000 +0200 ++++ FreeImage.new//Makefile.fip 2010-09-12 23:29:36.000000000 +0200 +@@ -15,9 +15,9 @@ + + MODULES = $(SRCS:.c=.o) + MODULES := $(MODULES:.cpp=.o) +-CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS ++CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS + CFLAGS += $(INCLUDE) +-CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy ++CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy + CXXFLAGS += $(INCLUDE) + + ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64) +diff -Naur FreeImage.orig//Makefile.gnu FreeImage.new//Makefile.gnu +--- FreeImage.orig//Makefile.gnu 2010-08-10 19:15:20.000000000 +0200 ++++ FreeImage.new//Makefile.gnu 2010-09-12 23:01:57.000000000 +0200 +@@ -15,9 +15,9 @@ + + MODULES = $(SRCS:.c=.o) + MODULES := $(MODULES:.cpp=.o) +-CFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS ++CFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -DNO_LCMS + CFLAGS += $(INCLUDE) +-CXXFLAGS ?= -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy ++CXXFLAGS += -O3 -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy + CXXFLAGS += $(INCLUDE) + + ifeq ($(shell sh -c 'uname -m 2>/dev/null || echo not'),x86_64) +@@ -65,9 +65,6 @@ + install -m 644 -o root -g root $(HEADER) $(INCDIR) + install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR) + install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR) +- ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME) +- ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME) +- ldconfig + + clean: + rm -f core Dist/*.* u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME) +diff -Naur FreeImage.orig//Source/FreeImageToolkit/Background.cpp FreeImage.new//Source/FreeImageToolkit/Background.cpp +--- FreeImage.orig//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:15:20.000000000 +0200 ++++ FreeImage.new//Source/FreeImageToolkit/Background.cpp 2010-08-10 19:16:12.000000000 +0200 +@@ -21,6 +21,7 @@ + + #include "FreeImage.h" + #include "Utilities.h" ++#include + + /** @brief Determines, whether a palletized image is visually greyscale or not. + +diff -Naur FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h +--- FreeImage.orig//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 19:15:20.000000000 +0200 ++++ FreeImage.new//Source/OpenEXR/Imath/ImathMatrix.h 2010-08-10 21:43:26.000000000 +0200 +@@ -51,6 +51,7 @@ + + #include + #include ++#include + + #if (defined _WIN32 || defined _WIN64) && defined _MSC_VER + // suppress exception specification warnings diff -r e323d0535e2c -r 4396aed7eb01 freeimage/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/freeimage/stuff/patches/series Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,1 @@ +gcc4.5_ln.patch diff -r e323d0535e2c -r 4396aed7eb01 fusecloop/receipt --- a/fusecloop/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/fusecloop/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,26 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="fusecloop" VERSION="0.20.1" CATEGORY="system-tools" -SHORT_DESC="Mount cloop image in user space with fuse." +SHORT_DESC="Mount cloop image in user space with FUSE" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://fusecloop.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://fusecloop.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + ADVANCECOMP_VERSION="1.23" ADVANCECOMP_TARBALL="advancecomp-$ADVANCECOMP_VERSION.tar.gz" ADVANCECOMP_URL="$SF_MIRROR/advancemame/$ADVANCECOMP_TARBALL" EXTRA_SOURCE_FILES="$ADVANCECOMP_TARBALL" -DEPENDS="fuse zlib gcc-lib-base" BUILD_DEPENDS="fuse-dev zlib-dev automake" -SUGGESTED="fuseiso cloop-utils" +SPLIT="fusecloop cloop-utils" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { [ -s $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL ] || wget -P $SOURCES_REPOSITORY $ADVANCECOMP_URL tar xzf $SOURCES_REPOSITORY/$ADVANCECOMP_TARBALL @@ -31,21 +30,42 @@ cp create_compressed_fs.c $ADVANCECOMP/redef.cc sed -i 's/Z_BEST_COMPRESSION/Z_BEST_SPEED/' create_compressed_fs.c sed -i 's/def FIND_BEST_COMPRESSION/ 1/' $ADVANCECOMP/redef.cc - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && + cd $ADVANCECOMP && ./autogen.sh automake --add-missing - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && - make advdef + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make advdef || return 1 + + mkdir -p $install/usr/bin + cp $src/fusecloop $install/usr/bin + cp $src/extract_compressed_fs $install/usr/bin + cp $src/create_compressed_fs $install/usr/bin/create_compressed_fs_fast + cp $src/advancecomp-*/advdef $install/usr/bin/create_compressed_fs } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin - cp $src/fusecloop $fs/usr/bin +genpkg_rules() { + case $PACKAGE in + fusecloop) + copy fusecloop + DEPENDS="fuse zlib gcc-lib-base" + SUGGESTED="fuseiso cloop-utils" + ;; + cloop-utils) + copy @std @rm + CAT="system-tools|image creation & extraction tools" + DEPENDS="zlib gcc-lib-base" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gavl-dev/receipt --- a/gavl-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gavl-dev" -VERSION="1.4.0" -CATEGORY="development" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL3" -SHORT_DESC="gavl devel files" -WEB_SITE="http://gmerlin.sourceforge.net/" -WANTED="gavl" - -DEPENDS="gavl pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 gavl/receipt --- a/gavl/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gavl/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,29 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gavl" VERSION="1.4.0" CATEGORY="multimedia" +SHORT_DESC="A low level library, upon which multimedia APIs can be built" MAINTAINER="jozee@slitaz.org" LICENSE="GPL3" -SHORT_DESC="A low level library, upon which multimedia APIs can be built." WEB_SITE="http://gmerlin.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/gmerlin/$TARBALL" -DEPENDS="glibc-base" +SPLIT="gavl-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --without-doxygen \ - --with-cpuflags=none $CONFIGURE_ARGS && +compile_rules() { + ./configure \ + --without-doxygen \ + --with-cpuflags=none \ + $CONFIGURE_ARGS && make && make install } - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*so* $fs/usr/lib/ + +genpkg_rules() { + case $PACKAGE in + gavl) + copy @std + DEPENDS="glibc-base" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gc-dev/receipt --- a/gc-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gc-dev" -VERSION="7.2" -CATEGORY="development" -SHORT_DESC="A garbage collector for C and C++ devel files (with libatomic_ops)." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT GPL" -WANTED="gc" -WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" - -DEPENDS="gc" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 gc/receipt --- a/gc/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gc/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,19 +1,19 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gc" VERSION="7.2" CATEGORY="development" -SHORT_DESC="A garbage collector for C and C++." +SHORT_DESC="A garbage collector for C and C++" MAINTAINER="pankso@slitaz.org" LICENSE="MIT GPL" +WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +SPLIT="gc-dev" + +compile_rules() { ./configure \ --enable-cplusplus \ $CONFIGURE_ARGS && @@ -29,11 +29,19 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/share/gc $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + gc) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/share/gc $fs/usr/share + cp -a $install/usr/lib/*.so* $fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gegl-dev/receipt --- a/gegl-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gegl-dev" -VERSION="0.2.0" -CATEGORY="development" -SHORT_DESC="Generic Graphics Library dev files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://gegl.org/" -WANTED="gegl" - -DEPENDS="gegl libdrm-dev xorg-libXxf86vm-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/gegl-0.2 - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/gegl-0.2/*.*a $fs/usr/lib/gegl-0.2 - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 gegl/receipt --- a/gegl/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gegl/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gegl" VERSION="0.2.0" @@ -6,16 +6,15 @@ SHORT_DESC="Generic Graphics Library" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://gegl.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://gegl.org/" WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="babl expat gtk+ jpeg xorg-libX11" BUILD_DEPENDS="babl-dev expat-dev gtk+-dev jasper-dev intltool" +SPLIT="gegl-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { # Keep gegl light so we can make smaller gimp LiveCD flavors ./configure \ --disable-docs \ @@ -29,12 +28,15 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/gegl-* $fs/usr/lib - rm $fs/usr/lib/gegl-*/*.*a +genpkg_rules() { + case $PACKAGE in + gegl) + copy @std + DEPENDS="babl expat gtk+ jpeg xorg-libX11" + ;; + *-dev) + copy @dev + DEPENDS="gegl libdrm-dev xorg-libXxf86vm-dev pkg-config" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 geoip-dev/receipt --- a/geoip-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="geoip-dev" -VERSION="1.4.8" -CATEGORY="development" -SHORT_DESC="devel files for geoip." -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.maxmind.com/app/c" -WANTED="geoip" - -DEPENDS="geoip" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r e323d0535e2c -r 4396aed7eb01 geoip/receipt --- a/geoip/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/geoip/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,22 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="geoip" VERSION="1.4.8" CATEGORY="network" -SHORT_DESC="Non-DNS IP-to-country resolver C library & utils." +SHORT_DESC="Non-DNS IP-to-country resolver C library & utils" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" -SOURCE="GeoIP" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.maxmind.com/app/c" + +TARBALL="GeoIP-$VERSION.tar.gz" WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL" -DEPENDS="zlib" BUILD_DEPENDS="zlib-dev automake autoconf libtool" +SPLIT="geoip-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { autoreconf -i ./configure \ --prefix=/usr \ @@ -28,13 +26,20 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/etc $fs - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/GeoIP $fs/usr/share +genpkg_rules() { + case $PACKAGE in + geoip) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/etc $fs + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/GeoIP $fs/usr/share + DEPENDS="zlib" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/include $fs/usr + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 gettext/receipt --- a/gettext/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gettext/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -13,8 +13,8 @@ WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" BUILD_DEPENDS_arm="attr-dev ncurses-dev libxml2-tools libxml2-dev" -BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev" -SPLIT="gettext-base gettext-tools gettext" +BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev emacs" +SPLIT="gettext-base gettext-tools emacs-pkg-po-mode gettext" compile_rules() { case "$ARCH" in @@ -29,6 +29,25 @@ # stripped gettext.sh rm $install/usr/bin/gettext.sh install -m755 $stuff/gettext.sh $install/usr/bin + + # emacs-pkg-po-mode -------- + + site_lisp="$install/usr/share/emacs/site-lisp" + # Installing start file + mkdir -p $site_lisp/site-start.d + cp -a $src/gettext-tools/misc/start-po.el $site_lisp/site-start.d/50-start-po.el + + # Installing po-mode + mkdir -p $site_lisp/po-mode + cp -a $src/gettext-tools/misc/po*.el $site_lisp/po-mode + + # byte-compile files, remove src + for file in $site_lisp/po-mode/*.el; do + echo -n "Byte-compiling $(basename $file)" + emacs -batch -f batch-byte-compile $file 2>/dev/null; err=$? + status + [ "$err" -eq 0 ] && rm -f $file + done } # Just to be sure when cross compiling, gettext is part of base system. @@ -50,6 +69,11 @@ DEPENDS="acl attr glib libcroco libgomp liblzma libxml2 ncurses \ pcre zlib" ;; + emacs-pkg-po-mode) + copy emacs/ + DEPENDS="emacs" + CAT="development|Emacs major mode for editing or modifying PO files" + ;; gettext) copy @std @dev @rm rm -rf $fs/usr/share/doc/ # @dev files here @@ -60,3 +84,11 @@ ;; esac } + +post_install_emacs_pkg_po_mode() { + chroot "$1/" tazpkg reconfigure emacs +} + +post_remove_emacs_pkg_po_mode() { + chroot "$1/" tazpkg reconfigure emacs +} diff -r e323d0535e2c -r 4396aed7eb01 giblib-dev/receipt --- a/giblib-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt - -PACKAGE="giblib-dev" -VERSION="1.2.4" -CATEGORY="graphics" -SHORT_DESC="Giblib graphic library development files." -MAINTAINER="mallory@sweetpeople.org" -LICENSE="MIT" -WANTED="giblib" -WEB_SITE="http://linuxbrit.co.uk/feh/" - -DEPENDS="giblib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/include $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 giblib/receipt --- a/giblib/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/giblib/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,26 +1,24 @@ -# SliTaz package receipt +# SliTaz package receipt v2. PACKAGE="giblib" VERSION="1.2.4" CATEGORY="graphics" -SHORT_DESC="Giblib graphic library." +SHORT_DESC="Giblib graphic library" MAINTAINER="mallory@sweetpeople.org" LICENSE="MIT" +WEB_SITE="http://linuxbrit.co.uk/feh/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://linuxbrit.co.uk/feh/" WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" -DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev" +SPLIT="giblib-dev" -# Handle cross compilation -case "$ARCH" in - arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; -esac +compile_rules() { + case "$ARCH" in + arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; + esac -# Rules to configure and make the package. -compile_rules() -{ sed -i 's|/doc|/share&|' Makefile* ./configure \ --prefix=/usr \ @@ -29,11 +27,15 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - rm -f $fs/usr/lib/*a +genpkg_rules() { + case $PACKAGE in + giblib) + copy @std + DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \ + xorg-libXext" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gmpc-dev/receipt --- a/gmpc-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gmpc-dev" -VERSION="11.8.16" -CATEGORY="development" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -SHORT_DESC="gmpc devel library." -WANTED="gmpc" -WEB_SITE="http://gmpclient.org" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 gmpc/receipt --- a/gmpc/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gmpc/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,43 +1,50 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gmpc" VERSION="11.8.16" CATEGORY="multimedia" +SHORT_DESC="A GTK2 client for MPD" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" -SHORT_DESC="A GTK2 client for MPD" +WEB_SITE="http://gmpclient.org" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://gmpclient.org" WGET_URL="http://download.sarine.nl/Programs/${PACKAGE}/${VERSION%.*}/$TARBALL" -DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd sqlite3 libtasn1" +BUILD_DEPENDS_arm="gob2-dev libglade-dev libmpd libmpd-dev curl-dev \ +sqlite3-dev xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev \ +util-linux-uuid-dev flex intltool" BUILD_DEPENDS="gob2-dev libglade-dev libmpd libmpd-dev curl-dev sqlite3-dev \ -xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev flex \ -intltool" +xorg-libSM-dev libsoup-dev libsexy-dev xorg-xcb-util-dev util-linux-uuid-dev \ +flex intltool vala" +SPLIT="gmpc-dev" -case "$ARCH" in - i?86) BUILD_DEPENDS="$BUILD_DEPENDS vala" -esac - -# Rules to configure and make the package. compile_rules() { - ./configure \ + ./configure \ --enable-system-libsexy \ --disable-shave \ --disable-unique \ $CONFIGURE_ARGS && - make || return 1 - sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/${PACKAGE}.desktop - make install + make || return 1 + sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/$PACKAGE.desktop + make install } - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/icons/hicolor - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/$PACKAGE $fs/usr/share - cp -a $install/usr/share/icons/hicolor/16x16 \ - $fs/usr/share/icons/hicolor - + +genpkg_rules() { + case $PACKAGE in + gmpc) + mkdir -p $fs/usr/share/icons/hicolor + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/$PACKAGE $fs/usr/share + cp -a $install/usr/share/icons/hicolor/16x16 \ + $fs/usr/share/icons/hicolor + DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \ + sqlite3 libtasn1" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gnome-commander-i18n/receipt --- a/gnome-commander-i18n/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-commander-i18n" -VERSION="1.4.8" -CATEGORY="localization" -SHORT_DESC="Language files for Gnome Commander" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://gcmd.github.io/" -WANTED="gnome-commander" - -DEPENDS="gnome-commander" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/locale - cp -a $install/usr/share/locale/* $fs/usr/share/locale -} diff -r e323d0535e2c -r 4396aed7eb01 gnome-commander/receipt --- a/gnome-commander/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gnome-commander/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-commander" VERSION="1.4.8" @@ -6,21 +6,20 @@ SHORT_DESC="A full featured, twin-panel file manager for Gnome2" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" +WEB_SITE="http://gcmd.github.io/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://gcmd.github.io/" WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler taglib libunique" BUILD_DEPENDS="gtk+-dev glib-dev gnome-doc-utils-dev libgnome-dev \ libgnomeui-dev gdk-pixbuf-dev cairo-dev pango-dev atk-dev libbonoboui-dev \ libgnomecanvas-dev libart_lgpl-dev xorg-libXinerama-dev xorg-libXrandr-dev \ xorg-dev libgnome-keyring-dev libgcrypt-dev rarian-dev rarian exiv2-dev \ taglib-dev libgsf-dev poppler-dev chmlib-dev lcms2-dev flex python-dev \ util-linux-uuid-dev libunique-dev intltool" +SPLIT="gnome-commander-i18n" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --disable-scrollkeeper \ $CONFIGURE_ARGS && @@ -28,14 +27,16 @@ make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - find $fs/usr/lib/gnome-commander -name "*.*a" -delete - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share +genpkg_rules() { + case $PACKAGE in + gnome-commander) + copy @std + DEPENDS="exiv2 lcms libgnome-keyring libgnomeui libgsf poppler \ + taglib libunique" + ;; + gnome-commander-i18n) + copy locale/ + CAT="localization|language files" + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 gnome-desktop-dev/receipt --- a/gnome-desktop-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-desktop-dev" -VERSION="2.28.0" -CATEGORY="development" -SHORT_DESC="GNOME Desktop development files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WANTED="gnome-desktop" -WEB_SITE="http://www.gnome.org" - -DEPENDS="gnome-desktop pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 gnome-desktop/receipt --- a/gnome-desktop/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gnome-desktop/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-desktop" VERSION="2.28.0" @@ -6,17 +6,16 @@ SHORT_DESC="GNOME Desktop" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="GConf gtk+ startup-notification" BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev \ intltool gtk+-dev xorg-libXrandr-dev" +SPLIT="gnome-desktop-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc/gnome \ @@ -30,12 +29,21 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - #cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - #cp -a $install/usr/share/dbus-1 $fs/usr/share +genpkg_rules() { + case $PACKAGE in + gnome-desktop) + mkdir -p $fs/usr/lib $fs/usr/share + #cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + #cp -a $install/usr/share/dbus-1 $fs/usr/share + DEPENDS="GConf gtk+ startup-notification" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gnome-doc-utils-dev/receipt --- a/gnome-doc-utils-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-doc-utils-dev" -VERSION="0.20.10" -CATEGORY="development" -SHORT_DESC="Gnome Documentation utilities dev files." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2 LGPL2.1" -WANTED="gnome-doc-utils" -WEB_SITE="http://www.gnome.org/" - -DEPENDS="gnome-doc-utils pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/share/pkgconfig $fs/usr/lib - cp -a $install/usr/bin/gnome-doc-prepare $fs/usr/bin - cp -a $install/usr/share/aclocal $fs/usr/share - cp -a $install/usr/share/man $fs/usr/share - cp -a $install/usr/share/gnome* $fs/usr/share - cp -a $install/usr/lib $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 gnome-doc-utils/receipt --- a/gnome-doc-utils/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gnome-doc-utils/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,23 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-doc-utils" VERSION="0.20.10" CATEGORY="misc" -SHORT_DESC="Documentation utilities for Gnome" +SHORT_DESC="Documentation utilities for GNOME" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2 LGPL2.1" +WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.gnome.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml" BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \ intltool" +SPLIT="gnome-doc-utils-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr \ +compile_rules() { + ./configure \ + --prefix=/usr \ --infodir=/usr/share/info \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -27,12 +27,26 @@ make -j1 DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/share/locale - cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin - cp -a $install/usr/bin/xml2po $fs/usr/bin - cp -a $install/usr/share/xml $fs/usr/share - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + case $PACKAGE in + gnome-doc-utils) + mkdir -p $fs/usr/bin $fs/usr/share/locale + cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin + cp -a $install/usr/bin/xml2po $fs/usr/bin + cp -a $install/usr/share/xml $fs/usr/share + cp -a $install/usr/lib $fs/usr + DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml" + ;; + *-dev) + mkdir -p $fs/usr/bin \ + $fs/usr/lib \ + $fs/usr/share + cp -a $install/usr/share/pkgconfig $fs/usr/lib + cp -a $install/usr/bin/gnome-doc-prepare $fs/usr/bin + cp -a $install/usr/share/aclocal $fs/usr/share + cp -a $install/usr/share/man $fs/usr/share + cp -a $install/usr/share/gnome* $fs/usr/share + cp -a $install/usr/lib $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gpa-langpack/receipt --- a/gpa-langpack/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gpa-langpack" -VERSION="0.9.9" -CATEGORY="localization" -SHORT_DESC="Gnu Privacy Assistant, locale files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL3" -WEB_SITE="https://www.gnupg.org/related_software/gpa/" - -WANTED="gpa" -DEPENDS="gpa" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/locale $fs/usr/share -} diff -r e323d0535e2c -r 4396aed7eb01 gpa/receipt --- a/gpa/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gpa/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,33 +1,38 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gpa" VERSION="0.9.9" CATEGORY="security" -SHORT_DESC="Gnu Privacy Assistant" +SHORT_DESC="GNU Privacy Assistant" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" WEB_SITE="https://www.gnupg.org/related_software/gpa/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://www.gnupg.org/ftp/gcrypt/gpa/$TARBALL" +# Integrity check: https://www.gnupg.org/download/integrity_check.html +TARBALL_SHA1="1cf86c9e38aa553fdb880c55cbc6755901ad21a4" -DEPENDS="gpgme gtk+ pinentry-gtk" BUILD_DEPENDS="gtk+-dev libgpg-error-dev libassuan-dev gpgme-dev" SPLIT="gpa-langpack" -# Rules to configure and make the package. -compile_rules() -{ - # Integrity check: https://www.gnupg.org/download/integrity_check.html - echo "1cf86c9e38aa553fdb880c55cbc6755901ad21a4 $SRC/$TARBALL" | sha1sum -c || exit 1 - - ./configure $CONFIGURE_ARGS && make && make install +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install || return 1 find $install/usr/share/man -type f -exec gzip -9 \{\} \; } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs - rm -r $fs/usr/share/locale +genpkg_rules() { + case $PACKAGE in + gpa) + cp -a $install/* $fs + rm -r $fs/usr/share/locale + DEPENDS="gpgme gtk+ pinentry-gtk" + ;; + gpa-langpack) + mkdir -p $fs/usr/share + cp -a $install/usr/share/locale $fs/usr/share + CAT="localization|locale files" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 gsasl-dev/receipt --- a/gsasl-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gsasl-dev" -VERSION="0.2.29" -CATEGORY="development" -SHORT_DESC="Simple Authentication and Security Layer, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://www.gnu.org/software/$PACKAGE/" -WANTED="gsasl" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 gsasl/receipt --- a/gsasl/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gsasl/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,33 +1,33 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gsasl" VERSION="0.2.29" CATEGORY="system-tools" -SHORT_DESC="Simple Authentication and Security Layer." +SHORT_DESC="Simple Authentication and Security Layer" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://www.gnu.org/software/gsasl/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/$PACKAGE/" WGET_URL="ftp://alpha.gnu.org/pub/gnu/$PACKAGE/$TARBALL" -DEPENDS="gnutls libgcrypt libgpg-error ncurses readline zlib libidn libkrb5 \ -libcomerr3 libtasn1" +SPLIT="gsasl-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && +compile_rules() { + ./configure $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + gsasl) + copy @std + DEPENDS="gnutls libgcrypt libgpg-error ncurses readline zlib \ + libidn libkrb5 libcomerr3 libtasn1" + ;; + *-dev) + copy @dev + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 gtkhotkey-dev/receipt --- a/gtkhotkey-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gtkhotkey-dev" -VERSION="0.2.1" -CATEGORY="development" -SHORT_DESC="GTK Hotkey devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL3" -WEB_SITE="https://launchpad.net/gtkhotkey" -WANTED="gtkhotkey" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 gtkhotkey/receipt --- a/gtkhotkey/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/gtkhotkey/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,30 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gtkhotkey" VERSION="0.2.1" CATEGORY="x-window" -SHORT_DESC="Platform independent hotkey handling for GTK+ applications." +SHORT_DESC="Platform independent hotkey handling for GTK+ applications" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL3" WEB_SITE="https://launchpad.net/gtkhotkey" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" -DEPENDS="glib gtk+" -BUILD_DEPENDS="wget glib-dev gtk+-dev intltool" +BUILD_DEPENDS="glib-dev gtk+-dev intltool" +SPLIT="gtkhotkey-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's|||' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h sed -i 's|}/doc|}/share/doc|' Makefile* ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + gtkhotkey) + copy @std + DEPENDS="glib gtk+" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 guile-dev/receipt --- a/guile-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="guile-dev" -VERSION="1.8.8" -CATEGORY="development" -SHORT_DESC="devel files for guile" -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WANTED="guile" -WEB_SITE="http://www.gnu.org/software/guile/" - -DEPENDS="guile gmp-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share -} diff -r e323d0535e2c -r 4396aed7eb01 guile/receipt --- a/guile/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/guile/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,26 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="guile" VERSION="1.8.8" CATEGORY="development" -SHORT_DESC="Project GNU's extension language." +SHORT_DESC="Project GNU's extension language" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://www.gnu.org/software/guile/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/guile/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="gmp readline ncurses libltdl" BUILD_DEPENDS="libtool gmp-dev" +SPLIT="guile-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - - # http://bugs.gentoo.org/show_bug.cgi?id=317175 - patch -p1 < $stuff/guile-1.8.7-gcc45.u || return 1 - +compile_rules() { ./configure \ --disable-error-on-warning \ $CONFIGURE_ARGS && @@ -28,11 +22,22 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/guile $fs/usr/share +genpkg_rules() { + case $PACKAGE in + guile) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/share/guile $fs/usr/share + DEPENDS="gmp readline ncurses libltdl" + ;; + *-dev) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + DEPENDS="guile gmp-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 guile/stuff/guile-1.8.7-gcc45.u --- a/guile/stuff/guile-1.8.7-gcc45.u Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ ---- guile-1.8.7-ori/libguile/guile-snarf-docs.in -+++ guile-1.8.7/libguile/guile-snarf-docs.in -@@ -23,4 +23,4 @@ - ## Let the user override the preprocessor autoconf found. - test -n "${CPP+set}" || CPP="@CPP@" - --${CPP} -DSCM_MAGIC_SNARF_DOCS "$@" -+${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@" diff -r e323d0535e2c -r 4396aed7eb01 guile/stuff/patches/guile-1.8.7-gcc45.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/guile/stuff/patches/guile-1.8.7-gcc45.u Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,8 @@ +--- guile-1.8.7-ori/libguile/guile-snarf-docs.in ++++ guile-1.8.7/libguile/guile-snarf-docs.in +@@ -23,4 +23,4 @@ + ## Let the user override the preprocessor autoconf found. + test -n "${CPP+set}" || CPP="@CPP@" + +-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@" ++${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@" diff -r e323d0535e2c -r 4396aed7eb01 guile/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/guile/stuff/patches/series Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,2 @@ +# http://bugs.gentoo.org/show_bug.cgi?id=317175 +-p1|guile-1.8.7-gcc45.u diff -r e323d0535e2c -r 4396aed7eb01 hdf5-dev/receipt --- a/hdf5-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="hdf5-dev" -VERSION="1.8.9" -CATEGORY="development" -SHORT_DESC="a data model, library, and file format for storing and managing data." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -WEB_SITE="http://www.hdfgroup.org/HDF5" -WANTED="hdf5" - -DEPENDS="hdf5" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/share $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 hdf5/receipt --- a/hdf5/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/hdf5/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,32 +1,34 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="hdf5" VERSION="1.8.9" CATEGORY="misc" -SHORT_DESC="a data model, library, and file format for storing and managing data." +SHORT_DESC="Data model, library, and file format for storing and managing data" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://www.hdfgroup.org/HDF5" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL" -DEPENDS="zlib" BUILD_DEPENDS="cmake szip zlib-dev" +SPLIT="hdf5-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's|// .*|/* & */|' test/th5s.c tools/lib/h5tools_str.c sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt ./configure $CONFIGURE_ARGS && make all && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib $fs/usr - rm -f $fs/usr/lib/*a +genpkg_rules() { + case $PACKAGE in + hdf5) + copy @std + DEPENDS="zlib" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 iksemel-dev/receipt --- a/iksemel-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="iksemel-dev" -VERSION="1.2" -CATEGORY="development" -SHORT_DESC="XML parser library for Jabber applications." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://iksemel.jabberstudio.org/" -WANTED="iksemel" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 iksemel/receipt --- a/iksemel/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/iksemel/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,33 +1,32 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="iksemel" VERSION="1.2" CATEGORY="network" -SHORT_DESC="XML parser library for Jabber applications." +SHORT_DESC="XML parser library for Jabber applications" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://iksemel.jabberstudio.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://jabberstudio.rediris.es/$PACKAGE/$TARBALL" -DEPENDS="gnutls libgcrypt libgpg-error zlib pkg-config" +SPLIT="iksemel-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + iksemel) + copy @std + DEPENDS="gnutls libgcrypt libgpg-error zlib" + ;; + *-dev) + copy @dev + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 ipxe-pxe/receipt --- a/ipxe-pxe/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ipxe-pxe" -VERSION="41f786c" -CATEGORY="system-tools" -SHORT_DESC="Open source network boot firmware for pxe server." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://ipxe.org/" -WANTED="ipxe" - -DEPENDS="" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/boot - cp -a $src/src/bin/ipxe.kpxe $fs/usr/share/boot/ipxe.pxe - cp -a $src/src/bin/undionly.kpxe $fs/usr/share/boot/undi.pxe -} diff -r e323d0535e2c -r 4396aed7eb01 ipxe/receipt --- a/ipxe/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/ipxe/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -12,6 +12,7 @@ WGET_URL="$GITHUB/ipxe/ipxe/tarball/$VERSION" BUILD_DEPENDS="perl xz-dev" +SPLIT="ipxe-pxe" compile_rules() { cd $src/src @@ -48,5 +49,15 @@ } genpkg_rules() { - copy @std + case $PACKAGE in + ipxe) + copy @std + ;; + ipxe-pxe) + CAT="system-tools|for pxe server" + mkdir -p $fs/usr/share/boot + cp -a $src/src/bin/ipxe.kpxe $fs/usr/share/boot/ipxe.pxe + cp -a $src/src/bin/undionly.kpxe $fs/usr/share/boot/undi.pxe + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lensfun-dev/receipt --- a/lensfun-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lensfun-dev" -VERSION="0.2.5" -CATEGORY="development" -SHORT_DESC="devel files for lensfun" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL3 GPL3" -WEB_SITE="http://lensfun.berlios.de/" -WANTED="lensfun" - -DEPENDS="lensfun pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 lensfun/receipt --- a/lensfun/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lensfun/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,31 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lensfun" VERSION="0.2.5" CATEGORY="multimedia" -SHORT_DESC="Database of photographic lenses and a library that allows advanced access to the database" +SHORT_DESC="Database of photographic lenses and a library that allows advanced \ +access to the database" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL3 GPL3" +WEB_SITE="http://lensfun.berlios.de/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://lensfun.berlios.de/" WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" -DEPENDS="glib" BUILD_DEPENDS="python libpng16 glib-dev" +SPLIT="lensfun-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/.*GNU Make*/# &/' configure - ./configure --prefix=/usr --libdir=/usr/lib && - make all && + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib && + make all && make INSTALL_PREFIX="$DESTDIR" install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/share/lensfun $fs/usr/share +genpkg_rules() { + case $PACKAGE in + lensfun) + copy @std + DEPENDS="glib" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lesstif-dev/receipt --- a/lesstif-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lesstif-dev" -VERSION="0.95.2" -CATEGORY="development" -SHORT_DESC="lesstif devel files." -WEB_SITE="http://sourceforge.net/projects/lesstif/" -MAINTAINER="rcx@zoominternet.net" -LICENSE="GPL2" -WANTED="lesstif" - -DEPENDS="lesstif" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 lesstif/receipt --- a/lesstif/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lesstif/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,40 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lesstif" VERSION="0.95.2" CATEGORY="x-window" -SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets." +SHORT_DESC="An LGPL clone of Motif, which is a set of GUI widgets" MAINTAINER="rcx@zoominternet.net" LICENSE="GPL2" +WEB_SITE="http://sourceforge.net/projects/lesstif/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://sourceforge.net/projects/lesstif/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ -xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype xorg-libXp" BUILD_DEPENDS="xorg-xextproto xorg-libXt-dev xorg-libXext-dev \ util-linux-uuid-dev automake" +SPLIT="lesstif-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --includedir=/usr/include \ - $CONFIGURE_ARGS && - make && +compile_rules() { + ./configure $CONFIGURE_ARGS && + make && make -j 1 DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/LessTif $fs/usr/lib - cp -a $install/usr/lib/X11 $fs/usr/lib - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + case $PACKAGE in + lesstif) + copy @std + DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ + xorg-libXdmcp xorg-libXext xorg-libXt util-linux-uuid freetype \ + xorg-libXp" + ;; + *-dev) + copy @dev + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 libbonobo-dev/receipt --- a/libbonobo-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libbonobo-dev" -VERSION="2.32.1" -CATEGORY="development" -SHORT_DESC="devel files for libbonobo" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org" -WANTED="libbonobo" - -DEPENDS="libbonobo pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.a* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/bonobo-2.0 $fs/usr/lib - cp -a $install/usr/share/idl $fs/usr/share - - # remove archive lib - find $fs/usr/lib -name *.so* -exec rm -f {} \; -} - diff -r e323d0535e2c -r 4396aed7eb01 libbonobo/receipt --- a/libbonobo/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libbonobo/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libbonobo" VERSION="2.32.1" @@ -6,16 +6,16 @@ SHORT_DESC="Librairies for GNOME" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnome.org" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" -DEPENDS="glib orbit2 libxml2 libglade" -BUILD_DEPENDS="glib-dev libglade-dev orbit2-dev libxml2-dev popt-dev bison flex intltool pkg-config" +BUILD_DEPENDS="glib-dev libglade-dev orbit2-dev libxml2-dev popt-dev bison \ +flex intltool pkg-config" +SPLIT="libbonobo-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile* ./configure \ --prefix=/usr \ @@ -25,17 +25,32 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/etc $fs/ - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib - cp -a $install/usr/lib/bonobo $fs/usr/lib - - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; +genpkg_rules() { + case $PACKAGE in + libbonobo) + mkdir -p $fs/usr/lib + cp -a $install/etc $fs/ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib + cp -a $install/usr/lib/bonobo $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; + DEPENDS="glib orbit2 libxml2 libglade" + ;; + *-dev) + mkdir -p $fs/usr/lib $fs/usr/share + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.a* $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/bonobo-2.0 $fs/usr/lib + cp -a $install/usr/share/idl $fs/usr/share + + # remove archive lib + find $fs/usr/lib -name *.so* -exec rm -f {} \; + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libbonoboui-dev/receipt --- a/libbonoboui-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libbonoboui-dev" -VERSION="2.24.3" -CATEGORY="development" -SHORT_DESC="The libbonoboui devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" -WANTED="libbonoboui" - -DEPENDS="libbonoboui libgnomecanvas-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - # remove archive lib - find $fs/usr/lib -name *.so* -exec rm -f {} \; -} diff -r e323d0535e2c -r 4396aed7eb01 libbonoboui/receipt --- a/libbonoboui/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libbonoboui/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,44 +1,56 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libbonoboui" VERSION="2.24.3" CATEGORY="x-window" -SHORT_DESC="The libbonoboui package contains libbonoboui libraries." +SHORT_DESC="The libbonoboui package contains libbonoboui libraries" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.gnome.org/" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib popt \ -libbonobo" BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \ GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \ dbus-glib-dev audiofile esound libffi xorg-libXinerama-dev xorg-libXrandr-dev \ xorg-libXcursor-dev xorg-libXcomposite-dev xorg-libXdamage-dev" +SPLIT="libbonoboui-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure $CONFIGURE_ARGS \ +compile_rules() { + ./configure \ --sysconfdir=/etc/gnome \ - --libexecdir=/usr/lib/bonobo && + --libexecdir=/usr/lib/bonobo \ + $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - mkdir -p $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/bonobo* $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - cp -a $install/usr/share/applications $fs/usr/share - cp -a $install/usr/share/gnome-2.0 $fs/usr/share +genpkg_rules() { + case $PACKAGE in + libbonoboui) + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/bonobo* $fs/usr/lib + cp -a $install/usr/lib/libglade $fs/usr/lib + cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/gnome-2.0 $fs/usr/share - # remove archive lib - find $fs/usr/lib -name "*.*a" -exec rm -f {} \; + # remove archive lib + find $fs/usr/lib -name "*.*a" -exec rm -f {} \; + DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib \ + popt libbonobo" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/libglade $fs/usr/lib + # remove archive lib + find $fs/usr/lib -name *.so* -exec rm -f {} \; + DEPENDS="libbonoboui libgnomecanvas-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libev-dev/receipt --- a/libev-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libev-dev" -VERSION="4.04" -CATEGORY="development" -SHORT_DESC="libev development files" -MAINTAINER="mallory@sweetpeople.org" -LICENSE="BSD" -WEB_SITE="http://software.schmorp.de/pkg/libev.html" - -WANTED="libev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - #cp -a $install/usr/lib/pkgconfig $fs/usr/lib - # /usr/include/event.h conflicts with libevent-dev - # https://www.opencsw.org/mantis/view.php?id=4376 - mv $fs/usr/include/event.h $fs/usr/include/ev-event.h -} - diff -r e323d0535e2c -r 4396aed7eb01 libev/receipt --- a/libev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libev/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,26 +1,38 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libev" VERSION="4.04" CATEGORY="system-tools" -SHORT_DESC="A full-featured and high-performance event loop." +SHORT_DESC="A full-featured and high-performance event loop" MAINTAINER="mallory@sweetpeople.org" LICENSE="BSD" +WEB_SITE="http://software.schmorp.de/pkg/libev.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://software.schmorp.de/pkg/libev.html" WGET_URL="http://dist.schmorp.de/libev/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +SPLIT="libev-dev" + +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libev) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + #cp -a $install/usr/lib/pkgconfig $fs/usr/lib + # /usr/include/event.h conflicts with libevent-dev + # https://www.opencsw.org/mantis/view.php?id=4376 + mv $fs/usr/include/event.h $fs/usr/include/ev-event.h + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libgringotts-dev/receipt --- a/libgringotts-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgringotts-dev" -VERSION="1.2.1" -CATEGORY="development" -SHORT_DESC="A Safebox for your Data, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://gringotts.shlomifish.org/" -WANTED="libgringotts" - -DEPENDS="libgringotts" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 libgringotts/receipt --- a/libgringotts/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libgringotts/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libgringotts" VERSION="1.2.1" CATEGORY="security" -SHORT_DESC="A Safebox for your Data." +SHORT_DESC="A Safebox for your Data" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://gringotts.shlomifish.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://gringotts.shlomifish.org/" WGET_URL="$SF_MIRROR/gringotts.berlios/$TARBALL" -DEPENDS="bzip2 zlib libmcrypt mhash" BUILD_DEPENDS="bzip2-dev zlib-dev libmcrypt-dev mhash-dev file" +SPLIT="libgringotts-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && @@ -23,9 +22,18 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libgringotts) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="bzip2 zlib libmcrypt mhash" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libhtp-dev/receipt --- a/libhtp-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libhtp-dev" -VERSION="0.2.6" -CATEGORY="development" -SHORT_DESC="SLibhtp dev files." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.openinfosecfoundation.org" -WANTED="libhtp" - -DEPENDS="libhtp pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 libhtp/receipt --- a/libhtp/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libhtp/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,27 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libhtp" VERSION="0.2.6" CATEGORY="system-tools" -SHORT_DESC="Security-aware parser for the HTTP protocol." +SHORT_DESC="Security-aware parser for the HTTP protocol" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="http://www.openinfosecfoundation.org" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.openinfosecfoundation.org/download/$TARBALL" BUILD_DEPENDS="zlib-dev" +SPLIT="libhtp-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libhtp) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 liblouis-dev/receipt --- a/liblouis-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="liblouis-dev" -VERSION="2.5.2-3" -CATEGORY="utilities" -LICENSE="GPL3" -SHORT_DESC="Open-source braille translator and back-translator." -MAINTAINER="yuripourre@gmail.com" -WEB_SITE="https://code.google.com/p/liblouis/" -WANTED="liblouis" -DEPENDS="liblouis" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/include - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include/* $fs/usr/include -} diff -r e323d0535e2c -r 4396aed7eb01 liblouis/receipt --- a/liblouis/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/liblouis/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,35 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="liblouis" VERSION="2.5.2-3" CATEGORY="utilities" LICENSE="GPL3" -SHORT_DESC="Open-source braille translator and back-translator." +SHORT_DESC="Open-source braille translator and back-translator" MAINTAINER="yuripourre@gmail.com" +WEB_SITE="https://code.google.com/p/liblouis/" + TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz" -WEB_SITE="https://code.google.com/p/liblouis/" WGET_URL="http://liblouis.googlecode.com/files/$TARBALL" -DEPENDS="glibc" BUILD_DEPENDS="python-dev" -SUGGESTED="help2man" +SPLIT="liblouis-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --prefix=/usr \ - --disable-static \ +compile_rules() { + ./configure \ + --prefix=/usr \ + --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + liblouis) + copy @std + DEPENDS="glibc" + SUGGESTED="help2man" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libmcs-dev/receipt --- a/libmcs-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmcs-dev" -VERSION="0.7.2" -WEB_SITE="http://www.atheme.org/libmcs/" -MAINTAINER="mimas@slitaz.org" -LICENSE="BSD" -CATEGORY="development" -WANTED="libmcs" -SHORT_DESC="Library for configuration storage" - -DEPENDS="libmowgli-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr/ - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 libmcs/receipt --- a/libmcs/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libmcs/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmcs" VERSION="0.7.2" @@ -6,30 +6,36 @@ SHORT_DESC="Library for configuration storage" MAINTAINER="mimas@slitaz.org" LICENSE="BSD" +WEB_SITE="http://www.atheme.org/libmcs/" + TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="http://www.atheme.org/libmcs/" WGET_URL="http://distfiles.atheme.org/$TARBALL" -DEPENDS="libmowgli" BUILD_DEPENDS="libmowgli-dev" +SPLIT="libmcs-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { sed -i 's/libmowgli/libmowgli-2/' configure configure.ac libmcs.pc.in sed -i "s/touch -t 0001010000 /touch /g" configure - ./configure $CONFIGURE_ARGS && - make && + ./configure $CONFIGURE_ARGS && + make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ - cp -a $install/usr/lib/mcs $fs/usr/lib/ +genpkg_rules() { + case $PACKAGE in + libmcs) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/libmcs.so* $fs/usr/lib/ + cp -a $install/usr/lib/mcs $fs/usr/lib/ + DEPENDS="libmowgli" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr/ + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + DEPENDS="libmcs libmowgli-dev" + ;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 libnjb-dev/receipt --- a/libnjb-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libnjb-dev" -VERSION="2.2.6" -CATEGORY="development" -SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ devel files" -MAINTAINER="keupont@no-log.org" -LICENSE="BSD" -WANTED="libnjb" -WEB_SITE="http://libnjb.sourceforge.net/" - -DEPENDS="libnjb libusb zlib pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr -} - diff -r e323d0535e2c -r 4396aed7eb01 libnjb/receipt --- a/libnjb/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libnjb/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,27 +1,32 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libnjb" VERSION="2.2.6" CATEGORY="system-tools" -SHORT_DESC="C library and API for communicating with the Creative Nomad JukeBox and Dell DJ" +SHORT_DESC="Communicating with the Creative Nomad JukeBox and Dell DJ" MAINTAINER="keupont@no-log.org" LICENSE="BSD" +WEB_SITE="http://libnjb.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://libnjb.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="libusb-compat" BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev udev-dev" +SPLIT="libnjb-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libnjb) + copy @std + DEPENDS="libusb-compat" + ;; + *-dev) + copy @dev + DEPENDS="libnjb libusb zlib pkg-config" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libnotify-gtk3-dev/receipt --- a/libnotify-gtk3-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libnotify-gtk3-dev" -VERSION="0.7.6" -CATEGORY="utilities" -SHORT_DESC="Development files for libnotify (GTK+3)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.galago-project.org/" -TAGS="gtk3" - -DEPENDS="libnotify-gtk3 pkg-config" -WANTED="libnotify-gtk3" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 libnotify-gtk3/receipt --- a/libnotify-gtk3/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libnotify-gtk3/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libnotify-gtk3" VERSION="0.7.6" @@ -7,18 +7,15 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="http://developer-next.gnome.org/libnotify/" -TAGS="gtk3" TARBALL="libnotify-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/libnotify/$(echo $VERSION | cut -d. -f1,2)/$TARBALL" -DEPENDS="gdk-pixbuf dbus" BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \ dbus-dev" +SPLIT="libnotify-gtk3-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --disable-static \ --enable-introspection \ @@ -28,10 +25,15 @@ make DESTDIR=$install install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libnotify-gtk3) + copy @std + DEPENDS="gdk-pixbuf dbus" + TAGS="gtk3" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 liboping-dev/receipt --- a/liboping-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="liboping-dev" -VERSION="1.9.0" -CATEGORY="development" -MAINTAINER="paul@slitaz.org" -LICENSE="LGPL2.1" -SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel (development files)" -WEB_SITE="http://noping.cc/" - -WANTED="liboping" -DEPENDS="liboping" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy perl5/ *.h *.a *.la *.pc -} diff -r e323d0535e2c -r 4396aed7eb01 liboping/receipt --- a/liboping/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/liboping/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="liboping" VERSION="1.9.0" CATEGORY="network" -SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel." +SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel" MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://noping.cc/" @@ -11,25 +11,28 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://noping.cc/files/$TARBALL" -DEPENDS="ncurses libcap" BUILD_DEPENDS="ncurses-dev perl-dev libcap-dev" +SPLIT="liboping-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy oping noping *.so* +genpkg_rules() { + case $PACKAGE in + liboping) + copy oping noping *.so* + DEPENDS="ncurses libcap" + ;; + *-dev) + copy perl5/ *.h *.a *.la *.pc + ;; + esac } -post_install() -{ +post_install_liboping() { chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping } diff -r e323d0535e2c -r 4396aed7eb01 libpano13-dev/receipt --- a/libpano13-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libpano13-dev" -VERSION="2.9.18" -CATEGORY="development" -SHORT_DESC="Panorama tools library, development tools." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://panotools.sourceforge.net/" -WANTED="libpano13" - -DEPENDS="libpano13 libpng16-dev jpeg-dev tiff-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 libpano13/receipt --- a/libpano13/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libpano13/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,34 +1,40 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libpano13" VERSION="2.9.18" CATEGORY="development" -SHORT_DESC="Panorama tools library." +SHORT_DESC="Panorama tools library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://panotools.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://panotools.sourceforge.net/" WGET_URL="$SF_MIRROR/panotools/$TARBALL" -DEPENDS="libpng16 jpeg tiff" BUILD_DEPENDS="bash libpng16-dev jpeg-dev tiff-dev" +SPLIT="libpano13-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr \ - --build=$HOST_SYSTEM \ - --host=$HOST_SYSTEM && +compile_rules() { + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/bin $fs/usr +genpkg_rules() { + case $PACKAGE in + libpano13) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/bin $fs/usr + DEPENDS="libpng16 jpeg tiff" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libpthread-stubs-dev/receipt --- a/libpthread-stubs-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libpthread-stubs-dev" -VERSION="0.2" -CATEGORY="development" -SHORT_DESC="Weak aliases for pthread functions development files" -MAINTAINER="erjo@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://xcb.freedesktop.org" - -WANTED="libpthread-stubs" -DEPENDS="libpthread-stubs pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 libpthread-stubs/receipt --- a/libpthread-stubs/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libpthread-stubs/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,26 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libpthread-stubs" VERSION="0.2" CATEGORY="x-window" -SHORT_DESC="Weak aliases for pthread functions." +SHORT_DESC="Weak aliases for pthread functions" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="http://xcb.freedesktop.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://xcb.freedesktop.org" WGET_URL="$WEB_SITE/dist/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +SPLIT="libpthread-stubs-dev" + +compile_rules() { ./configure $CONFIGURE_ARGS && make && make -j 1 install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libpthread-stubs) copy @std;; + *-dev) copy @dev;; + esac } - diff -r e323d0535e2c -r 4396aed7eb01 libsearpc-dev/receipt --- a/libsearpc-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsearpc-dev" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Devel headers and static lib for libsearpc." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL3" -WEB_SITE="https://github.com/haiwen/libsearpc/" - -WANTED="libsearpc" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p ${fs}/usr/lib - cp -a ${install}/usr/include ${fs}/usr - cp -a ${install}/usr/lib/*.*a ${fs}/usr/lib - cp -a ${install}/usr/lib/pkgconfig ${fs}/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 libsearpc/receipt --- a/libsearpc/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libsearpc/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,22 +1,21 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsearpc" VERSION="3.0.2" CATEGORY="network" -SHORT_DESC="A simple and easy-to-use C language RPC framework." +SHORT_DESC="A simple and easy-to-use C language RPC framework" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://github.com/haiwen/libsearpc/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/haiwen/libsearpc/" WGET_URL="https://github.com/haiwen/$PACKAGE/archive/v${VERSION}.tar.gz" -DEPENDS="python glib jansson" BUILD_DEPENDS="wget python-dev glib-dev jansson-dev python-simplejson \ automake libtool" +SPLIT="libsearpc-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./autogen.sh && ./configure \ --prefix=/usr \ @@ -25,11 +24,20 @@ make -j 1 && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p ${fs}/usr/lib - cp -a ${install}/usr/bin ${fs}/usr - cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib - cp -a ${install}/usr/lib/python* ${fs}/usr/lib +genpkg_rules() { + case $PACKAGE in + libsearpc) + mkdir -p ${fs}/usr/lib + cp -a ${install}/usr/bin ${fs}/usr + cp -a ${install}/usr/lib/*.so* ${fs}/usr/lib + cp -a ${install}/usr/lib/python* ${fs}/usr/lib + DEPENDS="python glib jansson" + ;; + *-dev) + mkdir -p ${fs}/usr/lib + cp -a ${install}/usr/include ${fs}/usr + cp -a ${install}/usr/lib/*.*a ${fs}/usr/lib + cp -a ${install}/usr/lib/pkgconfig ${fs}/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libsieve-dev/receipt --- a/libsieve-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsieve-dev" -VERSION="2.3.1" -CATEGORY="development" -SHORT_DESC="A library for parsing, sorting and filtering your mail, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://libsieve.sourceforge.net/" -WANTED="libsieve" - -DEPENDS="libsieve pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 libsieve/receipt --- a/libsieve/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libsieve/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,28 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsieve" VERSION="2.3.1" CATEGORY="network" -SHORT_DESC="A library for parsing, sorting and filtering your mail." +SHORT_DESC="A library for parsing, sorting and filtering your mail" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://libsieve.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://libsieve.sourceforge.net/" WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL" -BUILD_DEPENDS="wget" +SPLIT="libsieve-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr $CONFIGURE_ARGS && +compile_rules() { + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libsieve) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libv4l-dev/receipt --- a/libv4l-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libv4l-dev" -VERSION="0.8.5" -CATEGORY="development" -SHORT_DESC="libv4l devel library." -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="libv4l" -WEB_SITE="http://freshmeat.net/projects/libv4l" -SOURCE=v4l-utils - -DEPENDS="libv4l pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 libv4l/receipt --- a/libv4l/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libv4l/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libv4l" VERSION="0.8.5" @@ -7,31 +7,36 @@ LICENSE="GPL2" SHORT_DESC="Userspace library for Video 4 Linux (1 and 2)" WEB_SITE="http://freshmeat.net/projects/libv4l" -SOURCE="v4l-utils" -TARBALL="$SOURCE-$VERSION.tar.bz2" + +TARBALL="v4l-utils-$VERSION.tar.bz2" WGET_URL="http://linuxtv.org/downloads/v4l-utils/$TARBALL" -TAGS="webcam video" -DEPENDS="libjpeg" BUILD_DEPENDS="jpeg-dev" +SPLIT="libv4l" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { make && make install PREFIX="/usr" DESTDIR="$DESTDIR" } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*so* $fs/usr/lib/ - cp -a $install/usr/lib/$PACKAGE $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libv4l) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*so* $fs/usr/lib/ + cp -a $install/usr/lib/$PACKAGE $fs/usr/lib + DEPENDS="libjpeg" + TAGS="webcam video" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } -post_install() -{ +post_install_libv4l() { lib='/usr/lib/libv4l/v4l1compat.so' if [ -e "$1$lib" ]; then grep -q "^export LD_PRELOAD=$lib$" "$1/etc/profile" || @@ -39,7 +44,6 @@ fi } -post_remove() -{ +post_remove_libv4l() { sed -i '/export LD_PRELOAD=\/usr\/lib\/libv4l\/v4l1compat.so/d' "$1/etc/profile" } diff -r e323d0535e2c -r 4396aed7eb01 libxdg-basedir-dev/receipt --- a/libxdg-basedir-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libxdg-basedir-dev" -VERSION="1.2.0" -CATEGORY="development" -SHORT_DESC="libxdg-basedir development files" -MAINTAINER="mallory@sweetpeople.org" -LICENSE="MIT" -WEB_SITE="https://github.com/devnev/libxdg-basedir" - -WANTED="libxdg-basedir" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 libxdg-basedir/receipt --- a/libxdg-basedir/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libxdg-basedir/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,20 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libxdg-basedir" VERSION="1.2.0" CATEGORY="development" -SHORT_DESC="Implements functions for the XDG Base Directory specification." +SHORT_DESC="Implements functions for the XDG Base Directory specification" MAINTAINER="mallory@sweetpeople.org" LICENSE="MIT" +WEB_SITE="https://github.com/devnev/libxdg-basedir" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/devnev/libxdg-basedir" WGET_URL="https://github.com/devnev/$PACKAGE/archive/$TARBALL" -BUILD_DEPENDS="wget autoconf automake libtool" +BUILD_DEPENDS="autoconf automake libtool" +SPLIT="libxdg-basedir-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { unset CFLAGS ./autogen.sh \ --prefix=/usr \ @@ -22,10 +22,10 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libxdg-basedir) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 libxfcegui4-dev/receipt --- a/libxfcegui4-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libxfcegui4-dev" -VERSION="4.10.0" -CATEGORY="development" -SHORT_DESC="Xfce Gtk Widget library dev files" -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL2" -WANTED="libxfcegui4" -WEB_SITE="http://www.xfce.org" - -DEPENDS="gtk+ libxfcegui4 libxfce4util-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib \ - $fs/usr - - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 libxfcegui4/receipt --- a/libxfcegui4/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/libxfcegui4/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libxfcegui4" VERSION="4.10.0" @@ -6,21 +6,20 @@ SHORT_DESC="Xfce Gtk Widget library" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.xfce.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.xfce.org" WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade" -BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev - libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev" +BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev \ +libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev" +SPLIT="libxfcegui4-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { # xfce_setenv is removed in libxfce4util 4.11.0 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c - ./configure --prefix=/usr \ + ./configure \ + --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-static \ @@ -30,20 +29,28 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - - mkdir -p $fs/usr/lib \ - $fs/usr/share/locale - - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/libglade $fs/usr/lib - cp -a $install/usr/share/locale/fr $fs/usr/share/locale - cp -a $install/usr/share/icons $fs/usr/share - - # Remove SVG icons - rm -rf $fs/usr/share/icons/hicolor/scalable - +genpkg_rules() { + case $PACKAGE in + libxfcegui4) + mkdir -p $fs/usr/lib \ + $fs/usr/share/locale + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/libglade $fs/usr/lib + cp -a $install/usr/share/locale/fr $fs/usr/share/locale + cp -a $install/usr/share/icons $fs/usr/share + # Remove SVG icons + rm -rf $fs/usr/share/icons/hicolor/scalable + DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib \ + libglade" + ;; + *-dev) + mkdir -p $fs/usr/lib \ + $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + DEPENDS="gtk+ libxfcegui4 libxfce4util-dev pkg-config" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lightdm-dev/receipt --- a/lightdm-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lightdm-dev" -VERSION="1.5.3" -CATEGORY="development" -SHORT_DESC="Development files for lightdm" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL3 LGPL3" -WEB_SITE="https://launchpad.net/lightdm" - -WANTED="lightdm" -DEPENDS="lightdm glib-dev libxklavier-dev xorg-libX11-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/girepository* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/share/gir* $fs/usr/share - cp -a $install/usr/share/vala $fs/usr/share -} diff -r e323d0535e2c -r 4396aed7eb01 lightdm-gtk2-greeter/receipt --- a/lightdm-gtk2-greeter/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lightdm-gtk2-greeter/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lightdm-gtk2-greeter" VERSION="1.5.1" @@ -7,53 +7,85 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="https://launchpad.net/lightdm-gtk-greeter" -SOURCE="lightdm-gtk-greeter" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://launchpad.net/$SOURCE/1.6/$VERSION/+download/$TARBALL" -DEPENDS="gtk+ lightdm" -BUILD_DEPENDS="gobject-introspection-dev gtk+-dev lightdm-dev libxklavier-dev \ -wget intltool" +TARBALL="lightdm-gtk-greeter-$VERSION.tar.gz" +WGET_URL="https://launchpad.net/lightdm-gtk-greeter/1.6/$VERSION/+download/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +BUILD_DEPENDS="gobject-introspection-dev gtk+-dev gtk+3-dev lightdm-dev \ +libxklavier-dev intltool" +SPLIT="lightdm-gtk3-greeter:gtk3" + +compile_rules() { + case $SET in + '') SET_ARGS='--with-gtk2';; + gtk3) SET_ARGS='';; + esac + ./configure \ --sysconfdir=/etc \ --disable-static \ --enable-introspection \ - --with-gtk2 \ + $SET_ARGS \ $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/locale - cp -a $install/etc $fs - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/share/xgreeters $fs/usr/share +genpkg_rules() { + case $PACKAGE in + lightdm-gtk2-greeter) + mkdir -p $fs/usr/share/locale + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/share/xgreeters $fs/usr/share - # localization - . $WOK/slitaz-i18n/stuff/locale-pack.conf - for lang in $LOCALE_PACK; do - langf=$install/usr/share/locale/$lang - [ -d $langf ] && cp -a $langf $fs/usr/share/locale - done + # localization + . $WOK/slitaz-i18n/stuff/locale-pack.conf + for lang in $LOCALE_PACK; do + langf=$install/usr/share/locale/$lang + [ -d $langf ] && cp -a $langf $fs/usr/share/locale + done + CAT="x-window|GTK+2" + DEPENDS="gtk+ lightdm" + ;; + lightdm-gtk3-greeter) + mkdir -p $fs/usr/share/locale + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/share/xgreeters $fs/usr/share + + # localization + . $WOK/slitaz-i18n/stuff/locale-pack.conf + for lang in $LOCALE_PACK; do + langf=$install/usr/share/locale/$lang + [ -d $langf ] && cp -a $langf $fs/usr/share/locale + done + CAT="x-window|GTK+3" + DEPENDS="gtk+3 lightdm" + ;; + esac } -post_install() -{ +post_install_lightdm_gtk2_greeter() { echo 'make lightdm-gtk2-greeter default greeter' sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk2-greeter #|' \ "$1/etc/lightdm/lightdm.conf" } -post_remove() -{ +post_remove_lightdm_gtk2_greeter() { echo 'back to default greeter' sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \ "$1/etc/lightdm/lightdm.conf" } + +post_install_lightdm_gtk3_greeter() { + echo 'make lightdm-gtk3-greeter default greeter' + sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk3-greeter #|' \ + "$1/etc/lightdm/lightdm.conf" +} + +post_remove_lightdm_gtk3_greeter() { + echo 'back to default greeter' + sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \ + "$1/etc/lightdm/lightdm.conf" +} diff -r e323d0535e2c -r 4396aed7eb01 lightdm-gtk3-greeter/receipt --- a/lightdm-gtk3-greeter/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lightdm-gtk3-greeter" -VERSION="1.5.1" -CATEGORY="x-window" -SHORT_DESC="Reference GTK+3 greeter for LightDM" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL3" -WEB_SITE="https://launchpad.net/lightdm-gtk-greeter" -SOURCE="lightdm-gtk-greeter" -TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://launchpad.net/$SOURCE/1.6/$VERSION/+download/$TARBALL" - -DEPENDS="gtk+3 lightdm" -BUILD_DEPENDS="gobject-introspection-dev gtk+3-dev lightdm-dev libxklavier-dev \ -wget intltool" - -# Rules to configure and make the package. -compile_rules() -{ - ./configure \ - --sysconfdir=/etc \ - --disable-static \ - --enable-introspection \ - $CONFIGURE_ARGS && - make && - make install -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/locale - cp -a $install/etc $fs - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/share/xgreeters $fs/usr/share - - # localization - . $WOK/slitaz-i18n/stuff/locale-pack.conf - for lang in $LOCALE_PACK; do - langf=$install/usr/share/locale/$lang - [ -d $langf ] && cp -a $langf $fs/usr/share/locale - done -} - -post_install() -{ - echo 'make lightdm-gtk3-greeter default greeter' - sed -i 's|^# \(greeter-session =\)|\1 lightdm-gtk3-greeter #|' \ - "$1/etc/lightdm/lightdm.conf" -} - -post_remove() -{ - echo 'back to default greeter' - sed -i 's|^\(greeter-session =\).*#\(.*\)|#\1\2|' \ - "$1/etc/lightdm/lightdm.conf" -} diff -r e323d0535e2c -r 4396aed7eb01 lightdm-qt-dev/receipt --- a/lightdm-qt-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lightdm-qt-dev" -VERSION="1.5.3" -CATEGORY="development" -SHORT_DESC="Development files for lightdm-qt" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL3 LGPL3" -WEB_SITE="https://launchpad.net/lightdm" - -WANTED="lightdm-qt" -DEPENDS="Qt4-dev lightdm-dev lightdm-qt xorg-libXi-dev xorg-libxkbfile-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/girepository* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.la $fs/usr/lib - cp -a $install/usr/share/gir* $fs/usr/share - cp -a $install/usr/share/vala $fs/usr/share -} diff -r e323d0535e2c -r 4396aed7eb01 lightdm-qt/receipt --- a/lightdm-qt/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lightdm-qt/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lightdm-qt" VERSION="1.5.3" @@ -7,21 +7,17 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3 LGPL3" WEB_SITE="https://launchpad.net/lightdm" -SOURCE="lightdm" -TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="https://launchpad.net/$SOURCE/1.8/$VERSION/+download/$TARBALL" HELP="https://wiki.archlinux.org/index.php/LightDM" -CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ -/etc/lightdm/lightdm.conf /etc/lightdm/users.conf" -DEPENDS="libQtDBus libQtGui libgcrypt glib libxklavier pam" -BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool libxklavier-dev \ -libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev xorg-libXi-dev \ -xorg-libxkbfile-dev gettext intltool" +TARBALL="lightdm-$VERSION.tar.xz" +WGET_URL="https://launchpad.net/lightdm/1.8/$VERSION/+download/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ +BUILD_DEPENDS="Qt4-dev gobject-introspection-dev pam-dev itstool \ +libxklavier-dev libgcrypt-dev wget xorg-libXdmcp-dev xorg-libX11-dev \ +xorg-libXi-dev xorg-libxkbfile-dev gettext intltool" +SPLIT="lightdm-qt-dev" + +compile_rules() { ./configure \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ @@ -35,22 +31,40 @@ make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share/locale - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/lightdm $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/sbin $fs/usr +genpkg_rules() { + case $PACKAGE in + lightdm-qt) + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share/locale + cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/lightdm $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/sbin $fs/usr - # localization - . $WOK/slitaz-i18n/stuff/locale-pack.conf - for lang in $LOCALE_PACK; do - langf=$install/usr/share/locale/$lang - [ -d $langf ] && cp -a $langf $fs/usr/share/locale - done + # localization + . $WOK/slitaz-i18n/stuff/locale-pack.conf + for lang in $LOCALE_PACK; do + langf=$install/usr/share/locale/$lang + [ -d $langf ] && cp -a $langf $fs/usr/share/locale + done + CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ + /etc/lightdm/lightdm.conf /etc/lightdm/users.conf" + DEPENDS="libQtDBus libQtGui libgcrypt glib libxklavier pam" + ;; + *-dev) + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/girepository* $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/share/gir* $fs/usr/share + cp -a $install/usr/share/vala $fs/usr/share + DEPENDS="Qt4-dev lightdm-dev lightdm-qt xorg-libXi-dev \ + xorg-libxkbfile-dev pkg-config" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lightdm/receipt --- a/lightdm/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lightdm/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lightdm" VERSION="1.5.3" @@ -7,19 +7,17 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3 LGPL3" WEB_SITE="https://launchpad.net/lightdm" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://launchpad.net/$PACKAGE/1.6/$VERSION/+download/$TARBALL" + HELP="https://wiki.archlinux.org/index.php/LightDM" -CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ -/etc/lightdm/lightdm.conf /etc/lightdm/users.conf" -DEPENDS="libgcrypt glib libxklavier pam xorg-libX11" BUILD_DEPENDS="gobject-introspection-dev pam-dev itstool libxklavier-dev \ -libgcrypt-dev wget intltool" +libgcrypt-dev intltool" +SPLIT="lightdm-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --libexecdir=/usr/lib \ --sysconfdir=/etc \ @@ -33,22 +31,39 @@ make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p \ - $fs/usr/lib \ - $fs/usr/share/locale - cp -a $install/etc $fs - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/lightdm $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/sbin $fs/usr +genpkg_rules() { + case $PACKAGE in + lightdm) + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share/locale + cp -a $install/etc $fs + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/lightdm $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/sbin $fs/usr - # localization - . $WOK/slitaz-i18n/stuff/locale-pack.conf - for lang in $LOCALE_PACK; do - langf=$install/usr/share/locale/$lang - [ -d $langf ] && cp -a $langf $fs/usr/share/locale - done + # localization + . $WOK/slitaz-i18n/stuff/locale-pack.conf + for lang in $LOCALE_PACK; do + langf=$install/usr/share/locale/$lang + [ -d $langf ] && cp -a $langf $fs/usr/share/locale + done + DEPENDS="libgcrypt glib libxklavier pam xorg-libX11" + CONFIG_FILES="/etc/init/lightdm.conf /etc/lightdm/keys.conf \ + /etc/lightdm/lightdm.conf /etc/lightdm/users.conf" + ;; + *-dev) + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/girepository* $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/share/gir* $fs/usr/share + cp -a $install/usr/share/vala $fs/usr/share + DEPENDS="lightdm glib-dev libxklavier-dev xorg-libX11-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lorcon-dev/receipt --- a/lorcon-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lorcon-dev" -VERSION="163" -CATEGORY="development" -SHORT_DESC="devel files for lorcon" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://802.11ninja.net/lorcon/" -WANTED="lorcon" - -DEPENDS="lorcon" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.a $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 lorcon/receipt --- a/lorcon/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lorcon/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,22 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lorcon" VERSION="163" CATEGORY="network" -SHORT_DESC="A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code." +SHORT_DESC="A generic library for injecting 802.11 frames, capable of \ +injection via multiple driver frameworks, without forcing modification of the \ +application code" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="http://802.11ninja.net/lorcon/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" +BRANCH="$VERSION" WGET_URL="subversion|http://802.11ninja.net/svn/lorcon/trunk" -BRANCH="$VERSION" BUILD_DEPENDS="subversion" +SPLIT="lorcon-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { touch -d 197001010000 .depend ./configure \ --prefix=/usr \ @@ -26,10 +27,10 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + lorcon) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lua5.1-dev/receipt --- a/lua5.1-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="lua5.1-dev" -VERSION="5.1.4" -CATEGORY="development" -SHORT_DESC="Lua devel files." -WANTED="lua5.1" -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.lua.org/" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1 - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 - ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a - cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc -} diff -r e323d0535e2c -r 4396aed7eb01 lua5.1/receipt --- a/lua5.1/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/lua5.1/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,40 +1,47 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="lua5.1" VERSION="5.1.4" -SOURCE="lua" CATEGORY="development" -SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language." +SHORT_DESC="Powerful, fast, light-weight, embeddable scripting language" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.lua.org/" + +TARBALL="lua-$VERSION.tar.gz" WGET_URL="http://www.lua.org/ftp/$TARBALL" -DEPENDS="readline ncurses" BUILD_DEPENDS="readline-dev" +SPLIT="lua5.1-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - patch -p0 < $stuff/lua5.1-paths.patch || exit 1 - sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc +compile_rules() { + sed -i "s#prefix= /usr/local#prefix= /usr#" etc/lua.pc sed -i "s#${prefix}/lib#${prefix}/lib/lua/5.1#" etc/lua.pc - sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc - sed -i "s#/usr/local/#/usr/#" src/luaconf.h - sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h - sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile + sed -i "s#/include#/include/lua/5.1#g" etc/lua.pc + sed -i "s#/usr/local/#/usr/#" src/luaconf.h + sed -i "s#share/lua/5.1/#lib/lua/5.1/#" src/luaconf.h + sed -i s"/-O2/-Os -march=$ARCH/" src/Makefile + make linux && make install \ INSTALL_TOP=$DESTDIR/usr \ INSTALL_MAN=$DESTDIR/usr/share/man/man1 } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1 - cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1 - cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1 +genpkg_rules() { + case $PACKAGE in + lua5.1) + mkdir -p $fs/usr/bin $fs/usr/lib/lua/5.1 + cp -a $install/usr/bin/lua $fs/usr/bin/lua5.1 + cp -a $install/usr/bin/luac $fs/usr/bin/luac5.1 + DEPENDS="readline ncurses" + ;; + *-dev) + mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/lua/5.1 + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/lua/5.1/liblua.a $fs/usr/lib/lua/5.1 + ln -s liblua.a $fs/usr/lib/lua/5.1/liblua5.1.a + cp -a $src/etc/lua.pc $fs/usr/lib/pkgconfig/lua5.1.pc + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 lua5.1/stuff/lua5.1-paths.patch --- a/lua5.1/stuff/lua5.1-paths.patch Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---- Makefile -+++ stuff/Makefile -@@ -9,15 +9,15 @@ - - # Where to install. The installation starts in the src and doc directories, - # so take care if INSTALL_TOP is not an absolute path. --INSTALL_TOP= /usr/local -+INSTALL_TOP= /usr - INSTALL_BIN= $(INSTALL_TOP)/bin --INSTALL_INC= $(INSTALL_TOP)/include --INSTALL_LIB= $(INSTALL_TOP)/lib -+INSTALL_INC= $(INSTALL_TOP)/include/lua/$V -+INSTALL_LIB= $(INSTALL_TOP)/lib/lua/$V - INSTALL_MAN= $(INSTALL_TOP)/man/man1 - # - # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with - # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc). --INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V -+INSTALL_LMOD= $(INSTALL_TOP)/lib/lua/$V - INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V - - # How to install. If your install program does not support "-p", then you diff -r e323d0535e2c -r 4396aed7eb01 lua5.1/stuff/patches/lua5.1-paths.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua5.1/stuff/patches/lua5.1-paths.patch Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,22 @@ +--- Makefile ++++ stuff/Makefile +@@ -9,15 +9,15 @@ + + # Where to install. The installation starts in the src and doc directories, + # so take care if INSTALL_TOP is not an absolute path. +-INSTALL_TOP= /usr/local ++INSTALL_TOP= /usr + INSTALL_BIN= $(INSTALL_TOP)/bin +-INSTALL_INC= $(INSTALL_TOP)/include +-INSTALL_LIB= $(INSTALL_TOP)/lib ++INSTALL_INC= $(INSTALL_TOP)/include/lua/$V ++INSTALL_LIB= $(INSTALL_TOP)/lib/lua/$V + INSTALL_MAN= $(INSTALL_TOP)/man/man1 + # + # You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with + # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc). +-INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V ++INSTALL_LMOD= $(INSTALL_TOP)/lib/lua/$V + INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V + + # How to install. If your install program does not support "-p", then you diff -r e323d0535e2c -r 4396aed7eb01 lua5.1/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lua5.1/stuff/patches/series Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,1 @@ +-p0|lua5.1-paths.patch diff -r e323d0535e2c -r 4396aed7eb01 mesa-wayland-dev/receipt --- a/mesa-wayland-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="mesa-wayland-dev" -VERSION="9.1.3" -CATEGORY="development" -SHORT_DESC="Wayland X server devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WANTED="mesa-wayland" -WEB_SITE="http://www.mesa3d.org/" - -DEPENDS="pkg-config udev-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/dri - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/dri/*.*a $fs/usr/lib/dri - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r e323d0535e2c -r 4396aed7eb01 mesa-wayland/receipt --- a/mesa-wayland/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/mesa-wayland/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,38 +1,29 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mesa-wayland" VERSION="9.1.3" CATEGORY="x-window" -SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -SUGGESTED="nvidia" -SOURCE="Mesa" -TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" WEB_SITE="http://www.mesa3d.org/" + +TARBALL="MesaLib-$VERSION.tar.bz2" WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL" -# Have Wayland support by default ? -PROVIDE="libgl libegl-mesa libglw-mesa" - -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \ -wayland" -BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ +BUILD_DEPENDS_arm="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ lesstif libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev gettext" +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ +xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto lesstif \ +libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev gettext talloc \ +xorg-makedepend xorg-imake file libdrm-nouveau llvm libtool automake autoconf \ +libpthread-stubs-dev" +SPLIT="mesa-wayland-dev" -# Use some build system tools -case "$ARCH" in - i?86) - BUILD_DEPENDS="$BUILD_DEPENDS talloc xorg-makedepend xorg-imake \ - file libdrm-nouveau llvm libtool automake autoconf libpthread-stubs-dev" ;; -esac - -# Rules to configure and make the package. -compile_rules() -{ - find . -name 'nouveau*.h' | \ - xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' +compile_rules() { + find . -name 'nouveau*.h' \ + | xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc/X11/${PACKAGE} \ @@ -46,21 +37,36 @@ make $MAKEFLAGS && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/dri - cp -a $install/etc $fs - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri +genpkg_rules() { + case $PACKAGE in + mesa-wayland) + mkdir -p $fs/usr/lib/dri + cp -a $install/etc $fs + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri - # libGLU is included in the package libglu-mesa - #rm -r -f $fs/usr/lib/libGLU* + # libGLU is included in the package libglu-mesa + #rm -r -f $fs/usr/lib/libGLU* - #libGLw is included in the package libglw-mesa - #rm -r -f $fs/usr/lib/libGLw* + #libGLw is included in the package libglw-mesa + #rm -r -f $fs/usr/lib/libGLw* - #libEGL is included in the package libegl-mesa - #rm -r -f $fs/usr/lib/libEGL* + #libEGL is included in the package libegl-mesa + #rm -r -f $fs/usr/lib/libEGL* + DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt \ + udev wayland" + SUGGESTED="nvidia" + # Have Wayland support by default ? + PROVIDE="libgl libegl-mesa libglw-mesa" + ;; + *-dev) + mkdir -p $fs/usr/lib/dri + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/dri/*.*a $fs/usr/lib/dri + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + DEPENDS="mesa-wayland udev-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 mgetty-voicetools/receipt --- a/mgetty-voicetools/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="mgetty-voicetools" -VERSION="1.1.37" -CATEGORY="network" -SHORT_DESC="Convertion tool set for vgetty." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://mgetty.greenie.net/" -DEPENDS="mgetty" -WANTED="mgetty" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 mgetty/receipt --- a/mgetty/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/mgetty/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,20 +1,19 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mgetty" VERSION="1.1.37" CATEGORY="network" -SHORT_DESC="reliable and proven fax send and receive solution." +SHORT_DESC="Reliable and proven fax send and receive solution" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://mgetty.greenie.net/" + TARBALL="$PACKAGE$VERSION-Jun05.tar.gz" -WEB_SITE="http://mgetty.greenie.net/" WGET_URL="ftp://mgetty.greenie.net/pub/$PACKAGE/source/${VERSION%.*}/$TARBALL" -DEPENDS="slitaz-base-files" -CONFIG_FILES="/etc/mgetty+sendfax" -# Rules to configure and make the package. -compile_rules() -{ +SPLIT="mgetty-voicetools" + +compile_rules() { [ -f Makefile.dist ] && mv -f Makefile.dist Makefile cp Makefile Makefile.dist cp Makefile Makefile.install @@ -39,21 +38,29 @@ make -k install.bin vgetty-install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/etc $fs - cp -a $install/var $fs - chmod 755 $fs/var/spool/fax +genpkg_rules() { + case $PACKAGE in + mgetty) + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/etc $fs + cp -a $install/var $fs + chmod 755 $fs/var/spool/fax + DEPENDS="slitaz-base-files" + CONFIG_FILES="/etc/mgetty+sendfax" + ;; + mgetty-voicetools) + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + CAT="network|convertion tool set for vgetty" + DEPENDS="mgetty" + ;; + esac } -# Pre and post install commands for Tazpkg. -post_install() -{ - # adduser fax if needed +# adduser fax if needed +post_install_mgetty() { if ! grep -q fax "$1/etc/passwd"; then echo -n "Adding user fax..." chroot "$1/" adduser fax -D -H -S @@ -62,7 +69,6 @@ chroot "$1/" chown fax /var/spool/fax } -post_remove() -{ +post_remove_mgetty() { chroot "$1/" deluser fax } diff -r e323d0535e2c -r 4396aed7eb01 mobile-broadband-provider-info-dev/receipt --- a/mobile-broadband-provider-info-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="mobile-broadband-provider-info-dev" -VERSION="20120614" -CATEGORY="development" -SHORT_DESC="Service Provider Database (dev)" -MAINTAINER="domcox@slitaz.org" -LICENSE="cc-pd" -WEB_SITE="http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders" -WANTED="mobile-broadband-provider-info" - -DEPENDS="mobile-broadband-provider-info pkg-config" -BUILD_DEPENDS="" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/share/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 mobile-broadband-provider-info/receipt --- a/mobile-broadband-provider-info/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/mobile-broadband-provider-info/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="mobile-broadband-provider-info" VERSION="20120614" @@ -7,21 +7,25 @@ MAINTAINER="domcox@slitaz.org" LICENSE="cc-pd" WEB_SITE="http://live.gnome.org/NetworkManager/MobileBroadband/ServiceProviders" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/$VERSION/$TARBALL" -DEPENDS="" -BUILD_DEPENDS="" +SPLIT="mobile-broadband-provider-info-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/$PACKAGE $fs/usr/share +genpkg_rules() { + case $PACKAGE in + mobile-broadband-provider-info) + mkdir -p $fs/usr/share + cp -a $install/usr/share/$PACKAGE $fs/usr/share + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/share/pkgconfig $fs/usr/lib + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/receipt --- a/module-init-tools/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/module-init-tools/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="module-init-tools" VERSION="3.12" CATEGORY="base-system" -SHORT_DESC="Kernel modules manipulation tools." +SHORT_DESC="Kernel modules manipulation tools" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/module-init-tools/" @@ -11,22 +11,10 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}$TARBALL" -DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod" -BUILD_DEPENDS="wget zlib-dev lzlib-dev lzlib" +BUILD_DEPENDS="zlib-dev lzlib-dev lzlib" +SPLIT="depmod" -# Rules to configure and make the package. -compile_rules() -{ - for patch_file in lzlib depmod; do - if [ -f done.$patch_file ]; then - echo "Skipping $patch_file" - continue - fi - echo "Apply $patch_file.u" - patch -p1 < $stuff/$patch_file.u || return 1 - touch done.$patch_file - done - +compile_rules() { # Don't generate manpages to avoid failure. echo '.so man5/modprobe.conf.5' > modprobe.d.5 @@ -36,26 +24,28 @@ --bindir=/bin \ --sysconfdir=/etc \ $CONFIGURE_ARGS && - make && make install + make && make install || return 1 + + # Create the modprobe config directory + mkdir -p $install/etc/modprobe.d } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/sbin $fs/etc - cp $install/sbin/insmod $fs/sbin - cp $install/sbin/modinfo $fs/sbin - cp $install/sbin/modprobe $fs/sbin - cp $install/sbin/rmmod $fs/sbin - # lsmod goes in /bin. - cp -a $install/bin $fs - # Create the modprobe config directory - mkdir -p $fs/etc/modprobe.d +genpkg_rules() { + case $PACKAGE in + depmod) + copy depmod + CAT="base-system|Kernel modules dependancy tool" + DEPENDS="glibc-base gcc-lib-base zlib lzlib" + ;; + module-init-tools) + copy @std @rm + DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod" + ;; + esac } # Remove Busybox symlink before installing -pre_install() -{ +pre_install_module_init_tools() { rm -f "$1/sbin/insmod" rm -f "$1/sbin/modinfo" rm -f "$1/sbin/modprobe" @@ -63,3 +53,8 @@ # BusyBox puts lsmod in /sbin, not /bin rm -f "$1/sbin/lsmod" } + +# Overlap busybox +pre_install_depmod() { + rm -f "$1/sbin/depmod" +} diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/stuff/depmod.u --- a/module-init-tools/stuff/depmod.u Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---- module-init-tools-3.10/depmod.c -+++ module-init-tools-3.10/depmod.c -@@ -439,16 +439,16 @@ - { - struct module *i; - -+ (void) dirname; /* force full path for busybox modprobe */ - for (i = modules; i; i = i->next) { - struct list_head *j, *tmp; - order_dep_list(i, i); - -- fprintf(out, "%s:", compress_path(i->pathname, dirname)); -+ fprintf(out, "%s:", i->pathname); - list_for_each_safe(j, tmp, &i->dep_list) { - struct module *dep - = list_entry(j, struct module, dep_list); -- fprintf(out, " %s", -- compress_path(dep->pathname, dirname)); -+ fprintf(out, " %s", dep->pathname); - list_del_init(j); - } - fprintf(out, "\n"); diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/stuff/lzlib.u --- a/module-init-tools/stuff/lzlib.u Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ ---- module-init-tools-3.10/zlibsupport.c -+++ module-init-tools-3.10/zlibsupport.c -@@ -18,43 +18,23 @@ - #include "testing.h" - - #ifdef CONFIG_USE_ZLIB --#include -- --void *grab_contents(gzFile *gzfd, unsigned long *size) --{ -- unsigned int max = 16384; -- void *buffer = NOFAIL(malloc(max)); -- int ret; -- -- *size = 0; -- while ((ret = gzread(gzfd, buffer + *size, max - *size)) > 0) { -- *size += ret; -- if (*size == max) -- buffer = NOFAIL(realloc(buffer, max *= 2)); -- } -- if (ret < 0) { -- free(buffer); -- buffer = NULL; -- } -- -- return buffer; --} -+#include - - /* gzopen handles uncompressed files transparently. */ - void *grab_file(const char *filename, unsigned long *size) - { -- gzFile gzfd; -+ lzFile lzfd; - void *buffer; - - errno = 0; -- gzfd = gzopen(filename, "rb"); -- if (!gzfd) { -+ lzfd = lzopen(filename, "rb"); -+ if (!lzfd) { - if (errno == ENOMEM) - fatal("Memory allocation failure in gzopen\n"); - return NULL; - } -- buffer = grab_contents(gzfd, size); -- gzclose(gzfd); -+ buffer = lzgrab(lzfd, size); -+ lzclose(lzfd); - return buffer; - } - - ---- module-init-tools-3.9/configure -+++ module-init-tools-3.9/configure -@@ -2590,7 +2590,7 @@ - #define CONFIG_USE_ZLIB 1 - _ACEOF - -- zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic" -+ zlib_flags="-Wl,-Bdynamic -lz -llz" - fi - fi - -@@ -2602,7 +2602,7 @@ - #define CONFIG_USE_ZLIB 1 - _ACEOF - -- zlib_flags="-lz" -+ zlib_flags="-lz -llz" - fi - fi - diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/stuff/patches/depmod.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/module-init-tools/stuff/patches/depmod.u Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,22 @@ +--- module-init-tools-3.10/depmod.c ++++ module-init-tools-3.10/depmod.c +@@ -439,16 +439,16 @@ + { + struct module *i; + ++ (void) dirname; /* force full path for busybox modprobe */ + for (i = modules; i; i = i->next) { + struct list_head *j, *tmp; + order_dep_list(i, i); + +- fprintf(out, "%s:", compress_path(i->pathname, dirname)); ++ fprintf(out, "%s:", i->pathname); + list_for_each_safe(j, tmp, &i->dep_list) { + struct module *dep + = list_entry(j, struct module, dep_list); +- fprintf(out, " %s", +- compress_path(dep->pathname, dirname)); ++ fprintf(out, " %s", dep->pathname); + list_del_init(j); + } + fprintf(out, "\n"); diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/stuff/patches/lzlib.u --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/module-init-tools/stuff/patches/lzlib.u Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,73 @@ +--- module-init-tools-3.10/zlibsupport.c ++++ module-init-tools-3.10/zlibsupport.c +@@ -18,43 +18,23 @@ + #include "testing.h" + + #ifdef CONFIG_USE_ZLIB +-#include +- +-void *grab_contents(gzFile *gzfd, unsigned long *size) +-{ +- unsigned int max = 16384; +- void *buffer = NOFAIL(malloc(max)); +- int ret; +- +- *size = 0; +- while ((ret = gzread(gzfd, buffer + *size, max - *size)) > 0) { +- *size += ret; +- if (*size == max) +- buffer = NOFAIL(realloc(buffer, max *= 2)); +- } +- if (ret < 0) { +- free(buffer); +- buffer = NULL; +- } +- +- return buffer; +-} ++#include + + /* gzopen handles uncompressed files transparently. */ + void *grab_file(const char *filename, unsigned long *size) + { +- gzFile gzfd; ++ lzFile lzfd; + void *buffer; + + errno = 0; +- gzfd = gzopen(filename, "rb"); +- if (!gzfd) { ++ lzfd = lzopen(filename, "rb"); ++ if (!lzfd) { + if (errno == ENOMEM) + fatal("Memory allocation failure in gzopen\n"); + return NULL; + } +- buffer = grab_contents(gzfd, size); +- gzclose(gzfd); ++ buffer = lzgrab(lzfd, size); ++ lzclose(lzfd); + return buffer; + } + + +--- module-init-tools-3.9/configure ++++ module-init-tools-3.9/configure +@@ -2590,7 +2590,7 @@ + #define CONFIG_USE_ZLIB 1 + _ACEOF + +- zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic" ++ zlib_flags="-Wl,-Bdynamic -lz -llz" + fi + fi + +@@ -2602,7 +2602,7 @@ + #define CONFIG_USE_ZLIB 1 + _ACEOF + +- zlib_flags="-lz" ++ zlib_flags="-lz -llz" + fi + fi + diff -r e323d0535e2c -r 4396aed7eb01 module-init-tools/stuff/patches/series --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/module-init-tools/stuff/patches/series Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,2 @@ +-p1|lzlib.u +-p1|depmod.u diff -r e323d0535e2c -r 4396aed7eb01 monkey-dev/receipt --- a/monkey-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="monkey-dev" -VERSION="1.5.6" -CATEGORY="development" -SHORT_DESC="Lightweight HTTP server - dev files" -MAINTAINER="necrophcodr@necrophcodr.me" -LICENSE="APL2" -WEB_SITE="http://monkey-project.com" -WANTED="monkey" - -DEPENDS="monkey" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 monkey/receipt --- a/monkey/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/monkey/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="monkey" VERSION="1.5.6" @@ -6,32 +6,43 @@ SHORT_DESC="Lightweight HTTP server" MAINTAINER="necrophcodr@necrophcodr.me" LICENSE="APL2" +WEB_SITE="http://monkey-project.com" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://monkey-project.com" WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL" -DEPENDS="" BUILD_DEPENDS="findutils" +SPLIT="monkey-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --enable-shared --prefix=/usr --datadir=/var/www \ - --pidfile=/var/run/monkey.pid --sysconfdir=/etc/monkey \ - --disable-plugins=mbedtls --mandir=/usr/share/man \ - --plugdir=/usr/share/monkey/plugins && +compile_rules() { + ./configure \ + --enable-shared \ + --prefix=/usr \ + --datadir=/var/www \ + --pidfile=/var/run/monkey.pid \ + --sysconfdir=/etc/monkey \ + --disable-plugins=mbedtls \ + --mandir=/usr/share/man \ + --plugdir=/usr/share/monkey/plugins && make && make DESTDIR=$install install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr/ - cp -a $install/usr/share $fs/usr/ - cp -a $install/etc $fs/ - cp -a $install/var $fs/ - mkdir -p $fs/usr/share/monkey/samples - mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs +genpkg_rules() { + case $PACKAGE in + monkey) + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr/ + cp -a $install/usr/share $fs/usr/ + cp -a $install/etc $fs/ + cp -a $install/var $fs/ + mkdir -p $fs/usr/share/monkey/samples + mv $fs/var/www/ $fs/usr/share/monkey/samples/htdocs + ;; + *-dev) + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 nagios-plugins-mysql/receipt --- a/nagios-plugins-mysql/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="nagios-plugins-mysql" -VERSION="1.4.16" -CATEGORY="meta" -SHORT_DESC="Dependencies for Nagios MySQL plugin." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL3" -WEB_SITE="http://www.nagios.org/" -WANTED="nagios-plugins" - -DEPENDS="nagios-plugins mysql-client" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/nagios/plugins - cp -pa $install/usr/lib/nagios/plugins/*mysql* $fs/usr/lib/nagios/plugins -} - diff -r e323d0535e2c -r 4396aed7eb01 nagios-plugins/receipt --- a/nagios-plugins/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/nagios-plugins/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,60 +1,62 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="nagios-plugins" VERSION="1.4.16" CATEGORY="network" -SHORT_DESC="Plugins for host, service and network monitoring program." +SHORT_DESC="Plugins for host, service and network monitoring program" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://www.nagios.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.nagios.org/" WGET_URL="$SF_MIRROR/nagiosplug/$TARBALL" -DEPENDS="openssl fping" -BUILD_DEPENDS="openssl-dev radiusclient-ng-dev radiusclient-ng openldap-dev - mysql-dev libmysqlclient" +BUILD_DEPENDS="openssl-dev radiusclient-ng-dev radiusclient-ng openldap-dev \ +mysql-dev libmysqlclient" +SPLIT="nagios-plugins-mysql" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i '/gets is a security hole/d' gl/stdio*.h - ./configure --prefix=/usr \ - --libexecdir=/usr/lib/nagios/plugins \ - --with-nagios-user=nobody \ - --with-nagios-group=nogroup \ - --with-ping-command="/bin/ping -w %d -c %d %s" \ - --with-fping-command="/usr/sbin/fping" \ - --mandir=/usr/share/man $CONFIGURE_ARGS - + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/nagios/plugins \ + --with-nagios-user=nobody \ + --with-nagios-group=nogroup \ + --with-ping-command="/bin/ping -w %d -c %d %s" \ + --with-fping-command="/usr/sbin/fping" \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install && make DESTDIR=$DESTDIR install-root } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/etc/nagios/objects - - cp -a $install/usr/lib/nagios/ $fs/usr/lib - - # - stuff/convertcfg $src/command.cfg commands > $fs/etc/nagios/objects/command.cfg - - # Move mySQL plugins in separate package. - rm -f $fs/usr/lib/nagios/plugins/*mysql* - +genpkg_rules() { + case $PACKAGE in + nagios-plugins) + mkdir -p $fs/usr/lib $fs/etc/nagios/objects + cp -a $install/usr/lib/nagios/ $fs/usr/lib + $stuff/convertcfg $src/command.cfg commands > $fs/etc/nagios/objects/command.cfg + # Move mySQL plugins in separate package. + rm -f $fs/usr/lib/nagios/plugins/*mysql* + DEPENDS="openssl fping" + ;; + nagios-plugins-mysql) + mkdir -p $fs/usr/lib/nagios/plugins + cp -pa $install/usr/lib/nagios/plugins/*mysql* $fs/usr/lib/nagios/plugins + DEPENDS="nagios-plugins mysql-client" + CATEGORY="network|Nagios MySQL plugin" + ;; + esac } -post_install() -{ +post_install_nagios_plugins() { if ! grep -q nagios "$1/etc/passwd"; then - echo -n "Adding user/group nagios..." + # Adding user/group nagios... chroot "$1/" addgroup -S nagios chroot "$1/" adduser -S -D -H -G nagios nagios - status fi - + if [ -f "$1/etc/nagios/resource.cfg" ]; then sed -i 's|/usr/lib/nagios|/usr/lib/nagios/plugins|' \ "$1/etc/nagios/resource.cfg" diff -r e323d0535e2c -r 4396aed7eb01 ntk-dev/receipt --- a/ntk-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ntk-dev" -GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc" -VERSION="${GITHASH:0:7}" -CATEGORY="development" -SHORT_DESC="NTK include files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL" -WEB_SITE="http://non.tuxfamily.org/" - -WANTED="ntk" - -DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*.a* $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 ntk/receipt --- a/ntk/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/ntk/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,36 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ntk" GITHASH="127328b00c3ceddebeeff6fac59f207a8469f6dc" VERSION="${GITHASH:0:7}" CATEGORY="x-window" -SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality." +SHORT_DESC="Fork of FLTK 1.3.0 with additional functionality" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL" +WEB_SITE="http://non.tuxfamily.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://non.tuxfamily.org/" WGET_URL="http://git.tuxfamily.org/non/fltk/?p=non/fltk.git;a=snapshot;h=$GITHASH;sf=tgz" -DEPENDS="xorg-libXft cairo jpeg" -BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev" +BUILD_DEPENDS_arm="xorg-libXft-dev cairo-dev jpeg-dev" +BUILD_DEPENDS="xorg-libXft-dev cairo-dev jpeg-dev git python" +SPLIT="ntk-dev" -# Handle cross compilation -case "$ARCH" in - i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python" -esac - -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./waf configure --prefix=/usr && - ./waf build && - ./waf install --destdir=${DESTDIR} + ./waf build && + ./waf install --destdir=$DESTDIR } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + ntk) + copy @std + DEPENDS="xorg-libXft cairo jpeg" + ;; + *-dev) + copy @dev + DEPENDS="ntk cairo-dev xorg-libX11-dev xorg-libXft-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 ode-dev/receipt --- a/ode-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ode-dev" -VERSION="0.11.1" -CATEGORY="development" -SHORT_DESC="devel files for ode" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1 BSD" -WEB_SITE="http://www.ode.org/" -WANTED="ode" - -DEPENDS="ode bash pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r e323d0535e2c -r 4396aed7eb01 ode/receipt --- a/ode/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/ode/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,20 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ode" VERSION="0.11.1" CATEGORY="misc" -SHORT_DESC="An open source, high performance library for simulating rigid body dynamics." +SHORT_DESC="An open source, high performance library for simulating rigid body \ +dynamics" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1 BSD" -DEPENDS="" +WEB_SITE="http://www.ode.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.ode.org/" WGET_URL="$SF_MIRROR/opende/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +SPLIT="ode-dev" + +compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -24,9 +24,9 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + ode) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 ofono-dev/receipt --- a/ofono-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ofono-dev" -VERSION="1.14" -CATEGORY="network" -SHORT_DESC="Stack for mobile telephony (GSM/UMTS) - dev files" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="GPL2" -WANTED="ofono" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 ofono/receipt --- a/ofono/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/ofono/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,22 +1,21 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ofono" VERSION="1.14" CATEGORY="network" -SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications." +SHORT_DESC="Stack for mobile telephony (GSM/UMTS) applications" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" +WEB_SITE="http://ofono.org" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://ofono.org" WGET_URL="http://linux-kernel.uio.no/pub/linux/network/$PACKAGE/$TARBALL" -DEPENDS="dbus glib udev bluez" BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \ mobile-broadband-provider-info-dev" +SPLIT="ofono-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -27,14 +26,21 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - # sysconfdir - mkdir -p $fs/etc - cp -a $install/etc/* $fs/etc - cp -a $stuff/etc/* $fs/etc - # sbin - mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr +genpkg_rules() { + case $PACKAGE in + ofono) + # sysconfdir + mkdir -p $fs/etc + cp -a $install/etc/* $fs/etc + cp -a $stuff/etc/* $fs/etc + # sbin + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr + DEPENDS="dbus glib udev bluez" + ;; + *-dev) + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 openexr/receipt --- a/openexr/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/openexr/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -23,17 +23,11 @@ genpkg_rules() { case $PACKAGE in openexr) - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + copy @std DEPENDS="zlib ilmbase" ;; *-dev) - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share + copy @dev ;; esac } diff -r e323d0535e2c -r 4396aed7eb01 osip-dev/receipt --- a/osip-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="osip-dev" -VERSION="3.6.0" -CATEGORY="development" -SHORT_DESC="SIP library development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL" -WEB_SITE="http://www.gnu.org/software/osip/osip.html" -WANTED="osip" -SOURCE="libosip2" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib $fs/usr - rm -f $fs/usr/lib/*.so* -} diff -r e323d0535e2c -r 4396aed7eb01 osip/receipt --- a/osip/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/osip/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,29 +1,27 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="osip" VERSION="3.6.0" CATEGORY="network" -SHORT_DESC="SIP library." +SHORT_DESC="SIP library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL" -SOURCE="libosip2" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/osip/osip.html" + +TARBALL="libosip2-$VERSION.tar.gz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man $CONFIGURE_ARGS && +SPLIT="osip-dev" + +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + osip) copy @std;; + *-dev) copy @dev;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 pangox-compat-dev/receipt --- a/pangox-compat-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pangox-compat-dev" -VERSION="0.0.2" -CATEGORY="development" -SHORT_DESC="Development files for pangox-compat" -MAINTAINER="yuripourre@gmail.com" -LICENSE="LGPL2" -WEB_SITE="http://www.gnome.org/" - -WANTED="pangox-compat" -DEPENDS="glib-dev libffi-dev xorg-libxcb-dev pango-dev pangox-compat pcre-dev \ -xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 pangox-compat/receipt --- a/pangox-compat/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/pangox-compat/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pangox-compat" VERSION="0.0.2" @@ -7,15 +7,14 @@ MAINTAINER="yuripourre@gmail.com" LICENSE="LGPL2" WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib glibc-base libffi pango pcre xorg-libX11" BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev" +SPLIT="pangox-compat-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -24,9 +23,22 @@ make install } -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/etc $fs - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + pangox-compat) + mkdir -p $fs/usr/lib + cp -a $install/etc $fs + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="glib glibc-base libffi pango pcre xorg-libX11" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + DEPENDS="glib-dev libffi-dev xorg-libxcb-dev pango-dev \ + pangox-compat pcre-dev xorg-libX11-dev xorg-libXau-dev \ + xorg-libXdmcp-dev" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 pcsc-lite-dev/receipt --- a/pcsc-lite-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="pcsc-lite-dev" -VERSION="1.8.6" -CATEGORY="development" -SHORT_DESC="SCard interface for communicating to smart cards and readers, developement files" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -WEB_SITE="http://pcsclite.alioth.debian.org/" -WANTED="pcsc-lite" - -DEPENDS="pcsc-lite pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e323d0535e2c -r 4396aed7eb01 pcsc-lite/receipt --- a/pcsc-lite/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/pcsc-lite/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,23 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pcsc-lite" VERSION="1.8.6" CATEGORY="base-system" -SHORT_DESC="SCard interface for communicating to smart cards and readers." +SHORT_DESC="SCard interface for communicating to smart cards and readers" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="http://pcsclite.alioth.debian.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://alioth.debian.org/frs/download.php/3741/$TARBALL" -SUGGESTED="ccid" -DEPENDS="udev" -BUILD_DEPENDS="wget udev-dev perl libtool" +BUILD_DEPENDS="udev-dev perl libtool" +SPLIT="pcsc-lite-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --prefix=/usr \ --enable-libudev \ @@ -27,22 +24,33 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $stuff/init.d $fs/etc +genpkg_rules() { + case $PACKAGE in + pcsc-lite) + mkdir -p $fs/usr/lib/pcsc/drivers $fs/etc + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $stuff/init.d $fs/etc + DEPENDS="udev" + SUGGESTED="ccid" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } # Daemon options in: daemons.conf -post_install() -{ +post_install_pcsc_lite() { if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then - echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf" - echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf" - echo '' >> "$1/etc/daemons.conf" + cat >> "$1/etc/daemons.conf" <> "$1/etc/daemons.conf" << "EOT" -# VBoxService daemon options. -VBOXSERVICE_OPTIONS="" - -EOT - KERNEL_VERSION=$( chroot "$1/" uname -r) - chroot "$1/" depmod -a $KERNEL_VERSION - #chroot "$1/" modprobe -a vboxguest vboxsf vboxvideo - sed -i 's/^\tDriver.*$/\tDriver "vboxvideo"/' "$1/etc/X11/xorg.conf.d/60-Device.conf" - grep -qs vboxguest "$1/etc/rcS.conf" || - sed -i 's/LOAD_MODULES="/&vboxguest vboxsf vboxvideo /' "$1/etc/rcS.conf" - grep -qs VBoxService "$1/etc/rcS.conf" || - sed -i 's/RUN_DAEMONS="/&VBoxService /' "$1/etc/rcS.conf" - grep -qs vboxsf "$1/etc/group" || chroot "$1/" addgroup -g 109 vboxsf - echo "add yourself to vboxsf group if you want to access" - echo "host shared folder: addgroup $USER vboxsf" - #i can't get udev to do its work - #echo "then logout and login again" - #chroot "$1/" /etc/init.d/VBoxService start &> /dev/null - echo "then reboot" - else - echo "this is not a virtual machine," - echo "i'm useless here and you probably" - echo "may want to remove me." - fi -} diff -r e323d0535e2c -r 4396aed7eb01 virtualbox-ose-guestutils/stuff/60-vboxguest.rules --- a/virtualbox-ose-guestutils/stuff/60-vboxguest.rules Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0600" -ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0666" diff -r e323d0535e2c -r 4396aed7eb01 virtualbox-ose-guestutils/stuff/VBoxService --- a/virtualbox-ose-guestutils/stuff/VBoxService Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,51 +0,0 @@ -#!/bin/sh -# /etc/init.d/VBoxService: Start, stop and restart VBoxService daemon on SliTaz, -# at boot time or with the command line. Daemons options are configured -# with /etc/daemons.conf -# -. /etc/init.d/rc.functions -. /etc/daemons.conf - -NAME=VBoxService -DESC="$(_ 'VirtualBox Guest Service')" -DAEMON=/usr/bin/VBoxService -OPTIONS=$VBOXSERVICE_OPTIONS -PIDFILE=/var/run/VBoxService.pid - -case "$1" in - start) - if active_pidfile $PIDFILE VBoxService ; then - _ '%s is already running.' $NAME - exit 1 - fi - action 'Starting %s: %s...' "$DESC" $NAME - mkdir -p $(dirname $PIDFILE) - $DAEMON $OPTIONS - status ;; - stop) - if ! active_pidfile $PIDFILE VBoxService ; then - _ '%s is not running.' - exit 1 - fi - action 'Stopping %s: %s...' "$DESC" $NAME - kill $(cat $PIDFILE) - rm $PIDFILE - status ;; - restart) - if ! active_pidfile $PIDFILE VBoxService ; then - _ '%s is not running.' $NAME - exit 1 - fi - action 'Restarting %s: %s...' "$DESC" $NAME - kill $(cat $PIDFILE) - rm $PIDFILE - sleep 2 - $DAEMON $OPTIONS - status ;; - *) - emsg "$(_ 'Usage:') $0 [start|stop|restart]" - newline - exit 1 ;; -esac - -exit 0 diff -r e323d0535e2c -r 4396aed7eb01 virtualbox-ose/receipt --- a/virtualbox-ose/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/virtualbox-ose/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,31 +1,26 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="virtualbox-ose" VERSION="4.2.6" CATEGORY="misc" -SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use (Open Source Edition)" +SHORT_DESC="Powerful x86 virtualization for enterprise as well as home use \ +(Open Source Edition)" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -SOURCE="VirtualBox" -TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="https://www.virtualbox.org/" + +TARBALL="VirtualBox-$VERSION.tar.bz2" WGET_URL="http://download.virtualbox.org/virtualbox/$VERSION/$TARBALL" -TAGS="virtualization" -PROVIDE="virtualbox" -DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl \ -xorg-libXmu curl libvncserver libpng16 jpeg mesa libglu-mesa vde2 \ -python libQtCore libQtGui libQtNetwork libQtOpenGL" BUILD_DEPENDS="bin86 dev86 iasl libIDL libsdl-dev mesa-dev libxslt-dev \ libglu-mesa-dev Qt4-dev libsdl-ttf-dev alsa-lib-dev hal-dev xorg-libXtst-dev \ xorg-libXrandr-dev python python-dev xalan-c curl-dev xalan-c-dev \ xerces-c-dev openssl-dev zlib-dev libcap-dev glib-dev libvncserver-dev \ pam pam-dev bzip2 linux-module-headers pkg-config tar wget vde2-dev \ libpng16-dev gsoap-dev libdevmapper-dev makeself cdrkit flex" +SPLIT="virtualbox-ose-guestutils" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { cp $stuff/LocalConfig.kmk . ./configure \ --disable-pulse \ @@ -43,93 +38,148 @@ KERN_DIR=/usr/src/linux make -C "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src" } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - source $src/env.sh - cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin - mkdir -p $fs/usr/bin $fs/usr/lib/virtualbox/components \ - $fs/usr/share/virtualbox/nls \ - $fs/usr/lib/virtualbox/ExtensionPacks - install -m 0755 VBox.sh $fs/usr/bin/VBox - sed -i 's/ps -U/ps | grep/' $fs/usr/bin/VBox - ln -sf VBox $fs/usr/bin/VBoxHeadless - ln -sf VBox $fs/usr/bin/vboxheadless - ln -sf VBox $fs/usr/bin/VBoxManage - ln -sf VBox $fs/usr/bin/vboxmanage - ln -sf VBox $fs/usr/bin/VBoxSDL - ln -sf VBox $fs/usr/bin/vboxsdl - ln -sf VBox $fs/usr/bin/VirtualBox - ln -sf VBox $fs/usr/bin/virtualbox - ln -sf VBox $fs/usr/bin/vboxwebsrv +genpkg_rules() { + case $PACKAGE in + virtualbox-ose) + source $src/env.sh + cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin + mkdir -p $fs/usr/bin $fs/usr/lib/virtualbox/components \ + $fs/usr/share/virtualbox/nls \ + $fs/usr/lib/virtualbox/ExtensionPacks + install -m 0755 VBox.sh $fs/usr/bin/VBox + sed -i 's/ps -U/ps | grep/' $fs/usr/bin/VBox + ln -sf VBox $fs/usr/bin/VBoxHeadless + ln -sf VBox $fs/usr/bin/vboxheadless + ln -sf VBox $fs/usr/bin/VBoxManage + ln -sf VBox $fs/usr/bin/vboxmanage + ln -sf VBox $fs/usr/bin/VBoxSDL + ln -sf VBox $fs/usr/bin/vboxsdl + ln -sf VBox $fs/usr/bin/VirtualBox + ln -sf VBox $fs/usr/bin/virtualbox + ln -sf VBox $fs/usr/bin/vboxwebsrv - install -m 0755 VBoxTunctl "$fs/usr/bin" + install -m 0755 VBoxTunctl "$fs/usr/bin" - # components - install -D -m 0755 components/* $fs/usr/lib/virtualbox/components + # components + install -D -m 0755 components/* $fs/usr/lib/virtualbox/components - # lib - install -m 0755 *.so "$fs/usr/lib/virtualbox" - install -m 0644 *.gc *.r0 VBoxEFI*.fd "$fs/usr/lib/virtualbox" + # lib + install -m 0755 *.so "$fs/usr/lib/virtualbox" + install -m 0644 *.gc *.r0 VBoxEFI*.fd "$fs/usr/lib/virtualbox" - #setuid root binaries - install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl "$fs/usr/lib/virtualbox" + #setuid root binaries + install -m 4755 VBoxSDL VirtualBox VBoxHeadless VBoxNetDHCP VBoxNetAdpCtl "$fs/usr/lib/virtualbox" - #other binaries - #install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest "$fs/usr/lib/virtualbox" - install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL "$fs/usr/lib/virtualbox" + #other binaries + #install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL vboxwebsrv webtest "$fs/usr/lib/virtualbox" + install -m 0755 VBoxManage VBoxSVC VBoxExtPackHelperApp VBoxXPCOMIPCD VBoxTestOGL "$fs/usr/lib/virtualbox" - #language - install -m 0755 nls/*.qm "$fs/usr/share/virtualbox/nls" + #language + install -m 0755 nls/*.qm "$fs/usr/share/virtualbox/nls" - #useless scripts - install -m 0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh "$fs/usr/share/virtualbox" + #useless scripts + install -m 0755 VBoxCreateUSBNode.sh VBoxSysInfo.sh "$fs/usr/share/virtualbox" - #icon - install -D -m 0644 VBox.png "$fs/usr/share/pixmaps/virtualbox.png" + #icon + install -D -m 0644 VBox.png "$fs/usr/share/pixmaps/virtualbox.png" - #desktop - install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop" - sed -i "s|VBox.png|virtualbox|" \ - $fs/usr/share/applications/virtualbox.desktop + #desktop + install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop" + sed -i "s|VBox.png|virtualbox|" \ + $fs/usr/share/applications/virtualbox.desktop - #install configuration - mkdir -p "$fs/etc/vbox" - echo 'lsmod | grep -q vboxdrv || modprobe vboxdrv' > "$fs/etc/vbox/vbox.cfg" - echo 'INSTALL_DIR=/usr/lib/virtualbox' >> "$fs/etc/vbox/vbox.cfg" + #install configuration + mkdir -p "$fs/etc/vbox" + echo 'lsmod | grep -q vboxdrv || modprobe vboxdrv' > "$fs/etc/vbox/vbox.cfg" + echo 'INSTALL_DIR=/usr/lib/virtualbox' >> "$fs/etc/vbox/vbox.cfg" - #udev - install -D -m 0644 "$stuff/10-vboxdrv.rules" \ - "$fs/etc/udev/rules.d/10-vboxdrv.rules" + #udev + install -D -m 0644 "$stuff/10-vboxdrv.rules" \ + "$fs/etc/udev/rules.d/10-vboxdrv.rules" - mkdir -p $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/ - cd sdk/installer - VBOX_INSTALL_PATH="/usr/lib/virtualbox" python vboxapisetup.py install --root "$fs" - cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin - cd sdk/bindings/xpcom/python - cp -r xpcom $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/ - chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/*.py - chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/server/*.py - chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py - cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin + mkdir -p $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/ + cd sdk/installer + VBOX_INSTALL_PATH="/usr/lib/virtualbox" python vboxapisetup.py install --root "$fs" + cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin + cd sdk/bindings/xpcom/python + cp -r xpcom $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/ + chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/*.py + chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/server/*.py + chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py + cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin - # virtualbox-ose-modules - KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') + # virtualbox-ose-modules + KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') - cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src" - install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko" - install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko" - install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko" + cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src" + install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko" + install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko" + install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko" + DEPENDS="libxml2 xorg-libXcursor libIDL xorg-libXinerama libsdl \ + xorg-libXmu curl libvncserver libpng16 jpeg mesa libglu-mesa vde2 \ + python libQtCore libQtGui libQtNetwork libQtOpenGL" + TAGS="virtualization" + PROVIDE="virtualbox" + ;; + virtualbox-ose-guestutils) + # virtualbox-ose-additions + source $src/env.sh + cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions" + mkdir -p $fs/usr/bin + mkdir -p $fs/sbin + mkdir -p $fs/etc/X11/xorg.conf.d + mkdir -p $fs/etc/init.d + + install -m755 VBoxClient VBoxControl VBoxService "$fs/usr/bin" + install -m755 mount.vboxsf "$fs/sbin" + + install -m755 -D $src/src/VBox/Additions/x11/Installer/98vboxadd-xclient \ + $fs/usr/bin/VBoxClient-all + install -m755 -D $src/src/VBox/Additions/x11/Installer/vboxclient.desktop \ + $fs/etc/xdg/autostart/vboxclient.desktop + + install -D vboxvideo_drv_112.so \ + "$fs/usr/lib/X11/modules/drivers/vboxvideo.so" + install -d "$fs/usr/lib/dri" + install -m755 VBoxOGL*.so "$fs/usr/lib" + ln -s /usr/lib/VBoxOGL.so "$fs/usr/lib/dri/vboxvideo_dri.so" + install -m755 -D pam_vbox.so "$fs/lib/security/pam_vbox.so" + + # virtualbox-ose-additions-modules + KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') + + cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src" + + cd vboxguest + install -D -m644 vboxguest.ko \ + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxguest.ko" + + cd ../vboxsf + install -D -m644 vboxsf.ko \ + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxsf.ko" + + cd ../vboxvideo + install -D -m644 vboxvideo.ko \ + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxvideo.ko" + + install -D -m 0644 "$stuff/60-vboxguest.rules" \ + "$fs/etc/udev/rules.d/60-vboxguest.rules" + + install -D -m 0755 "$stuff/VBoxService" \ + "$fs/etc/init.d/VBoxService" + CAT="misc|VirtualBox Guest userspace utilities, useful for running Slitaz inside a virtual machine" + DEPENDS="xorg-libXfixes xorg-libXmu xorg-xrandr" + TAGS="virtualization" + ;; + esac } -pre_remove() -{ +pre_remove_virtualbox_ose() { sed -i "s/vboxdrv vboxnetadp vboxnetflt //" "$1/etc/rcS.conf" chroot "$1/" delgroup vboxusers } -post_install() -{ +post_install_virtualbox_ose() { #chroot "$1/" udevadm control --reload KERNEL_VERSION=$( chroot "$1/" uname -r) chroot "$1/" depmod -a $KERNEL_VERSION @@ -143,3 +193,45 @@ #echo "then logout and login again" echo "then reboot" } + +pre_remove_virtualbox_ose_guestutils() { + if chroot "$1/" lspci | grep -qi virtualbox; then + sed -i "s/vboxguest vboxsf vboxvideo //" "$1/etc/rcS.conf" + sed -i '/# VBoxService daemon options./{N;N;N;d}' "$1/etc/daemons.conf" + sed -i 's/VBoxService //' "$1/etc/rcS.conf" + chroot "$1/" delgroup vboxsf + sed -i 's/^\tDriver.*$/\tDriver "vesa"/' "$1/etc/X11/xorg.conf.d/60-Device.conf" + fi +} + +post_install_virtualbox_ose_guestutils() { + if chroot "$1/" lspci | grep -qi virtualbox; then + #chroot "$1/" udevadm control --reload + grep -qs VBOXSERVICE_OPTIONS "$1/etc/daemons.conf" || + cat >> "$1/etc/daemons.conf" <<"EOT" +# VBoxService daemon options. +VBOXSERVICE_OPTIONS="" + +EOT + KERNEL_VERSION=$( chroot "$1/" uname -r) + chroot "$1/" depmod -a $KERNEL_VERSION + #chroot "$1/" modprobe -a vboxguest vboxsf vboxvideo + sed -i 's/^\tDriver.*$/\tDriver "vboxvideo"/' "$1/etc/X11/xorg.conf.d/60-Device.conf" + grep -qs vboxguest "$1/etc/rcS.conf" || + sed -i 's/LOAD_MODULES="/&vboxguest vboxsf vboxvideo /' "$1/etc/rcS.conf" + grep -qs VBoxService "$1/etc/rcS.conf" || + sed -i 's/RUN_DAEMONS="/&VBoxService /' "$1/etc/rcS.conf" + grep -qs vboxsf "$1/etc/group" || + chroot "$1/" addgroup -g 109 vboxsf + echo "add yourself to vboxsf group if you want to access" + echo "host shared folder: addgroup $USER vboxsf" + #i can't get udev to do its work + #echo "then logout and login again" + #chroot "$1/" /etc/init.d/VBoxService start &> /dev/null + echo "then reboot" + else + echo "this is not a virtual machine," + echo "i'm useless here and you probably" + echo "may want to remove me." + fi +} diff -r e323d0535e2c -r 4396aed7eb01 virtualbox-ose/stuff/60-vboxguest.rules --- a/virtualbox-ose/stuff/60-vboxguest.rules Tue Mar 06 11:29:35 2018 +0200 +++ b/virtualbox-ose/stuff/60-vboxguest.rules Wed Mar 07 19:43:44 2018 +0200 @@ -1,2 +1,2 @@ -ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", MODE="0600" -ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", MODE="0660" +ACTION=="add", KERNEL=="vboxguest", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0600" +ACTION=="add", KERNEL=="vboxuser", SUBSYSTEM=="misc", OWNER="root", GROUP="root", MODE="0666" diff -r e323d0535e2c -r 4396aed7eb01 virtualbox-ose/stuff/VBoxService --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/virtualbox-ose/stuff/VBoxService Wed Mar 07 19:43:44 2018 +0200 @@ -0,0 +1,51 @@ +#!/bin/sh +# /etc/init.d/VBoxService: Start, stop and restart VBoxService daemon on SliTaz, +# at boot time or with the command line. Daemons options are configured +# with /etc/daemons.conf +# +. /etc/init.d/rc.functions +. /etc/daemons.conf + +NAME=VBoxService +DESC="$(_ 'VirtualBox Guest Service')" +DAEMON=/usr/bin/VBoxService +OPTIONS=$VBOXSERVICE_OPTIONS +PIDFILE=/var/run/VBoxService.pid + +case "$1" in + start) + if active_pidfile $PIDFILE VBoxService ; then + _ '%s is already running.' $NAME + exit 1 + fi + action 'Starting %s: %s...' "$DESC" $NAME + mkdir -p $(dirname $PIDFILE) + $DAEMON $OPTIONS + status ;; + stop) + if ! active_pidfile $PIDFILE VBoxService ; then + _ '%s is not running.' + exit 1 + fi + action 'Stopping %s: %s...' "$DESC" $NAME + kill $(cat $PIDFILE) + rm $PIDFILE + status ;; + restart) + if ! active_pidfile $PIDFILE VBoxService ; then + _ '%s is not running.' $NAME + exit 1 + fi + action 'Restarting %s: %s...' "$DESC" $NAME + kill $(cat $PIDFILE) + rm $PIDFILE + sleep 2 + $DAEMON $OPTIONS + status ;; + *) + emsg "$(_ 'Usage:') $0 [start|stop|restart]" + newline + exit 1 ;; +esac + +exit 0 diff -r e323d0535e2c -r 4396aed7eb01 webkit-r-dev/receipt --- a/webkit-r-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="webkit-r-dev" -VERSION="99690" -CATEGORY="network" -SHORT_DESC="xHTML render library." -WANTED="webkit-r" -MAINTAINER="pankso@slitaz.org" -LICENSE="BSD LGPL" -WEB_SITE="http://webkit.org/" - -DEPENDS="pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 webkit-r/receipt --- a/webkit-r/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/webkit-r/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,30 +1,24 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="webkit-r" VERSION="99690" CATEGORY="network" -SHORT_DESC="xHTML render library." +SHORT_DESC="xHTML render library" MAINTAINER="pankso@slitaz.org" LICENSE="BSD LGPL" +WEB_SITE="http://webkit.org/" + TARBALL="WebKit-r${VERSION}.tar.bz2" -WEB_SITE="http://webkit.org/" WGET_URL="http://nightly.webkit.org/files/trunk/src/$TARBALL" -DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl sqlite3 \ - xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ - xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ - xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXt \ - xorg-libXdamage gcc-lib-base" BUILD_DEPENDS="icu icu-dev gperf libxslt-dev glib-dev autoconf automake \ - sqlite3-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \ - gst0-plugins-base-dev gstreamer0-dev util-linux-uuid-dev \ - jpeg-dev libjpeg libpng16-dev pango-dev gtk+-dev orc-dev \ - xorg-libXt-dev" +sqlite3-dev libtool m4 bison flex curl-dev gtk-doc libsoup-dev \ +gst0-plugins-base-dev gstreamer0-dev util-linux-uuid-dev jpeg-dev libjpeg \ +libpng16-dev pango-dev gtk+-dev orc-dev xorg-libXt-dev" +SPLIT="webkit-r-dev" -# Rules to configure and make the package. -compile_rules() -{ - mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null +compile_rules() { + mv WebKit-r$VERSION $PACKAGE-$VERSION 2>/dev/null cd $src patch -p0 < $stuff/bison26.u patch -p1 < $stuff/CSSParser.cpp.u @@ -37,9 +31,22 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + webkit-r) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="libxslt expat gtk+ icu jpeg libcurl libxml2 openssl \ + sqlite3 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ + xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ + xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ + xorg-libXt xorg-libXdamage gcc-lib-base" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 wxWidgets-dev/receipt --- a/wxWidgets-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="wxWidgets-dev" -VERSION="3.0.2" -CATEGORY="development" -SHORT_DESC="Cross-platform GUI Library devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL" -WANTED="wxWidgets" -WEB_SITE="http://www.wxwidgets.org/" - -DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \ -xorg-libICE-dev expat wxWidgets zlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/wx - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/include $fs/usr - # Just copy setup.h and contrib include - cp -a $install/usr/lib/wx/include $fs/usr/lib/wx - - cp -a $install/usr/share $fs/usr - rm -r $fs/usr/share/locale -} diff -r e323d0535e2c -r 4396aed7eb01 wxWidgets/receipt --- a/wxWidgets/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/wxWidgets/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="wxWidgets" VERSION="3.0.2" @@ -6,22 +6,17 @@ SHORT_DESC="Cross-platform GUI Library" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL" +WEB_SITE="http://www.wxwidgets.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.wxwidgets.org/" WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" -DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \ -gtk+ cairo fontconfig freetype jpeg libpng16 tiff pango xorg-pixman util-linux-uuid \ -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \ -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \ xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng16-dev tiff-dev \ jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev" +SPLIT="wxWidgets-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/.*/#include \n&/;s/(abs(/(std::abs(/' \ src/stc/scintilla/src/Editor.cxx ./configure \ @@ -39,17 +34,37 @@ make DESTDIR=$DESTDIR install && cd $src/contrib && { - make && - make DESTDIR=$DESTDIR install + make && + make DESTDIR=$DESTDIR install } 2>&1 | sed 's/h: No such/h: no such/' } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - # Copy libs and contrib libs. - cp -a $install/usr/lib/ $fs/usr/ - # Remove devel files. - rm -rf $fs/usr/lib/wx/include +genpkg_rules() { + case $PACKAGE in + wxWidgets) + mkdir -p $fs/usr + # Copy libs and contrib libs. + cp -a $install/usr/lib/ $fs/usr/ + # Remove devel files. + rm -rf $fs/usr/lib/wx/include + DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \ + gtk+ cairo fontconfig freetype jpeg libpng16 tiff pango \ + xorg-pixman util-linux-uuid xorg-libSM xorg-libICE xorg-libX11 \ + xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ + xorg-libXdmcp xorg-libXext libglu-mesa xorg-libXfixes \ + xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" + ;; + *-dev) + mkdir -p $fs/usr/lib/wx + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr + # Just copy setup.h and contrib include + cp -a $install/usr/lib/wx/include $fs/usr/lib/wx + + cp -a $install/usr/share $fs/usr + rm -r $fs/usr/share/locale + DEPENDS="wxWidgets gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \ + xorg-libICE-dev expat zlib" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 wxWidgets28-dev/receipt --- a/wxWidgets28-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="wxWidgets28-dev" -VERSION="2.8.12.1" -CATEGORY="development" -SHORT_DESC="Cross-platform GUI Library devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL" -WANTED="wxWidgets28" -WEB_SITE="http://www.wxwidgets.org/" - -DEPENDS="pkg-config gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \ -xorg-libICE-dev expat wxWidgets28 zlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/wx - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/include $fs/usr - # Just copy setup.h and contrib include - cp -a $install/usr/lib/wx/include $fs/usr/lib/wx - - cp -a $install/usr/share $fs/usr - rm -r $fs/usr/share/locale -} diff -r e323d0535e2c -r 4396aed7eb01 wxWidgets28/receipt --- a/wxWidgets28/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/wxWidgets28/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="wxWidgets28" VERSION="2.8.12.1" @@ -6,22 +6,17 @@ SHORT_DESC="Cross-platform GUI Library (oldstable version)" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL" +WEB_SITE="http://www.wxwidgets.org/" + TARBALL="wxPython-src-$VERSION.tar.bz2" -WEB_SITE="http://www.wxwidgets.org/" WGET_URL="$SF_MIRROR/wxwindows/$TARBALL" -DEPENDS="glib glibc-base gcc-lib-base pkg-config expat zlib atk \ -gtk+ cairo fontconfig freetype jpeg libpng12 tiff pango xorg-pixman util-linux-uuid \ -xorg-libSM xorg-libICE xorg-libX11 xorg-libXau xorg-libXcomposite \ -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext libglu-mesa \ -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" BUILD_DEPENDS="gtk+-dev expat-dev zlib-dev \ xorg-dev xorg-xineramaproto libglu-mesa mesa-dev libpng12-dev tiff-dev \ jpeg-dev xorg-libXpm-dev patch xorg-libxshmfence-dev libglu-mesa-dev" +SPLIT="wxWidgets28-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py export CXXFLAGS="-Wno-narrowing" ./configure \ @@ -39,17 +34,37 @@ make DESTDIR=$DESTDIR install && cd $src/contrib && { - make && - make DESTDIR=$DESTDIR install + make && + make DESTDIR=$DESTDIR install } 2>&1 | sed 's/h: No such/h: no such/' } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - # Copy libs and contrib libs. - cp -a $install/usr/lib/ $fs/usr/ - # Remove devel files. - rm -rf $fs/usr/lib/wx/include +genpkg_rules() { + case $PACKAGE in + wxWidgets28) + mkdir -p $fs/usr + # Copy libs and contrib libs. + cp -a $install/usr/lib/ $fs/usr/ + # Remove devel files. + rm -rf $fs/usr/lib/wx/include + DEPENDS="glib glibc-base gcc-lib-base expat zlib atk \ + gtk+ cairo fontconfig freetype jpeg libpng12 tiff pango \ + xorg-pixman util-linux-uuid xorg-libSM xorg-libICE xorg-libX11 \ + xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ + xorg-libXdmcp xorg-libXext libglu-mesa xorg-libXfixes \ + xorg-libXinerama xorg-libXrender xorg-libXxf86vm mesa" + ;; + *-dev) + mkdir -p $fs/usr/lib/wx + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr + # Just copy setup.h and contrib include + cp -a $install/usr/lib/wx/include $fs/usr/lib/wx + + cp -a $install/usr/share $fs/usr + rm -r $fs/usr/share/locale + DEPENDS="wxWidgets28 gtk+-dev xorg-libXinerama-dev xorg-libSM-dev \ + xorg-libICE-dev expat zlib" + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 wxpython-dev/receipt --- a/wxpython-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="wxpython-dev" -VERSION="2.8.12.1" -CATEGORY="x-window" -SHORT_DESC="wxPython devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL" -SOURCE="wxPython-src" -WANTED="wxpython" -WEB_SITE="http://www.wxpython.org/" - -DEPENDS="wxpython" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/include $fs/usr -} diff -r e323d0535e2c -r 4396aed7eb01 wxpython/receipt --- a/wxpython/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/wxpython/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,22 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="wxpython" VERSION="2.8.12.1" CATEGORY="x-window" -SHORT_DESC="GUI toolkit for the Python programming language." +SHORT_DESC="GUI toolkit for the Python programming language" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL" -SOURCE="wxPython" -TARBALL="$SOURCE-src-$VERSION.tar.bz2" WEB_SITE="http://www.wxpython.org/" + +TARBALL="wxPython-src-$VERSION.tar.bz2" WGET_URL="$SF_MIRROR/wxpython/$TARBALL" -DEPENDS="python wxWidgets28" BUILD_DEPENDS="python-dev wxWidgets28-dev mesa-dev libglu-mesa-dev" +SPLIT="wxpython-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { export CXXFLAGS="-Wno-narrowing" mv wxPython/wx/tools/Editra/editra wxPython/wx/tools/Editra/Editra ./configure \ @@ -38,10 +36,17 @@ python setup.py WXPORT=gtk2 UNICODE=1 install --root=$DESTDIR } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/python* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + wxpython) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/python* $fs/usr/lib + DEPENDS="python wxWidgets28" + ;; + *-dev) + mkdir -p $fs/usr + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r e323d0535e2c -r 4396aed7eb01 zstd-dev/receipt --- a/zstd-dev/receipt Tue Mar 06 11:29:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="zstd-dev" -VERSION="1.0.0" -CATEGORY="development" -SHORT_DESC="Zstandard - Fast and efficient compression algorithm, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -WEB_SITE="https://github.com/Cyan4973/zstd" -WANTED="zstd" - -DEPENDS="zstd" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib/ - cp -a $install/usr/lib/pkgconfig $fs/usr/lib/ -} diff -r e323d0535e2c -r 4396aed7eb01 zstd/receipt --- a/zstd/receipt Tue Mar 06 11:29:35 2018 +0200 +++ b/zstd/receipt Wed Mar 07 19:43:44 2018 +0200 @@ -1,31 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="zstd" VERSION="1.0.0" CATEGORY="base-system" -SHORT_DESC="Zstandard - Fast and efficient compression algorithm." +SHORT_DESC="Zstandard - Fast and efficient compression algorithm" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://github.com/Cyan4973/zstd" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/Cyan4973/zstd" WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" -TAGS="compression" -# Rules to configure and make the package. -compile_rules() -{ +SPLIT="zstd-dev" + +compile_rules() { cd $src/lib make && - make PREFIX=/usr DESTDIR=$DESTDIR install + make PREFIX=/usr DESTDIR=$DESTDIR install || return 1 + cd $src/programs make && make PREFIX=/usr DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib/ +genpkg_rules() { + case $PACKAGE in + zstd) + copy @std + TAGS="compression" + ;; + *-dev) + copy @dev + ;; + esac }