# HG changeset patch # User Aleksej Bobylev # Date 1520298001 -7200 # Node ID 8940878905f39c3e7efd9257275422f85989491e # Parent 42d9d6d8395672b7aba0db1ad4fe9bcf289d1df8 Combine receipts diff -r 42d9d6d83956 -r 8940878905f3 cairo-clock-themes/receipt --- a/cairo-clock-themes/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cairo-clock-themes" -VERSION="0.3.4" -CATEGORY="x-window" -SHORT_DESC="Set of themes for cairo-clock." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WANTED="cairo-clock" -WEB_SITE="http://macslow.thepimp.net/?page_id=23" - -DEPENDS="cairo-clock" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/cairo-clock - cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock - rm -rf $fs/usr/share/cairo-clock/themes/default -} diff -r 42d9d6d83956 -r 8940878905f3 cairo-clock/receipt --- a/cairo-clock/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/cairo-clock/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,35 +1,45 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cairo-clock" VERSION="0.3.4" CATEGORY="x-window" -SHORT_DESC="Nice analog clock displaying the system-time." +SHORT_DESC="Nice analog clock displaying the system-time" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://macslow.thepimp.net/?page_id=23" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://macslow.thepimp.net/?page_id=23" #WGET_URL="http://macslow.thepimp.net/projects/cairo-clock/$TARBALL" WGET_URL="http://ftp.de.debian.org/debian/pool/main/c/$PACKAGE/${PACKAGE}_$VERSION.orig.tar.gz" -DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \ libcroco gcc3" +SPLIT="cairo-clock-themes" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure CC=gcc-3 $CONFIGURE_ARGS && +compile_rules() { + ./configure \ + CC=gcc-3 \ + $CONFIGURE_ARGS && make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share/$PACKAGE/themes - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/$PACKAGE/glade \ - $fs/usr/share/$PACKAGE - cp -a $install/usr/share/$PACKAGE/themes/default \ - $fs/usr/share/$PACKAGE/themes +genpkg_rules() { + case $PACKAGE in + cairo-clock) + mkdir -p $fs/usr/share/$PACKAGE/themes + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/$PACKAGE/glade \ + $fs/usr/share/$PACKAGE + cp -a $install/usr/share/$PACKAGE/themes/default \ + $fs/usr/share/$PACKAGE/themes + DEPENDS="gtk+ cairo librsvg xorg-xcompmgr libglade libgsf" + ;; + cairo-clock-themes) + mkdir -p $fs/usr/share/cairo-clock + cp -a $install/usr/share/cairo-clock/themes $fs/usr/share/cairo-clock + rm -rf $fs/usr/share/cairo-clock/themes/default + CAT="x-window|set of themes" + DEPENDS="cairo-clock" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 caps/receipt --- a/caps/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/caps/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,25 +1,27 @@ # SliTaz package receipt v2. PACKAGE="caps" -VERSION="0.4.4" +VERSION="0.9.24" CATEGORY="multimedia" SHORT_DESC="The CAPS Audio Plugin Suite" MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="http://quitte.de/dsp/caps.html" -TARBALL="${PACKAGE}_${VERSION}.tar.gz" +TARBALL="${PACKAGE}_${VERSION}.tar.bz2" WGET_URL="http://quitte.de/dsp/$TARBALL" BUILD_DEPENDS="python" compile_rules() { ./configure.py && - make rdf && - make caps.so || return 1 - - install -Dm644 $src/caps.rdf $install/usr/share/ladspa/rdf/caps.rdf - install -Dm755 $src/caps.so $install/usr/lib/ladspa/caps.so + make && + make install +# make rdf && +# make caps.so || return 1 +# +# install -Dm644 $src/caps.rdf $install/usr/share/ladspa/rdf/caps.rdf +# install -Dm755 $src/caps.so $install/usr/lib/ladspa/caps.so } genpkg_rules() { diff -r 42d9d6d83956 -r 8940878905f3 cdrdao-utils/receipt --- a/cdrdao-utils/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt - -PACKAGE="cdrdao-utils" -VERSION="1.2.3" -CATEGORY="multimedia" -SHORT_DESC=" cdrdao extra utilities for recording audio/data CD-Rs" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="cdrdao" -WEB_SITE="http://downloads.sourceforge.net/$PACKAGE" - -DEPENDS="lame libao libmad libogg libvorbis" - -# 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/cdrdao -} diff -r 42d9d6d83956 -r 8940878905f3 cdrdao/receipt --- a/cdrdao/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/cdrdao/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cdrdao" VERSION="1.2.3" CATEGORY="multimedia" -SHORT_DESC="Records audio/data CD-Rs using toc files" +SHORT_DESC="Records audio/data CD-Rs using TOC files" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://sourceforge.net/projects/cdrdao/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://downloads.sourceforge.net/$PACKAGE" -WGET_URL="$WEB_SITE/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="gcc-lib-base lame libmad libvorbis libao" BUILD_DEPENDS="lame-dev libmad-dev libvorbis-dev libao-dev libao libogg-dev" +SPLIT="cdrdao-utils" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { for i in trackdb/*.cc ; do grep -q string.h $i && continue grep -q util.h $i || continue @@ -28,15 +27,28 @@ scsilib/libscg/scsi-linux-sg.c patch -Np1 -i $stuff/$PACKAGE-$VERSION-stat.patch || return 1 export CXXFLAGS="-Wno-narrowing" - ./configure --prefix=/usr --with-lame $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --with-lame \ + $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/cdrdao $fs/usr/bin - cp -a $install/usr/share $fs/usr +genpkg_rules() { + case $PACKAGE in + cdrdao) + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/cdrdao $fs/usr/bin + cp -a $install/usr/share $fs/usr + DEPENDS="gcc-lib-base lame libmad libvorbis libao" + ;; + cdrdao-utils) + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/ $fs/usr + rm $fs/usr/bin/cdrdao + CAT="multimedia|extra utilities" + DEPENDS="lame libao libmad libogg libvorbis" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 cndrvcups-common-dev/receipt --- a/cndrvcups-common-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cndrvcups-common-dev" -VERSION="1.80" -CATEGORY="development" -SHORT_DESC="cndrvcups-common devel file" -MAINTAINER="jozee@slitaz.org" -LICENSE="other" -WANTED="cndrvcups-common" -SOURCE="ufr2linuxv180" -WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx" - -# 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 42d9d6d83956 -r 8940878905f3 cndrvcups-common/receipt --- a/cndrvcups-common/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/cndrvcups-common/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,89 +1,91 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cndrvcups-common" VERSION="1.80" CATEGORY="system-tools" +SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers" MAINTAINER="jozee@slitaz.org" LICENSE="other" -SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers" WEB_SITE="http://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx" -SOURCE="ufr2linuxv180" -TARBALL="${SOURCE}.zip" + +TARBALL="ufr2linuxv180.zip" WGET_URL="http://www.service.canon.com.au/drivers/files/$TARBALL" -TAGS="printer driver" -DEPENDS="cups cairo gtk+" BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev cups-dev libtool" - -# Rules to configure and make the package. +SPLIT="cndrvcups-common-dev" compile_rules() { - - cd $src + [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz - [ -d cndrvcups-common-$VERSION ] || tar xzf Sources/cndrvcups-common-${VERSION}-1.tar.gz + cd $src/cndrvcups-common-$VERSION/buftool + ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR LIBDIR=/usr/lib install || return 1 - cd $src/cndrvcups-common-$VERSION/buftool - ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR LIBDIR=/usr/lib install + cd $src/cndrvcups-common-$VERSION/cpca + ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install || return 1 - cd $src/cndrvcups-common-$VERSION/cpca - ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR LIBDIR=$DESTDIR/usr/lib install + cd $src/cndrvcups-common-$VERSION/cngplp + ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install || return 1 - cd $src/cndrvcups-common-$VERSION/cngplp - ./autogen.sh --prefix=/usr $CONFIGURE_ARGS && - make && \ - make DESTDIR=$DESTDIR install - - cd $src/cndrvcups-common-$VERSION/c3plmod_ipc - make && cp -a $src/cndrvcups-common-$VERSION $DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib \ - $fs/usr/bin/ \ - $fs/usr/share/caepcm \ - $fs/usr/share/licenses/$PACKAGE \ - $fs/etc - - cp -a $install/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib - cp -a $install/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/ - cp -a $install/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/ - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/etc $fs - cp -a $install/usr $fs - cp -a $install/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib - cp -a $install/cndrvcups-common-$VERSION/data/C* $fs/usr/share/caepcm - - # gzip all ppd files - #find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 - - cd $fs/usr/lib - ln -sf libc3pl.so.0.0.1 libc3pl.so.0 - ln -sf libc3pl.so.0.0.1 libc3pl.so - - ln -sf libcnaccm.so.1.0 libcnaccm.so.1 - ln -sf libcnaccm.so.1.0 libcnaccm.so - - ln -sf libcaepcm.so.1.0 libcaepcm.so.1 - ln -sf libcaepcm.so.1.0 libcaepcm.so - - ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1 - ln -sf libcnlbcm.so.1.0 libcnlbcm.so - - ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1 - ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so - - ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1 - ln -sf libcaiousb.so.1.0.0 libcaiousb.so - - ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1 - ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so + cd $src/cndrvcups-common-$VERSION/c3plmod_ipc + make && + cp -a $src/cndrvcups-common-$VERSION $DESTDIR } +genpkg_rules() { + case $PACKAGE in + cndrvcups-common) + mkdir -p $fs/usr/lib \ + $fs/usr/bin/ \ + $fs/usr/share/caepcm \ + $fs/usr/share/licenses/$PACKAGE \ + $fs/etc + cp -a $install/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib + cp -a $install/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/ + cp -a $install/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/ + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/etc $fs + cp -a $install/usr $fs + cp -a $install/cndrvcups-common-$VERSION/c3plmod_ipc/libcanonc3pl.so.1.0.0 $fs/usr/lib + cp -a $install/cndrvcups-common-$VERSION/data/C* $fs/usr/share/caepcm + + # gzip all ppd files + #find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 + + cd $fs/usr/lib + ln -sf libc3pl.so.0.0.1 libc3pl.so.0 + ln -sf libc3pl.so.0.0.1 libc3pl.so + + ln -sf libcnaccm.so.1.0 libcnaccm.so.1 + ln -sf libcnaccm.so.1.0 libcnaccm.so + + ln -sf libcaepcm.so.1.0 libcaepcm.so.1 + ln -sf libcaepcm.so.1.0 libcaepcm.so + + ln -sf libcnlbcm.so.1.0 libcnlbcm.so.1 + ln -sf libcnlbcm.so.1.0 libcnlbcm.so + + ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so.1 + ln -sf libcaiowrap.so.1.0.0 libcaiowrap.so + + ln -sf libcaiousb.so.1.0.0 libcaiousb.so.1 + ln -sf libcaiousb.so.1.0.0 libcaiousb.so + + ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so.1 + ln -sf libcanonc3pl.so.1.0.0 libcanonc3pl.so + DEPENDS="cups cairo gtk+" + TAGS="printer driver" + ;; + *-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 42d9d6d83956 -r 8940878905f3 compface/receipt --- a/compface/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/compface/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -11,19 +11,25 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://ftp.xemacs.org/pub/xemacs/aux/$TARBALL" -SPLIT="compface-dev" +SPLIT="xbm2xface compface compface-dev" -# Rules to configure and make the package. -compile_rules() -{ - ./configure $CONFIGURE_ARGS && make && make install +compile_rules() { + ./configure $CONFIGURE_ARGS && make && make install || return 1 + + install -Dm755 $src/xbm2xface.pl $install/usr/bin/xbm2xface.pl } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in - compface) copy @std ;; - compface-dev) copy @dev ;; + xbm2xface) + copy xbm2xface.pl + DEPENDS="compface perl" + ;; + compface) + copy @std @rm + ;; + *-dev) + copy @dev + ;; esac } diff -r 42d9d6d83956 -r 8940878905f3 esound-dev/receipt --- a/esound-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="esound-dev" -VERSION="0.2.41" -CATEGORY="development" -SHORT_DESC="Enlightened Sound Daemon" -MAINTAINER="allan316@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.tux.org/~ricdude/EsounD.html" - -WANTED="esound" -DEPENDS="esound 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/*.la $fs/usr/lib - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} - diff -r 42d9d6d83956 -r 8940878905f3 esound/receipt --- a/esound/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/esound/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="esound" VERSION="0.2.41" @@ -7,16 +7,14 @@ MAINTAINER="allan316@gmail.com" LICENSE="GPL2" WEB_SITE="http://www.tux.org/~ricdude/EsounD.html" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/esound/${VERSION%.*}/$TARBALL" -TAGS="audio sound" -DEPENDS="audiofile alsa-lib" BUILD_DEPENDS="audiofile-dev alsa-lib-dev" +SPLIT="esound-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --sysconfdir=/etc \ $CONFIGURE_ARGS && @@ -24,11 +22,22 @@ 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/etc $fs - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + esound) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/etc $fs + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="audiofile alsa-lib" + TAGS="audio sound" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 espeak-dev/receipt --- a/espeak-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="espeak-dev" -VERSION="1.45.05" -CATEGORY="misc" -SHORT_DESC="Speech synthesizer devel files." -MAINTAINER="erjo@slitaz.org" -LICENSE="GPL3" -WANTED="espeak" -WEB_SITE="http://espeak.sourceforge.net/" - -# 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 42d9d6d83956 -r 8940878905f3 espeak/receipt --- a/espeak/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/espeak/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,42 +1,47 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="espeak" VERSION="1.45.05" CATEGORY="misc" -SHORT_DESC="Speech synthesizer." +SHORT_DESC="Speech synthesizer" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" +WEB_SITE="http://espeak.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-source.zip" -WEB_SITE="http://espeak.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="speech synthesis" -DEPENDS="portaudio jack" -BUILD_DEPENDS="$DEPENDS portaudio-dev jack-dev" +BUILD_DEPENDS="portaudio-dev jack-dev" +SPLIT="espeak-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null cd $src/src - + # Using portaudio v19 cp portaudio19.h portaudio.h - + 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/share $fs/usr - - # Make symlink - #cd $fs/usr/lib - #ln -s libespeak.so.1.1.42 libespeak.so.1 +genpkg_rules() { + case $PACKAGE in + espeak) + 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/share $fs/usr + + # Make symlink + #cd $fs/usr/lib + #ln -s libespeak.so.1.1.42 libespeak.so.1 + DEPENDS="portaudio jack" + TAGS="speech synthesis" + ;; + *-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 42d9d6d83956 -r 8940878905f3 evolution-data-server-dev/receipt --- a/evolution-data-server-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="evolution-data-server-dev" -VERSION="2.28.1" -CATEGORY="development" -SHORT_DESC="Integrated mail, addressbook and calendaring, server developement files." -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://projects.gnome.org/evolution/download.shtml" -WANTED="evolution-data-server" - -DEPENDS="evolution-data-server" - -# 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 - cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib - - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; - -} - diff -r 42d9d6d83956 -r 8940878905f3 evolution-data-server/receipt --- a/evolution-data-server/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/evolution-data-server/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,23 +1,22 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="evolution-data-server" VERSION="2.28.1" CATEGORY="network" -SHORT_DESC="Integrated mail, addressbook and calendaring, server." +SHORT_DESC="Integrated mail, addressbook and calendaring, server" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2" +WEB_SITE="http://projects.gnome.org/evolution/download.shtml" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://projects.gnome.org/evolution/download.shtml" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/evolution-data-server/${VERSION%.*}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libgnomeui libsoup" -BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev GConf-dev libical-dev - firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex glib-dev sqlite3-dev" +BUILD_DEPENDS="libglade-dev libsoup-dev gtk+-dev orbit2-dev libbonobo-dev \ +GConf-dev libical-dev firefox-dev db-dev xorg-libxcb-dev popt-dev bison flex \ +glib-dev sqlite3-dev" +SPLIT="evolution-data-server-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -33,24 +32,38 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share +genpkg_rules() { + case $PACKAGE in + evolution-data-server) + mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/share/pixmaps $fs/usr/share - cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share - cp -a $install/usr/share/idl $fs/usr/share - - cp -a $install/usr/lib/bonobo $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib - - # Clean unwated files - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; - - # Stripping all - find . -name "*.so" -exec strip -s {} \; - + cp -a $install/usr/share/pixmaps $fs/usr/share + cp -a $install/usr/share/evolution-data-server-2.28 $fs/usr/share + cp -a $install/usr/share/idl $fs/usr/share + + cp -a $install/usr/lib/bonobo $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; + + # Stripping all + find . -name "*.so" -exec strip -s {} \; + DEPENDS="libgnomeui libsoup" + ;; + *-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 + cp -a $install/usr/lib/evolution-data-server-1.2 $fs/usr/lib + + # Clean unwated files + cd $fs/usr/lib ; find . -name "*.so*" -exec rm -f {} \; + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 gcc61-lib-base/receipt --- a/gcc61-lib-base/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gcc61-lib-base" -VERSION="6.1.0" -CATEGORY="development" -SHORT_DESC="GCC base libraries, libgcc_s and libstdc++." -WEB_SITE="http://gcc.gnu.org/" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WANTED="gcc61" -PROVIDE="gcc-lib-base" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib - cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib - rm -f $fs/usr/lib/*-gdb.py -} - -post_remove() -{ - cd "$1/usr/lib" - ln -s libstdc++.so.6.*.* libstdc++.so.6 - ln -s libstdc++.so.6.*.* libstdc++.so - cd - >/dev/null -} diff -r 42d9d6d83956 -r 8940878905f3 gcc61/receipt --- a/gcc61/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gcc61/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,26 +1,23 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gcc61" -SOURCE="gcc" VERSION="6.1.0" CATEGORY="development" -SHORT_DESC="The GNU Compiler Collection." +SHORT_DESC="The GNU Compiler Collection" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://gcc.gnu.org/" + +TARBALL="gcc-$VERSION.tar.bz2" WGET_URL="ftp://gcc.gnu.org/pub/gcc/releases/gcc-$VERSION/$TARBALL" -TAGS="compiler C C++" # We need gawk since busybox awk is not sufficient. We have BUILD_DEPENDS # for cookutils that are not used by tazwok/cook-toolchain since it installs # and uses its own copy. -DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" BUILD_DEPENDS="mpc-library-dev mpfr-dev gmp-dev elfutils-dev zlib-dev" +SPLIT="gcc61-lib-base" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ARCH_ARGS="--with-tune=$ARCH" pkgversion="SliTaz" languages="c,c++" @@ -51,19 +48,38 @@ make && 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 +genpkg_rules() { + case $PACKAGE in + gcc61) + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr - # Copy all libs. Do not hide gcc-lib-base. - cp -a $install/usr/lib* $fs/usr + # Copy all libs. Do not hide gcc-lib-base. + cp -a $install/usr/lib* $fs/usr - # Include files. - cp -a $install/usr/include $fs/usr + # Include files. + cp -a $install/usr/include $fs/usr - # Remove build directory. - rm -rf $WOK/$PACKAGE/source/$PACKAGE-build - rm -rf $WOK/$PACKAGE/$PACKAGE-build + # Remove build directory. + rm -rf $WOK/$PACKAGE/source/$PACKAGE-build + rm -rf $WOK/$PACKAGE/$PACKAGE-build + DEPENDS="binutils libgomp libobjc gcc-lib-base mpc-library elfutils" + TAGS="compiler C C++" + ;; + gcc61-lib-base) + mkdir -p $fs/usr/lib + cp -a $install/usr/libgcc61/libgcc_s.so* $fs/usr/lib + cp -a $install/usr/libgcc61/libstdc++.so* $fs/usr/lib + rm -f $fs/usr/lib/*-gdb.py + CAT="development|base libraries, libgcc_s and libstdc++" + PROVIDE="gcc-lib-base" + ;; + esac } + +post_remove_gcc61_lib_base() { + cd "$1/usr/lib" + ln -s libstdc++.so.6.*.* libstdc++.so.6 + ln -s libstdc++.so.6.*.* libstdc++.so + cd - >/dev/null +} diff -r 42d9d6d83956 -r 8940878905f3 gnome-keyring/receipt --- a/gnome-keyring/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gnome-keyring/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-keyring" VERSION="2.32.1" CATEGORY="x-window" -SHORT_DESC="A program that keep password and other secrets for users." +SHORT_DESC="A program that keep password and other secrets for users" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnome.org" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="libgcrypt libtasn1 python dbus gtk+" BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool gtk+-dev" +SPLIT="gnome-keyring-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i -e 's||&\n#include |' \ -e 's|const struct static_struct_asn|const ASN1_ARRAY_TYPE|' \ egg/egg-asn1x.h @@ -26,21 +25,26 @@ make && make 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/lib/$PACKAGE $fs/usr/lib - for i in dbus-1 GConf gcr glib-2.0 $PACKAGE - do - cp -a $install/usr/share/$i $fs/usr/share - done - - # Remove devel files. - rm -rf $fs/usr/lib/gnome-keyring/devel - find $fs/usr/lib -name *.*a -exec rm -f {} \; +genpkg_rules() { + case $PACKAGE in + gnome-keyring) + 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/lib/$PACKAGE $fs/usr/lib + for i in dbus-1 GConf gcr glib-2.0 $PACKAGE + do + cp -a $install/usr/share/$i $fs/usr/share + done + + # Remove devel files. + rm -rf $fs/usr/lib/gnome-keyring/devel + find $fs/usr/lib -name *.*a -exec rm -f {} \; + DEPENDS="libgcrypt libtasn1 python dbus gtk+" + ;; + *-dev) + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 gnome-menus-dev/receipt --- a/gnome-menus-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gnome-menus-dev" -VERSION="2.30.2" -CATEGORY="development" -SHORT_DESC="GNOME menu used by e17." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WANTED="gnome-menus" -WEB_SITE="http://www.gnome.org/" - -DEPENDS="python-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/$PYTHON_LIB/site-packages/*.*a \ - $fs/usr/lib/$PYTHON_LIB/site-packages - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r 42d9d6d83956 -r 8940878905f3 gnome-menus/receipt --- a/gnome-menus/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gnome-menus/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,22 +1,21 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gnome-menus" VERSION="2.30.2" CATEGORY="x-window" -SHORT_DESC="GNOME menu libs and tools (without desktop files)." +SHORT_DESC="GNOME menu libs and tools (without desktop files)" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.gnome.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnome.org/" -WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL" +#WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib" BUILD_DEPENDS="intltool python-dev python glib-dev" -SUGGESTED="python gamin" +SPLIT="gnome-menus-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -26,12 +25,26 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib - rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a +genpkg_rules() { + case $PACKAGE in + gnome-menus) + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib + rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a + DEPENDS="glib" + SUGGESTED="python gamin" + ;; + *-dev) + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') + mkdir -p $fs/usr/lib/$PYTHON_LIB/site-packages + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/$PYTHON_LIB/site-packages/*.*a \ + $fs/usr/lib/$PYTHON_LIB/site-packages + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + DEPENDS="gnome-menus python-dev" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 gsoap-dev/receipt --- a/gsoap-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gsoap-dev" -VERSION="2.8.7" -CATEGORY="development" -SHORT_DESC="devel files for gsoap" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="GPL2" -WEB_SITE="http://www.cs.fsu.edu/~engelen/soap.html" -WANTED="gsoap" - -DEPENDS="gsoap 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 42d9d6d83956 -r 8940878905f3 gsoap/receipt --- a/gsoap/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gsoap/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gsoap" VERSION="2.8.7" @@ -7,26 +7,37 @@ MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="http://www.cs.fsu.edu/~engelen/soap.html" + TARBALL="${PACKAGE}_${VERSION}.zip" WGET_URL="$SF_MIRROR/gsoap2/$TARBALL" -DEPENDS="openssl zlib" BUILD_DEPENDS="autoconf automake openssl-dev zlib-dev flex" +SPLIT="gsoap-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { sed -i 's/aclocal-.{am__api_version}/aclocal/' configure sed -i 's/automake-.{am__api_version}/automake/' configure - CXXFLAGS=-fPIC CFLAGS=-fPIC LDFLAGS=-fPIC ./configure \ - $CONFIGURE_ARGS && make -j1 && make install + CXXFLAGS=-fPIC \ + CFLAGS=-fPIC \ + LDFLAGS=-fPIC \ + ./configure \ + $CONFIGURE_ARGS && + make -j1 && make 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/share/gsoap $fs/usr/share +genpkg_rules() { + case $PACKAGE in + gsoap) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/gsoap $fs/usr/share + DEPENDS="openssl zlib" + ;; + *-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 42d9d6d83956 -r 8940878905f3 gtk-sharp-dev/receipt --- a/gtk-sharp-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gtk-sharp-dev" -VERSION="2.12.26" -CATEGORY="development" -SHORT_DESC="Gtk# is a Graphical User Interface Toolkit for mono and .Net" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://www.mono-project.com/docs/gui/gtksharp/" - -WANTED="gtk-sharp" -DEPENDS="gtk-sharp" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - copy bin/ *.a *.la *.pc *.xml *.exe *.pl -} diff -r 42d9d6d83956 -r 8940878905f3 gtk-sharp/receipt --- a/gtk-sharp/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gtk-sharp/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gtk-sharp" VERSION="2.12.26" @@ -7,25 +7,31 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="http://www.mono-project.com/docs/gui/gtksharp/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -num=${VERSION%.*}; num=${num//./} -WGET_URL="http://download.mono-project.com/sources/gtk-sharp$num/$TARBALL" +SERIES=${VERSION%.*} +WGET_URL="http://download.mono-project.com/sources/gtk-sharp${SERIES//./}/$TARBALL" -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base gtk+ \ -harfbuzz libffi libglade libpng16 xorg-libxcb libxml2 pango pcre xorg-pixman \ -xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ -xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ -xorg-libXrender zlib" BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev" +SPLIT="gtk-sharp-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() -{ - copy *.so *.dll *.config +genpkg_rules() { + case $PACKAGE in + gtk-sharp) + copy *.so *.dll *.config + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib \ + glibc-base gtk+ harfbuzz libffi libglade libpng16 xorg-libxcb \ + libxml2 pango pcre xorg-pixman xorg-libX11 xorg-libXau \ + xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ + xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrandr \ + xorg-libXrender zlib" + ;; + *-dev) + copy bin/ *.a *.la *.pc *.xml *.exe *.pl + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 gtkmm-dev/receipt --- a/gtkmm-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="gtkmm-dev" -VERSION="2.24.5" -CATEGORY="development" -SHORT_DESC="Callback Framework for C++ devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WANTED="gtkmm" -WEB_SITE="http://www.gtkmm.org/" - -DEPENDS="gtkmm gtk+-dev atkmm-dev glibmm-dev libgiomm-dev pangomm-dev 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/lib/gtkmm-2.4 $fs/usr/lib - cp -a $install/usr/lib/gdkmm-2.4 $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r 42d9d6d83956 -r 8940878905f3 gtkmm/receipt --- a/gtkmm/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/gtkmm/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,24 +1,21 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="gtkmm" VERSION="2.24.5" CATEGORY="x-window" -SHORT_DESC="C++ interface for the popular GUI library GTK+." +SHORT_DESC="C++ interface for the popular GUI library GTK+" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://www.gtkmm.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.gtkmm.org/" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" -DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm \ -gcc-lib-base" BUILD_DEPENDS="doxygen gtk+-dev atkmm-dev glibmm-dev cairomm-dev libsigc++-dev \ pangomm-dev glibmm-dev mm-common" +SPLIT="gtkmm-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --disable-documentation \ $CONFIGURE_ARGS && @@ -26,9 +23,23 @@ 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 + gtkmm) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage \ + libgiomm pangomm 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/lib/gtkmm-2.4 $fs/usr/lib + cp -a $install/usr/lib/gdkmm-2.4 $fs/usr/lib + cp -a $install/usr/include $fs/usr + DEPENDS="gtkmm gtk+-dev atkmm-dev glibmm-dev libgiomm-dev \ + pangomm-dev" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 i3-man/receipt --- a/i3-man/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="i3-man" -VERSION="4.5.1" -CATEGORY="x-window" -SHORT_DESC="i3 tiling window manager man pages" -MAINTAINER="ybringler@gmail.com" -LICENSE="BSD" -WEB_SITE="http://i3wm.org" -WANTED="i3" - -# Rules to gen a SliTaz package suitable for Tazpkg. - -genpkg_rules() -{ - mkdir -p $fs/usr/share/man - for i in $src/man/*.man; do - cp $i $fs/usr/share/man/raw-${i##*/} - done -} diff -r 42d9d6d83956 -r 8940878905f3 i3/receipt --- a/i3/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/i3/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="i3" VERSION="4.5.1" @@ -7,24 +7,32 @@ MAINTAINER="ybringler@gmail.com" LICENSE="BSD" WEB_SITE="http://i3wm.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/downloads/$TARBALL" -DEPENDS="xorg-libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu \ -startup-notification xorg-xcb-util" BUILD_DEPENDS="make gcc pkg-config xorg-xcb-proto xorg-libxcb-dev xorg-xcb-util-dev \ libev-dev flex bison yajl t2 docbook-xml xorg-libXcursor-dev xorg-libX11-dev \ pcre-dev startup-notification-dev xorg-xcb-util-keysyms-dev xorg-xcb-util-wm-dev pango-dev" +SPLIT="i3-man" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. - -genpkg_rules() -{ - cp -a $install/* $fs +genpkg_rules() { + case $PACKAGE in + i3) + cp -a $install/* $fs + DEPENDS="xorg-libxcb xorg-libXcursor xorg-libX11 yajl libev dmenu \ + startup-notification xorg-xcb-util" + ;; + i3-man) + CAT="x-window|man pages" + mkdir -p $fs/usr/share/man + for i in $src/man/*.man; do + cp $i $fs/usr/share/man/raw-${i##*/} + done + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libappindicator-gtk2/receipt --- a/libappindicator-gtk2/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libappindicator-gtk2/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -3,7 +3,7 @@ PACKAGE="libappindicator-gtk2" VERSION="12.10.0" CATEGORY="x-window" -SHORT_DESC="Allow applications to extend a menu via Ayatana indicators (GTK+2)" +SHORT_DESC="Allow applications to extend a menu via Ayatana indicators" MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1 LGPL3" WEB_SITE="https://launchpad.net/libappindicator" @@ -13,17 +13,22 @@ BUILD_DEPENDS="glib-dev gtk-doc gtk+-dev libindicator-gtk2-dev \ libdbusmenu-gtk2-dev dbus-glib-dev gobject-introspection-dev vala python-dev \ -pygtk-dev pygobject-dev" -SPLIT="libappindicator-gtk2-python libappindicator-gtk2-dev" -SIBLINGS="libappindicator-gtk3" +pygtk-dev pygobject-dev gtk+3-dev libindicator-gtk3-dev libdbusmenu-gtk3-dev" +SPLIT="libappindicator-gtk2 libappindicator-gtk2-python \ +libappindicator-gtk2-dev libappindicator-gtk3:3 libappindicator-gtk3-dev:3" compile_rules() { + case $SET in + '') SET_ARGS='--with-gtk=2';; + 3) SET_ARGS='--with-gtk=3';; + esac + sed -i 's|example ||g' Makefile.in export CFLAGS="$CFLAGS -Wno-deprecated-declarations" ./configure \ --sysconfdir=/etc \ --localstatedir=/var \ - --with-gtk=2 \ + $SET_ARGS \ $CONFIGURE_ARGS && make && make install @@ -33,15 +38,16 @@ case $PACKAGE in libappindicator-gtk2) copy libappindicator.so* + CAT="x-window|GTK+2" DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \ libdbusmenu-gtk2 libindicator-gtk2 pango" ;; - *-python) + libappindicator-gtk2-python) copy @std @rm DEPENDS="libappindicator-gtk2 python" - CAT="python|Python bindings" + CAT="python|GTK+2 Python bindings" ;; - *-dev) + libappindicator-gtk2-dev) copy @dev DEPENDS="libappindicator-gtk2 libappindicator-gtk2-python \ atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ @@ -52,5 +58,23 @@ xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \ xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" ;; + + libappindicator-gtk3) + copy @std + CAT="x-window|GTK+3" + DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libdbusmenu-gtk3 \ + libindicator-gtk3 pango" + ;; + libappindicator-gtk3-dev) + copy @dev + DEPENDS="libappindicator-gtk3 \ + atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \ + gdk-pixbuf-dev glib-dev gtk+3-dev harfbuzz-dev \ + libdbusmenu-gtk3-dev libffi-dev libindicator-gtk3-dev libpng16-dev \ + libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \ + util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ + xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" + ;; esac } diff -r 42d9d6d83956 -r 8940878905f3 libappindicator-gtk3/receipt --- a/libappindicator-gtk3/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,50 +0,0 @@ -# SliTaz package receipt v2. - -PACKAGE="libappindicator-gtk3" -VERSION="12.10.0" -CATEGORY="x-window" -SHORT_DESC="Allow applications to extend a menu via Ayatana indicators (GTK+3)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1 LGPL3" -WEB_SITE="https://launchpad.net/libappindicator" - -TARBALL="libappindicator-$VERSION.tar.gz" -WGET_URL="https://launchpad.net/libappindicator/${VERSION%.*}/$VERSION/+download/$TARBALL" - -BUILD_DEPENDS="glib-dev gtk-doc gtk+3-dev libindicator-gtk3-dev \ -libdbusmenu-gtk3-dev dbus-glib-dev vala python-dev pygtk-dev gtk+-dev \ -pygobject-dev" -SPLIT="libappindicator-gtk3-dev" -SIBLINGS="libappindicator-gtk2" - -compile_rules() { - sed -i 's|example ||g' Makefile.in - export CFLAGS="$CFLAGS -Wno-deprecated-declarations" - ./configure \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-gtk=3 \ - $CONFIGURE_ARGS && - make && - make install -} - -genpkg_rules() { - case $PACKAGE in - libappindicator-gtk3) - copy @std - DEPENDS="atk cairo gdk-pixbuf glib gtk+3 libdbusmenu-gtk3 \ - libindicator-gtk3 pango" - ;; - *-dev) - copy @dev - DEPENDS="libappindicator-gtk3 atk-dev bzip2-dev cairo-dev \ - fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+3-dev \ - harfbuzz-dev libdbusmenu-gtk3-dev libffi-dev libindicator-gtk3-dev \ - libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \ - util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \ - xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ - xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" - ;; - esac -} diff -r 42d9d6d83956 -r 8940878905f3 libasyncns-dev/receipt --- a/libasyncns-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libasyncns-dev" -VERSION="0.8" -CATEGORY="development" -SHORT_DESC="devel files for libasyncns." -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://0pointer.de/lennart/projects/libasyncns" -WANTED="libasyncns" - -DEPENDS="libasyncns 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 42d9d6d83956 -r 8940878905f3 libasyncns/receipt --- a/libasyncns/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libasyncns/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libasyncns" VERSION="0.8" CATEGORY="development" -SHORT_DESC="A C library for Linux/Unix for executing name service queries asynchronously." +SHORT_DESC="A C library for Linux/Unix for executing name service queries \ +asynchronously" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" +WEB_SITE="http://0pointer.de/lennart/projects/libasyncns" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://0pointer.de/lennart/projects/libasyncns" WGET_URL="$WEB_SITE/$TARBALL" -DEPENDS="glibc-base" +SPLIT="libasyncns-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -25,10 +24,18 @@ 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 + libasyncns) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="glibc-base" + ;; + *-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 42d9d6d83956 -r 8940878905f3 libftdi-dev/receipt --- a/libftdi-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libftdi-dev" -VERSION="0.18" -CATEGORY="development" -SHORT_DESC="libftdi devel files." -MAINTAINER="rcx@zoominternet.net" -LICENSE="BSD GPL2 LGPL2" -WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" -WANTED="libftdi" - -DEPENDS="pkg-config libftdi" - -# 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 42d9d6d83956 -r 8940878905f3 libftdi/receipt --- a/libftdi/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libftdi/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,21 +1,20 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libftdi" VERSION="0.18" CATEGORY="system-tools" -SHORT_DESC="A library to talk to FTDI chips using libusb." +SHORT_DESC="A library to talk to FTDI chips using libusb" MAINTAINER="rcx@zoominternet.net" LICENSE="BSD GPL2 LGPL2" +WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL" -DEPENDS="glibc-base libusb libusb-compat gcc-lib-base" BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev udev-dev" +SPLIT="libftdi-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && @@ -23,10 +22,19 @@ 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/bin $fs/usr +genpkg_rules() { + case $PACKAGE in + libftdi) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/bin $fs/usr + DEPENDS="glibc-base libusb libusb-compat 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 42d9d6d83956 -r 8940878905f3 libglu-mesa-dev/receipt --- a/libglu-mesa-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libglu-mesa-dev" -VERSION="9.0.0" -CATEGORY="development" -SHORT_DESC="OpenGL utility library, development files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.mesa3d.org/" - -WANTED="libglu-mesa" -DEPENDS="libglu-mesa pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/libGLU*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r 42d9d6d83956 -r 8940878905f3 libglu-mesa/receipt --- a/libglu-mesa/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libglu-mesa/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,34 +1,39 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libglu-mesa" VERSION="9.0.0" CATEGORY="x-window" -SHORT_DESC="OpenGL utility library." +SHORT_DESC="OpenGL utility library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" +WEB_SITE="http://www.mesa3d.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.mesa3d.org/" WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git" -PROVIDE="libglu" -DEPENDS="glibc-base gcc-lib-base mesa" BUILD_DEPENDS="mesa-dev automake autoconf libtool expat-dev xorg-dev \ - xorg-libxshmfence-dev" +xorg-libxshmfence-dev" +SPLIT="libglu-mesa-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./autogen.sh - ./configure \ - --prefix=/usr \ - $CONFIGURE_ARGS && +compile_rules() { + ./autogen.sh && + ./configure $CONFIGURE_ARGS && make $MAKEFLAGS && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/libGLU*so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libglu-mesa) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libGLU*so* $fs/usr/lib + DEPENDS="glibc-base gcc-lib-base mesa" + PROVIDE="libglu" + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libGLU*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libhangul-dev/receipt --- a/libhangul-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libhangul-dev" -VERSION="0.1.0" -CATEGORY="development" -SHORT_DESC="devel files for libhangul" -MAINTAINER="allan316@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="http://kldp.net/projects/hangul" -WANTED="libhangul" - -DEPENDS="libhangul 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/*.la $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r 42d9d6d83956 -r 8940878905f3 libhangul/receipt --- a/libhangul/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libhangul/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,21 +1,19 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libhangul" VERSION="0.1.0" CATEGORY="misc" -SHORT_DESC="library for Hangul" +SHORT_DESC="Library for Hangul" MAINTAINER="allan316@gmail.com" LICENSE="LGPL2.1" +WEB_SITE="http://kldp.net/projects/hangul" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://kldp.net/projects/hangul" WGET_URL="http://libhangul.googlecode.com/files/$TARBALL" -DEPENDS="" +SPLIT="libhangul-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -25,11 +23,20 @@ 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/libhangul $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libhangul) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/libhangul $fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.a $fs/usr/lib + 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 + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libhx-dev/receipt --- a/libhx-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libhx-dev" -VERSION="3.21" -CATEGORY="development" -SHORT_DESC="data structures and functions for scripting languages, dev files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL3 LGPL2.1" -SOURCE="libHX" -WANTED="libhx" -WEB_SITE="http://libhx.sourceforge.net/" - -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 42d9d6d83956 -r 8940878905f3 libhx/receipt --- a/libhx/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libhx/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,30 +1,39 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libhx" VERSION="3.21" CATEGORY="development" -SHORT_DESC="data structures and functions for scripting languages." +SHORT_DESC="Data structures and functions for scripting languages" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL3 LGPL2.1" -SOURCE="libHX" -TARBALL="$SOURCE-$VERSION.tar.xz" -WEB_SITE="http://$PACKAGE.sourceforge.net/" +WEB_SITE="http://libhx.sourceforge.net/" + +TARBALL="libHX-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="coreutils-file-special" BUILD_DEPENDS="coreutils-file-special" +SPLIT="libhx" -# 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/libHX.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libhx) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libHX.so* $fs/usr/lib + DEPENDS="coreutils-file-special" + ;; + *-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 42d9d6d83956 -r 8940878905f3 libmcrypt-dev/receipt --- a/libmcrypt-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmcrypt-dev" -VERSION="2.5.8" -CATEGORY="development" -SHORT_DESC="Encryption Library dev files" -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://mcrypt.sourceforge.net/" -WANTED="libmcrypt" - -DEPENDS="libmcrypt" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr -} - diff -r 42d9d6d83956 -r 8940878905f3 libmcrypt/receipt --- a/libmcrypt/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libmcrypt/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmcrypt" VERSION="2.5.8" @@ -6,15 +6,14 @@ SHORT_DESC="Encryption Library" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://mcrypt.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://mcrypt.sourceforge.net/" -WGET_URL="http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/mcrypt/$TARBALL" -DEPENDS="" +SPLIT="libmcrypt-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -23,10 +22,19 @@ 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/libmcrypt $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libmcrypt) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libmcrypt $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/bin $fs/usr + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libmediainfo-dev/receipt --- a/libmediainfo-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmediainfo-dev" -VERSION="0.7.79" -CATEGORY="development" -SHORT_DESC="Library reading metadata from media files development files" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="zlib/libpng" -WEB_SITE="http://mediaarea.net/" - -WANTED="libmediainfo" -DEPENDS="libmediainfo" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs - rm $fs/usr/lib/*.so* -} diff -r 42d9d6d83956 -r 8940878905f3 libmediainfo/receipt --- a/libmediainfo/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libmediainfo/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmediainfo" VERSION="0.7.79" @@ -7,15 +7,14 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" WEB_SITE="http://mediaarea.net/" + TARBALL="${PACKAGE}_$VERSION.tar.xz" WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL" -DEPENDS="libcurl libmms" BUILD_DEPENDS="libzen libtool automake autoconf curl-dev libmms-dev" +SPLIT="libmediainfo-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { cd Project/GNU/Library ./autogen.sh ./configure \ @@ -26,7 +25,7 @@ --with-libcurl \ --with-libmms \ $CONFIGURE_ARGS && - make && make install + make && make install || return 1 mkdir -p $install/usr/bin cp -a libmediainfo-config $install/usr/bin @@ -34,9 +33,16 @@ $install/usr/bin/libmediainfo-config } -# 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 + libmediainfo) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="libcurl libmms" + ;; + *-dev) + cp -a $install/* $fs + rm $fs/usr/lib/*.so* + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libmikmod-dev/receipt --- a/libmikmod-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmikmod-dev" -VERSION="3.3.6" -CATEGORY="development" -SHORT_DESC="Libmikmod devel files and headers." -LICENSE="LGPL2 LGPL2.1" -MAINTAINER="paul@slitaz.org" -WANTED="libmikmod" -WEB_SITE="http://mikmod.shlomifish.org/" - -# 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/include $fs/usr - cp -a $install/usr/lib/*.*a* $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share -} - diff -r 42d9d6d83956 -r 8940878905f3 libmikmod/receipt --- a/libmikmod/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libmikmod/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,33 +1,41 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmikmod" VERSION="3.3.6" CATEGORY="development" -SHORT_DESC="Mikmod module player library." +SHORT_DESC="Mikmod module player library" MAINTAINER="paul@slitaz.org" LICENSE="LGPL2 LGPL2.1" +WEB_SITE="http://mikmod.shlomifish.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://mikmod.shlomifish.org/" -WGET_URL="http://downloads.sourceforge.net/project/mikmod/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/mikmod/$TARBALL" -DEPENDS="" BUILD_DEPENDS="bash" +SPLIT="libmikmod-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { touch macintosh/_libmikmodversion.r sed -i 's|\$(SHELL)|/bin/bash|' configure - ./configure --prefix=/usr \ + ./configure \ + --prefix=/usr \ $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 + libmikmod) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* /$fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a* $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libmowgli-dev/receipt --- a/libmowgli-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmowgli-dev" -VERSION="2.0.0" -CATEGORY="development" -SHORT_DESC="High performance and highly flexible algorithms." -MAINTAINER="mimas@slitaz.org" -LICENSE="BSD" -WANTED="libmowgli" -WEB_SITE="http://www.atheme.org/projects/mowgli.shtml" - -DEPENDS="libmowgli pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/pkgconfig - cp -a $install/usr/include $fs/usr - #cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig -} - diff -r 42d9d6d83956 -r 8940878905f3 libmowgli/receipt --- a/libmowgli/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libmowgli/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,30 +1,37 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmowgli" VERSION="2.0.0" CATEGORY="system-tools" -SHORT_DESC="High performance and highly flexible algorithms." +SHORT_DESC="High performance and highly flexible algorithms" MAINTAINER="mimas@slitaz.org" LICENSE="BSD" +WEB_SITE="http://www.atheme.org/projects/mowgli" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.atheme.org/projects/mowgli" WGET_URL="https://github.com/atheme/libmowgli-2/archive/$TARBALL" BUILD_DEPENDS="wget" +SPLIT="libmowgli-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { sed -i "s/touch -t 0001010000 /touch /g" configure ./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/libmowgli*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + libmowgli) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/libmowgli*.so* $fs/usr/lib + ;; + *-dev) + mkdir -p $fs/usr/lib/pkgconfig + cp -a $install/usr/include $fs/usr + #cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libofx-dev/receipt --- a/libofx-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libofx-dev" -VERSION="0.9.8" -CATEGORY="development" -SHORT_DESC="OFX parser library dev files" -MAINTAINER="remyhr@free.fr" -LICENSE="GPL2" -WEB_SITE="http://libofx.sourceforge.net/" -WANTED="libofx" - -DEPENDS="libofx opensp-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share $fs/usr/lib - - cp -a $install/usr/share/libofx $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 42d9d6d83956 -r 8940878905f3 libofx/receipt --- a/libofx/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libofx/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libofx" VERSION="0.9.8" @@ -6,17 +6,15 @@ SHORT_DESC="OFX parser library" MAINTAINER="remyhr@free.fr" LICENSE="GPL2" +WEB_SITE="http://libofx.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://libofx.sourceforge.net/" -WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="opensp" BUILD_DEPENDS="opensp-dev" +SPLIT="libofx-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && @@ -24,11 +22,22 @@ make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/include /usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib $fs/usr +genpkg_rules() { + case $PACKAGE in + libofx) + mkdir -p $fs/usr/bin $fs/usr/include /usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib $fs/usr + DEPENDS="opensp" + ;; + *-dev) + mkdir -p $fs/usr/share $fs/usr/lib + cp -a $install/usr/share/libofx $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 + DEPENDS="libofx opensp-dev" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libpri-dev/receipt --- a/libpri-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libpri-dev" -VERSION="1.4.11.4" -CATEGORY="system-tools" -SHORT_DESC="The libpri devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.asterisk.org/" -WANTED="libpri" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $fs/usr/include - cp -a $src/*.*a $fs/usr/lib - cp -a $src/libpri.h $fs/usr/include -} diff -r 42d9d6d83956 -r 8940878905f3 libpri/receipt --- a/libpri/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libpri/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,27 +1,35 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libpri" VERSION="1.4.11.4" CATEGORY="system-tools" -SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI support)." +SHORT_DESC="C implementation of the Primary Rate ISDN specification (with BRI \ +support)" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.asterisk.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.asterisk.org/" WGET_URL="http://downloads.asterisk.org/pub/telephony/libpri/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +SPLIT="libpri-dev" + +compile_rules() { export CFLAGS="-Wno-error=unused-but-set-variable" sed -i 's|tei = (h->u.data|// &|;s/int tei;/int tei = tei;/' q921.c - make + make || return 1 + + mkdir -p $install/lib + cp -a $src/*.so* $install/lib + + mkdir -p $install/usr/lib $install/usr/include + cp -a $src/*.*a $install/usr/lib + cp -a $src/libpri.h $install/usr/include } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/lib - cp -a $src/*.so* $fs/lib +genpkg_rules() { + case $PACKAGE in + libpri) copy @std;; + *-dev) copy @dev;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libsmpeg-dev/receipt --- a/libsmpeg-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsmpeg-dev" -VERSION="399" -CATEGORY="development" -SHORT_DESC="Mpeg decoding library devel files" -MAINTAINER="claudinei@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://icculus.org/smpeg" -WANTED="libsmpeg" - -DEPENDS="libsmpeg" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include - cp $install/usr/bin/smpeg-config $fs/usr/bin - chmod +x $fs/usr/bin/smpeg-config - cp -a $install/usr/include/smpeg $fs/usr/include - cp -a $install/usr/lib/*.a $fs/usr/lib - cp -a $install/usr/share/aclocal $fs/usr/share - #fix aclocal warnings - sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4 -} - diff -r 42d9d6d83956 -r 8940878905f3 libsmpeg/receipt --- a/libsmpeg/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libsmpeg/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,33 +1,48 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsmpeg" VERSION="399" CATEGORY="development" -SHORT_DESC="Mpeg decoding library" +SHORT_DESC="MPEG decoding library" MAINTAINER="claudinei@slitaz.org" LICENSE="LGPL2" WEB_SITE="http://icculus.org/smpeg" -DEPENDS="libsdl gcc-lib-base" + +TARBALL="$PACKAGE-$VERSION.tar.bz2" +BRANCH="$VERSION" +WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk" + BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk" -BRANCH="$VERSION" +SPLIT="libsmpeg-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/ 0-1/(unsigned int)&/g' audio/hufftable.cpp chmod +x install-sh ./autogen.sh - ./configure --prefix=/usr --disable-gtk-player $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --disable-gtk-player \ + $CONFIGURE_ARGS && make LDFLAGS+=-lstdc++ && 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 + libsmpeg) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="libsdl gcc-lib-base" + ;; + *-dev) + mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share $fs/usr/include + cp $install/usr/bin/smpeg-config $fs/usr/bin + chmod +x $fs/usr/bin/smpeg-config + cp -a $install/usr/include/smpeg $fs/usr/include + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + #fix aclocal warnings + sed -i "s#(AM_PATH_SMPEG#([AM_PATH_SMPEG]#" $fs/usr/share/aclocal/smpeg.m4 + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 libva-intel-driver/receipt --- a/libva-intel-driver/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libva-intel-driver/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -12,7 +12,7 @@ WGET_URL="https://www.freedesktop.org/software/vaapi/releases/$PACKAGE/$TARBALL" BUILD_DEPENDS="autoconf automake libtool python libdrm-dev libva-dev \ -xorg-libpciaccess-dev" +xorg-libpciaccess-dev xorg-libX11-dev" SPLIT="libva-intel-driver-dev" compile_rules() { diff -r 42d9d6d83956 -r 8940878905f3 libvalhalla-dev/receipt --- a/libvalhalla-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libvalhalla-dev" -VERSION="2.1.0" -CATEGORY="multimedia" -SHORT_DESC="The libvalhalla devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WANTED="libvalhalla" -WEB_SITE="http://libvalhalla.geexbox.org/" - -DEPENDS="sqlite3-dev" - -# 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/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr -} diff -r 42d9d6d83956 -r 8940878905f3 libvalhalla/receipt --- a/libvalhalla/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/libvalhalla/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,49 +1,60 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libvalhalla" VERSION="2.1.0" CATEGORY="multimedia" -SHORT_DESC="A tiny media scanner API." +SHORT_DESC="A tiny media scanner API" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" +WEB_SITE="http://libvalhalla.geexbox.org/" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://libvalhalla.geexbox.org/" WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL" -DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite3 libxml2 libgcrypt libcurl \ -openssl" BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite3 sqlite3-dev \ libxml2-dev libexif-dev curl-dev" +SPLIT="libvalhalla-dev" -# Handle cross compilation -case "$ARCH" in - i?86) - #export LDFLAGS="$LDFLAGS -lavformat" - export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig - export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/ffmpeg-compat" ;; - arm*) - export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat/pkgconfig - export LDFLAGS="$LDFLAGS -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat" - export CFLAGS="$CFLAGS -I/cross/$ARCH/sysroot/usr/include/ffmpeg-compat" - export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat -lavformat" - ARCH_ARGS="--cross-compile" ;; -esac +compile_rules() { + case "$ARCH" in + arm*) + export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat/pkgconfig + export LDFLAGS="$LDFLAGS -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat" + export CFLAGS="$CFLAGS -I/cross/$ARCH/sysroot/usr/include/ffmpeg-compat" + export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib/ffmpeg-compat -lavformat" + ARCH_ARGS="--cross-compile" + ;; + *) + #export LDFLAGS="$LDFLAGS -lavformat" + export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig + export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/ffmpeg-compat" + ;; + esac -# Rules to configure and make the package. -compile_rules() -{ # Fix Busybox cat - sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' 0)$/{p;s/.*/{/;NNN;s/$/\n}/}' \ src/ip6-manager/nm-ip6-manager.c sed -i 's/.\(if (.nm_supplicant_config_add_setting_8021x\)/ \1/' \ @@ -32,19 +30,31 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib - cp -a $install/etc $fs - cp -a $install/var $fs - cp -a $install/usr/*bin $fs/usr - cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5 - cp -a $install/usr/lib/libnm*.so* $fs/usr/lib - cp -a $install/usr/lib/network-manager $fs/usr/lib - cp -a $install/usr/lib/NetworkManager $fs/usr/lib - cp -a $install/usr/share/dbus-1 $fs/usr/share - cp -a $install/usr/share/locale $fs/usr/share - cp -a $install/usr/share/polkit-1 $fs/usr/share - cp -a $install/lib/udev $fs/lib +genpkg_rules() { + case $PACKAGE in + network-manager) + mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/share $fs $fs/lib + cp -a $install/etc $fs + cp -a $install/var $fs + cp -a $install/usr/*bin $fs/usr + cp -a $install/usr/lib/pppd/2.4.5/*so $fs/usr/lib/pppd/2.4.5 + cp -a $install/usr/lib/libnm*.so* $fs/usr/lib + cp -a $install/usr/lib/network-manager $fs/usr/lib + cp -a $install/usr/lib/NetworkManager $fs/usr/lib + cp -a $install/usr/share/dbus-1 $fs/usr/share + cp -a $install/usr/share/locale $fs/usr/share + cp -a $install/usr/share/polkit-1 $fs/usr/share + cp -a $install/lib/udev $fs/lib + DEPENDS="dbus dbus-glib gtk+ wireless_tools libgudev libnl nss ppp \ + iptables dhcp-client" + ;; + *-dev) + mkdir -p $fs/usr/lib/pppd/2.4.5 $fs/usr/include + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pppd/2.4.5/*la $fs/usr/lib/pppd/2.4.5 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/libnm* $fs/usr/include + cp -a $install/usr/include/NetworkManager $fs/usr/include + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 ossp-uuid-dev/receipt --- a/ossp-uuid-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="ossp-uuid-dev" -VERSION="1.6.1" -CATEGORY="development" -SHORT_DESC="Universally Unique Identifier tools, development files" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://www.ossp.org/pkg/lib/uuid/" -WANTED="ossp-uuid" - -DEPENDS="ossp-uuid" - -# 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 42d9d6d83956 -r 8940878905f3 ossp-uuid/receipt --- a/ossp-uuid/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/ossp-uuid/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,30 +1,39 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="ossp-uuid" -SOURCE="uuid" VERSION="1.6.1" CATEGORY="base-system" SHORT_DESC="Universally Unique Identifier tools" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.ossp.org/pkg/lib/uuid/" -WGET_URL="ftp://ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr \ +TARBALL="uuid-$VERSION.tar.gz" +WGET_URL="ftp://ftp.ossp.org/pkg/lib/uuid/$TARBALL" + +SPLIT="ossp-uuid-dev" + +compile_rules() { + ./configure \ + --prefix=/usr \ --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/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + ossp-uuid) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + 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 42d9d6d83956 -r 8940878905f3 parted-dev/receipt --- a/parted-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="parted-dev" -VERSION="3.2" -CATEGORY="development" -SHORT_DESC="GNU parted editor devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL3" -WANTED="parted" -WEB_SITE="http://www.gnu.org/software/parted/index.shtml" - -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 42d9d6d83956 -r 8940878905f3 parted/receipt --- a/parted/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/parted/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -7,38 +7,28 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://www.gnu.org/software/parted/index.shtml" +LFS="http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html" +TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" -TARBALL="$PACKAGE-$VERSION.tar.xz" BUILD_DEPENDS="gettext util-linux-uuid-dev readline-dev check-dev texinfo" SPLIT="parted-dev" -# Rules to configure and make the package. -compile_rules() -{ -# grep -qs 'define u8' libparted/arch/linux.c || -# sed -i 's|#include |#define u8 __u8\n&|' libparted/arch/linux.c - - # http://www.linuxfromscratch.org/blfs/view/stable/postlfs/parted.html +compile_rules() { ./configure \ --disable-static \ - --disable-device-mapper \ $CONFIGURE_ARGS && make && make -C doc html && makeinfo --html -o doc/html doc/parted.texi && makeinfo --plaintext -o doc/parted.txt doc/parted.texi && - make install && - docdir="$install/usr/share/doc/parted-$VERSION" && - mkdir -p $docdir/html && - install -v -m644 doc/html/* $docdir/html && - install -v -m644 doc/FAT doc/API doc/parted.txt doc/parted.html $docdir + make install || return 1 + + cook_pick_docs doc/html/ doc/FAT doc/API doc/parted.txt doc/parted.html } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { case $PACKAGE in parted) copy *.so* sbin/ diff -r 42d9d6d83956 -r 8940878905f3 physfs-dev/receipt --- a/physfs-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="physfs-dev" -VERSION="2.0.2" -CATEGORY="development" -SHORT_DESC="Abstraction layer for filesystem and archive access" -MAINTAINER="devl547@gmail.com" -LICENSE="LGPL" -WANTED="physfs" -WEB_SITE="http://icculus.org/physfs/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp $install/usr/lib/*.a $fs/usr/lib -} diff -r 42d9d6d83956 -r 8940878905f3 physfs/receipt --- a/physfs/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/physfs/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="physfs" VERSION="2.0.2" @@ -6,29 +6,37 @@ SHORT_DESC="Abstraction layer for filesystem and archive access" MAINTAINER="devl547@gmail.com" LICENSE="LGPL" +WEB_SITE="http://icculus.org/physfs/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://icculus.org/physfs/" WGET_URL="http://icculus.org/physfs/downloads/$TARBALL" BUILD_DEPENDS="cmake wget" +SPLIT="physfs-dev" -# Rules to configure and make the package. -compile_rules() -{ - cd $src +compile_rules() { export CFLAGS="-Wno-error=unused-but-set-variable" cmake $src && - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DPHYSFS_BUILD_SHARED=ON \ - -DPHYSFS_BUILD_TEST=OFF \ - -DPHYSFS_BUILD_WX_TEST=OFF \ - -DPHYSFS_INTERNAL_ZLIB=OFF . && + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DPHYSFS_BUILD_SHARED=ON \ + -DPHYSFS_BUILD_TEST=OFF \ + -DPHYSFS_BUILD_WX_TEST=OFF \ + -DPHYSFS_INTERNAL_ZLIB=OFF \ + . && 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 + physfs) + 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 $install/usr/lib/*.a $fs/usr/lib + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 podofo-dev/receipt --- a/podofo-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="podofo-dev" -VERSION="0.9.1" -CATEGORY="development" -SHORT_DESC="PDF library development files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://podofo.sourceforge.net/" -WANTED="podofo" - -DEPENDS="podofo" - -# 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 42d9d6d83956 -r 8940878905f3 podofo/receipt --- a/podofo/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/podofo/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,33 +1,46 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="podofo" VERSION="0.9.1" CATEGORY="office" -SHORT_DESC="PDF library." +SHORT_DESC="PDF library" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://podofo.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://podofo.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng16" + BUILD_DEPENDS="cmake fontconfig-dev freetype-dev zlib-dev jpeg-dev tiff-dev \ libpng16-dev" +SPLIT="podofo-dev" -# Rules to configure and make the package. -compile_rules() -{ - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE \ - -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ - -DPODOFO_BUILD_STATIC:BOOL=TRUE \ - -DPODOFO_BUILD_SHARED:BOOL=TRUE . && +compile_rules() { + mkdir build + cd build + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=RELEASE \ + -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ + -DPODOFO_BUILD_STATIC:BOOL=TRUE \ + -DPODOFO_BUILD_SHARED:BOOL=TRUE \ + .. && 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 +genpkg_rules() { + case $PACKAGE in + podofo) + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="fontconfig freetype zlib jpeg tiff gcc-lib-base libpng16" + ;; + *-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 42d9d6d83956 -r 8940878905f3 python-vte/receipt --- a/python-vte/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="python-vte" -VERSION="0.28.2" -CATEGORY="development" -SHORT_DESC="Terminal capabilities for GTK+ widgets devel files." -WANTED="vte" -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.gnome.org/" - -DEPENDS="vte" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - #PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - mkdir -p $fs/usr/lib $fs/usr/share - cp -a $install/usr/lib/python* $fs/usr/lib - cp -a $install/usr/share/pygtk $fs/usr/share -} diff -r 42d9d6d83956 -r 8940878905f3 qxmpp-dev/receipt --- a/qxmpp-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="qxmpp-dev" -VERSION="0.8.0" -CATEGORY="development" -SHORT_DESC="Development files for qxmpp" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="https://github.com/qxmpp-project/qxmpp/" -WANTED="qxmpp" -DEPENDS="qxmpp" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/* $fs - rm -f $fs/usr/lib/*.so* -} diff -r 42d9d6d83956 -r 8940878905f3 qxmpp/receipt --- a/qxmpp/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/qxmpp/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="qxmpp" VERSION="0.8.0" @@ -7,26 +7,37 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/qxmpp-project/qxmpp/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/qxmpp-project/qxmpp/archive/v$VERSION.tar.gz" -DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" BUILD_DEPENDS="qmake Qt4-dev speex-dev libtheora-dev libogg-dev libvpx-dev \ doxygen wget" +SPLIT="qxmpp-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { sed -i 's/ltheoraenc/& -logg/' src/src.pro - qmake PREFIX=/usr QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 && + qmake \ + PREFIX=/usr \ + QXMPP_USE_SPEEX=1 \ + QXMPP_USE_THEORA=1 \ + QXMPP_USE_VPX=1 \ + && make && mkdir -p $src/doc/html && make INSTALL_ROOT=$install 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 + qxmpp) + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib + DEPENDS="libQtNetwork libQtXml libtheora-enc libvpx speex" + ;; + *-dev) + cp -a $install/* $fs + rm -f $fs/usr/lib/*.so* + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 radiusclient-ng-dev/receipt --- a/radiusclient-ng-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="radiusclient-ng-dev" -VERSION="0.5.6" -CATEGORY="development" -SHORT_DESC="RADIUS Client Library dev files." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="BSD" -WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/" -WANTED="radiusclient-ng" - -# 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 42d9d6d83956 -r 8940878905f3 radiusclient-ng/receipt --- a/radiusclient-ng/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/radiusclient-ng/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,31 +1,42 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="radiusclient-ng" VERSION="0.5.6" CATEGORY="system-tools" -SHORT_DESC="RADIUS Client Library." +SHORT_DESC="RADIUS Client Library" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="http://developer.berlios.de/projects/radiusclient-ng/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://developer.berlios.de/projects/$PACKAGE/" -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" +WGET_URL="http://download.berlios.de/radiusclient-ng/$TARBALL" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr --infodir=/usr/share/info \ - --sysconfdir=/etc \ - --mandir=/usr/share/man $CONFIGURE_ARGS - make +SPLIT="radiusclient-ng-dev" + +compile_rules() { + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + $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/etc $fs - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib +genpkg_rules() { + case $PACKAGE in + radiusclient-ng) + mkdir -p $fs/usr/lib + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + ;; + *-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 42d9d6d83956 -r 8940878905f3 rsh/receipt --- a/rsh/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/rsh/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,28 +1,36 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="rsh" -SOURCE="rsh-redone" VERSION="85" CATEGORY="network" SHORT_DESC="Reimplementation of rsh and rlogin" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -TARBALL="${SOURCE}_$VERSION.orig.tar.gz" WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" -WGET_URL="http://ftp.de.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL" + +TARBALL="rsh-redone_$VERSION.orig.tar.gz" +WGET_URL="http://ftp.de.debian.org/debian/pool/main/r/rsh-redone/$TARBALL" BUILD_DEPENDS="pam-dev" +SPLIT="rshd" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { 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 + rsh) + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + ;; + rshd) + mkdir -p $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/etc $fs + CAT="network|rshd and rlogind" + DEPENDS="pam" + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 rshd/receipt --- a/rshd/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="rshd" -VERSION="85" -CATEGORY="network" -SHORT_DESC="Reimplementation of rshd and rlogind" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL" -WEB_SITE="https://packages.debian.org/source/sid/rsh-redone" -WANTED="rsh" - -DEPENDS="pam" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr - cp -a $install/usr/sbin $fs/usr - cp -a $install/usr/etc $fs -} diff -r 42d9d6d83956 -r 8940878905f3 thunar-vfs-dev/receipt --- a/thunar-vfs-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="thunar-vfs-dev" -VERSION="1.2.0" -CATEGORY="development" -SHORT_DESC="Thnuar file manager libraries development files" -MAINTAINER="erjo@slitaz.org" -LICENSE="LGPL2" -WANTED="thunar-vfs" -WEB_SITE="http://www.xfce.org" - -DEPENDS="thunar-vfs pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - - mkdir -p $fs/usr \ - $fs/usr/lib/ \ - - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - -} - diff -r 42d9d6d83956 -r 8940878905f3 thunar-vfs/receipt --- a/thunar-vfs/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/thunar-vfs/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="thunar-vfs" VERSION="1.2.0" @@ -6,21 +6,19 @@ SHORT_DESC="Thunar File Manager Libraries" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2" +WEB_SITE="http://www.xfce.org" + TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.xfce.org" WGET_URL="http://archive.xfce.org/xfce/4.8/src/$TARBALL" -DEPENDS="libpng16 jpeg libxfce4util dbus startup-notification xfce4-panel \ -gamin pcre libexif util-linux-uuid-dev hal" -BUILD_DEPENDS="libpng16-dev jpeg-dev libxfce4util-dev dbus-dev - startup-notification-dev xfce4-panel-dev zlib-dev intltool exo-dev dbus-glib-dev \ - util-linux-uuid-dev hal-dev" - -# Rules to configure and make the package. -compile_rules() -{ - cd $src - ./configure --prefix=/usr \ +BUILD_DEPENDS="libpng16-dev jpeg-dev libxfce4util-dev dbus-dev \ +startup-notification-dev xfce4-panel-dev zlib-dev intltool exo-dev \ +dbus-glib-dev util-linux-uuid-dev hal-dev" +SPLIT="thunar-vfs-dev" + +compile_rules() { + ./configure \ + --prefix=/usr \ --sysconfdir=/etc \ --enable-dbus \ --enable-startup-notification \ @@ -30,22 +28,33 @@ make && make DESTDIR=$DESTDIR install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - - mkdir -p $fs/usr \ - $fs/usr/share/locale \ - $fs/usr/lib/ \ - $fs/usr/share +genpkg_rules() { + case $PACKAGE in + thunar-vfs) + mkdir -p $fs/usr \ + $fs/usr/share/locale \ + $fs/usr/lib/ \ + $fs/usr/share - cp -a $install/usr/lib/*.so* $fs/usr/lib - cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib - - cp -a $install/usr/share/locale/fr $fs/usr/share/locale - cp -a $install/usr/share/thumbnailers $fs/usr/share + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/thunar-vfs-1 $fs/usr/lib - # Strip all - find $fs/usr/lib -exec strip -s {} 2> /dev/null \; + cp -a $install/usr/share/locale/fr $fs/usr/share/locale + cp -a $install/usr/share/thumbnailers $fs/usr/share + + # Strip all + find $fs/usr/lib -exec strip -s {} 2> /dev/null \; + DEPENDS="libpng16 jpeg libxfce4util dbus startup-notification \ + xfce4-panel gamin pcre libexif util-linux-uuid-dev hal" + ;; + *-dev) + mkdir -p $fs/usr \ + $fs/usr/lib/ \ + + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } diff -r 42d9d6d83956 -r 8940878905f3 weston-dev/receipt --- a/weston-dev/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="weston-dev" -VERSION="1.4.0" -CATEGORY="development" -SHORT_DESC="Weston compositor devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WANTED="weston" -WEB_SITE="http://www.bluez.org/" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/weston $fs/usr/share - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/weston/*.*a $fs/usr/lib/weston - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r 42d9d6d83956 -r 8940878905f3 weston/receipt --- a/weston/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/weston/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,24 +1,22 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="weston" VERSION="1.4.0" CATEGORY="x-window" -SHORT_DESC="Reference implementation of a Wayland compositor." +SHORT_DESC="Reference implementation of a Wayland compositor" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" +WEB_SITE="https://wayland.freedesktop.org/" + TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.slitaz.org/" WGET_URL="http://wayland.freedesktop.org/releases/$TARBALL" -DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind mtdev \ -xorg-libXcursor pam liblzma" BUILD_DEPENDS="wayland-dev mesa-wayland-dev cairo-gl-dev libxkbcommon-dev \ libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev xz-dev \ gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev" +SPLIT="weston-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { ./configure \ --prefix=/usr \ --libexec=/usr/lib/weston \ @@ -27,15 +25,24 @@ make && make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib/weston $fs/usr/share - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston - cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston - cp -a $install/usr/share/weston $fs/usr/share - # Custom weston-session - cp -f $stuff/weston-session $fs/usr/bin +genpkg_rules() { + case $PACKAGE in + weston) + mkdir -p $fs/usr/lib/weston $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/weston/*.so* $fs/usr/lib/weston + cp -a $install/usr/lib/weston/weston-* $fs/usr/lib/weston + cp -a $install/usr/share/weston $fs/usr/share + # Custom weston-session + cp -f $stuff/weston-session $fs/usr/bin + DEPENDS="wayland mesa-wayland cairo-gl libxkbcommon libunwind \ + mtdev xorg-libXcursor pam liblzma" + ;; + *-dev) + mkdir -p $fs/usr/lib/weston $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/weston/*.*a $fs/usr/lib/weston + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + ;; + esac } - diff -r 42d9d6d83956 -r 8940878905f3 x11vnc-extra/receipt --- a/x11vnc-extra/receipt Sun Mar 04 04:56:40 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="x11vnc-extra" -VERSION="0.9.13" -CATEGORY="network" -SHORT_DESC="java VNC viewer" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://www.karlrunge.com/x11vnc/" -WANTED="x11vnc" -TAGS="vnc" - -DEPENDS="x11vnc" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/share - cp -a $install/usr/share/x11vnc $fs/usr/share -} - -# Post install/remove commands for Tazpkg. -post_install() -{ - sed -i 's/X11VNC_OPTIONS="/X11VNC_OPTIONS="-ssl -http /' "$1/etc/daemons.conf" -} diff -r 42d9d6d83956 -r 8940878905f3 x11vnc/receipt --- a/x11vnc/receipt Sun Mar 04 04:56:40 2018 +0200 +++ b/x11vnc/receipt Tue Mar 06 03:00:01 2018 +0200 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="x11vnc" VERSION="0.9.13" @@ -6,41 +6,52 @@ SHORT_DESC="VNC server using X server" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://www.karlrunge.com/x11vnc/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.karlrunge.com/x11vnc/" WGET_URL="$SF_MIRROR/libvncserver/$TARBALL" -TAGS="vnc server" -DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib" BUILD_DEPENDS="openssl-dev jpeg-dev xorg-libX11-dev zlib-dev xorg-libXext-dev" +SPLIT="x11vnc-extra" -# Rules to configure and make the package. -compile_rules() -{ - ./configure --prefix=/usr \ +compile_rules() { + ./configure \ + --prefix=/usr \ $CONFIGURE_ARGS && make && make -j1 DESTDIR=$DESTDIR install && echo rm -rf $DESTDIR/usr/share/applications } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/bin $fs/etc/init.d - cp -a $install/usr/bin/x11vnc $fs/usr/bin - cp -a $stuff/x11vnc $fs/etc/init.d +genpkg_rules() { + case $PACKAGE in + x11vnc) + mkdir -p $fs/usr/bin $fs/etc/init.d + cp -a $install/usr/bin/x11vnc $fs/usr/bin + cp -a $stuff/x11vnc $fs/etc/init.d + DEPENDS="xorg-libXtst openssl jpeg xorg-libXdamage zlib" + TAGS="vnc server" + ;; + *-dev) + mkdir -p $fs/usr/share + cp -a $install/usr/share/x11vnc $fs/usr/share + CAT="network|java VNC viewer" + TAGS="vnc" + DEPENDS="x11vnc" + ;; + esac } -# Post install/remove commands for Tazpkg. -post_install() -{ +post_install_x11vnc() { grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <