# HG changeset patch # User Aleksej Bobylev # Date 1501247847 -10800 # Node ID be4a09f51254064f6f20f59b5f2a79316613c6c6 # Parent e5a5af728c9627ff856329f2790c187de904cdb8 Random updates: cabextract, libmpeg2, libmrss, libmspack, libnet, libnxml. diff -r e5a5af728c96 -r be4a09f51254 cabextract/receipt --- a/cabextract/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/cabextract/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,29 +1,25 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cabextract" -VERSION="1.4" +VERSION="1.6" CATEGORY="utilities" SHORT_DESC="Extracting Microsoft cabinet files" MAINTAINER="erjo@slitaz.org" LICENSE="GPL3" +WEB_SITE="https://www.cabextract.org.uk/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.cabextract.org.uk/" -WGET_URL="http://www.cabextract.org.uk/$TARBALL" -TAGS="extract cab exe" +WGET_URL="https://www.cabextract.org.uk/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr + copy @std + TAGS="extract cab exe" } - diff -r e5a5af728c96 -r be4a09f51254 libmpeg2-dev/receipt --- a/libmpeg2-dev/receipt Fri Jul 28 02:00:12 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmpeg2-dev" -VERSION="0.5.1" -CATEGORY="development" -SHORT_DESC="libmpeg2 devel files" -MAINTAINER="jozee@slitaz.org" -LICENSE="GPL2" -WANTED="libmpeg2" -WEB_SITE="http://libmpeg2.sourceforge.net/" - -DEPENDS="libmpeg2 pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib/ -} diff -r e5a5af728c96 -r be4a09f51254 libmpeg2/receipt --- a/libmpeg2/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/libmpeg2/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,34 +1,49 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmpeg2" VERSION="0.5.1" CATEGORY="multimedia" -SHORT_DESC="library for decoding MPEG-1 and MPEG-2 video streams" +SHORT_DESC="Decoding MPEG-1 and MPEG-2 video streams" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://libmpeg2.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://libmpeg2.sourceforge.net/" -WGET_URL="$WEB_SITE/files/$TARBALL" -TAGS="mpeg-1 mpeg-2 decoder" +WGET_URL="http://libmpeg2.sourceforge.net/files/$TARBALL" # no $SF_MIRROR -DEPENDS="libsdl xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ -xorg-libXdmcp xorg-libXext xorg-libXv" -BUILD_DEPENDS="glibc-base xorg-libXv-dev" +BUILD_DEPENDS="gfortran xorg-libX11-dev xorg-libICE-dev xorg-libXext-dev \ +xorg-libSM-dev xorg-libXv-dev" +SPLIT="libmpeg2-dev" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr --enable-shared --disable-static \ + # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/libmpeg2.html + sed -i 's/static const/static/' libmpeg2/idct_mmx.c && + + ./configure \ + --enable-shared \ + --disable-static \ $CONFIGURE_ARGS && make && - make DESTDIR=$DESTDIR install + make install && + + docdir=$install/usr/share/doc/mpeg2dec-$VERSION && + mkdir -p $docdir && + install -v -m644 README doc/libmpeg2.txt $docdir } # 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/ + case $PACKAGE in + libmpeg2) + copy @std + DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXv" + TAGS="mpeg-1 mpeg-2 decoder" + ;; + *-dev) + copy @dev + ;; + esac } diff -r e5a5af728c96 -r be4a09f51254 libmrss-dev/receipt --- a/libmrss-dev/receipt Fri Jul 28 02:00:12 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmrss-dev" -VERSION="0.19.2" -CATEGORY="libs" -SHORT_DESC="mRss is a C library for parsing, writing and creating RSS/ATOM files or streams - devel files" -MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="GPL" -WEB_SITE="http://www.autistici.org/bakunin" -TARBALL="$PACKAGE-$VERSION.tar.gz" -#WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" -WANTED="libmrss" - -DEPENDS="libnxml" -BUILD_DEPENDS="libnxml libcurl curl-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e5a5af728c96 -r be4a09f51254 libmrss/receipt --- a/libmrss/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/libmrss/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,17 +1,19 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmrss" VERSION="0.19.2" CATEGORY="libs" -SHORT_DESC="mRss is a C library for parsing, writing and creating RSS/ATOM files or streams." +SHORT_DESC="mRss is a C library for parsing, writing and creating RSS/ATOM \ +files or streams" MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="GPL" -WEB_SITE="http://www.autistici.org/bakunin" +LICENSE="LGPL2" +WEB_SITE="https://www.autistici.org/bakunin/libmrss/doc/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" +WGET_URL="https://www.autistici.org/bakunin/libmrss/$TARBALL" -DEPENDS="libnxml" -BUILD_DEPENDS="libnxml libnxml-dev libcurl curl-dev" +BUILD_DEPENDS="libnxml-dev curl-dev" +SPLIT="libmrss-dev" # Rules to configure and make the package. compile_rules() @@ -22,6 +24,14 @@ # 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 + case $PACKAGE in + libmrss) + copy @std + DEPENDS="libcurl libnxml" + ;; + *-dev) + copy @dev + DEPENDS="libmrss curl-dev libnxml-dev openssl-dev zlib-dev" + ;; + esac } diff -r e5a5af728c96 -r be4a09f51254 libmspack-dev/receipt --- a/libmspack-dev/receipt Fri Jul 28 02:00:12 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libmspack-dev" -VERSION="0.5alpha" -CATEGORY="development" -SHORT_DESC="devel files for libmspack" -MAINTAINER="nneul@neulinger.org" -LICENSE="LGPL" -WEB_SITE="http://www.cabextract.org.uk/libmspack/" -WANTED="libmspack" -DEPENDS="libmspack" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib $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 e5a5af728c96 -r be4a09f51254 libmspack/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmspack/description.txt Fri Jul 28 16:17:27 2017 +0300 @@ -0,0 +1,16 @@ +*libmspack* is a portable library for some loosely related Microsoft compression +formats. + + +## Formats supported + + File format | Year | Algorithm | Supported? +-------------------------------------|------|------------------------|-------------- +COMPRESS.EXE (SZDD) | 1990 | LZSS | Decompression +Microsoft Help (.HLP) | 1990 | LZSS | To-do +COMPRESS.EXE (KWAJ) | 1993 | LZSS, Huffman, DEFLATE | Decompression +Microsoft Cabinet (.CAB) | 1995 | DEFLATE, Quantum, LZX | Decompression +HTML Help (.CHM) | 1997 | LZX | Decompression +Microsoft eBook (.LIT) | 2000 | LZX, SHA, DES | To-do +Windows Imaging Format (.WIM) | 2007 | LZX, XPRESS | To-do +Exchange Offline Address Book (.LZX) | 2008 | LZX DELTA | Decompression diff -r e5a5af728c96 -r be4a09f51254 libmspack/receipt --- a/libmspack/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/libmspack/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,30 +1,42 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libmspack" -VERSION="0.5alpha" +VERSION="1.5+16" # latest released v. 1.5 (2015-01-24) plus 16 commits ahead (2016-04-16) +COMMIT="ee850e8" CATEGORY="development" -SHORT_DESC="A library which allows extracting from MS CAB files" +SHORT_DESC="A library for Microsoft compression formats" MAINTAINER="nneul@neulinger.org" -LICENSE="LGPL" +LICENSE="LGPL2" +WEB_SITE="https://www.cabextract.org.uk/libmspack/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.cabextract.org.uk/libmspack/" -WGET_URL="http://www.cabextract.org.uk/libmspack/$TARBALL" +#WGET_URL="https://www.cabextract.org.uk/libmspack/$TARBALL" +WGET_URL="https://github.com/kyz/libmspack/archive/$COMMIT.tar.gz" + +BUILD_DEPENDS="automake libtool doxygen" # for github non-release sources +SPLIT="libmspack-dev" # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + # github sources need preparation (see libmspack/rebuild.sh) + cd libmspack + mkdir m4 + autoreconf -i -W all && + + ./configure $CONFIGURE_ARGS && + make && make -C doc && make install && + + docdir=$install/usr/share/doc/libmspack-$VERSION && + mkdir -p $docdir && + cp -r doc/search/ doc/*.html doc/*.png doc/*.css doc/*.js $docdir } # 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 + case $PACKAGE in + libmspack) copy @std;; + *-dev) copy @dev;; + esac } - diff -r e5a5af728c96 -r be4a09f51254 libnet-dev/receipt --- a/libnet-dev/receipt Fri Jul 28 02:00:12 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libnet-dev" -VERSION="1.1.6" -CATEGORY="development" -SHORT_DESC="devel files for libnet" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="BSD" -WEB_SITE="http://sourceforge.net/projects/libnet-dev/" -WANTED="libnet" - -DEPENDS="libnet" - -# 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/bin $fs/usr - cp -a $install/usr/lib/*.*a $fs/usr/lib -} - diff -r e5a5af728c96 -r be4a09f51254 libnet/receipt --- a/libnet/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/libnet/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,30 +1,38 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libnet" -VERSION="1.1.6" +VERSION="1.2-rc3" CATEGORY="network" -SHORT_DESC="A library which provides API for commonly used low-level net functions." +SHORT_DESC="API for commonly used low-level net functions" MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" +WEB_SITE="https://sourceforge.net/projects/libnet-dev/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://sourceforge.net/projects/libnet-dev/" -WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL" +WGET_URL="https://github.com/sam-github/libnet/archive/$TARBALL" + +BUILD_DEPENDS="automake libtool" +SPLIT="libnet-dev" # Rules to configure and make the package. compile_rules() { - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + # documentation is absent -> build is broken + sed -i 's|doc||' $src/libnet/Makefile.am + + # github sources need to be preprocessed + cd libnet + mkdir m4 + autoreconf -i && + + ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.so* $fs/usr/lib + case $PACKAGE in + libnet) copy @std;; + *-dev) copy @dev;; + esac } - diff -r e5a5af728c96 -r be4a09f51254 libnxml-dev/receipt --- a/libnxml-dev/receipt Fri Jul 28 02:00:12 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libnxml-dev" -VERSION="0.18.3" -CATEGORY="libs" -SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams - devel files" -MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="GPL" -WEB_SITE="http://www.autistici.org/bakunin" -TARBALL="$PACKAGE-$VERSION.tar.gz" -#WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" -WANTED="libnxml" - -DEPENDS="" -BUILD_DEPENDS="libcurl curl-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib -} diff -r e5a5af728c96 -r be4a09f51254 libnxml/receipt --- a/libnxml/receipt Fri Jul 28 02:00:12 2017 +0300 +++ b/libnxml/receipt Fri Jul 28 16:17:27 2017 +0300 @@ -1,17 +1,19 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libnxml" VERSION="0.18.3" CATEGORY="libs" -SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams." +SHORT_DESC="nXML is a C library for parsing, writing and creating XML 1.0 and \ +1.1 files or streams" MAINTAINER="tcg.thegamer@gmail.com" LICENSE="LGPL2.1" -WEB_SITE="http://www.autistici.org/bakunin" +WEB_SITE="https://www.autistici.org/bakunin/libnxml/doc/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}/${PACKAGE}/${TARBALL}" +WGET_URL="https://www.autistici.org/bakunin/libnxml/$TARBALL" -DEPENDS="" -BUILD_DEPENDS="libcurl curl-dev" +BUILD_DEPENDS="gfortran curl-dev" +SPLIT="libnxml-dev" # Rules to configure and make the package. compile_rules() @@ -22,6 +24,14 @@ # 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 + case $PACKAGE in + libnxml) + copy @std + DEPENDS="libcurl" + ;; + *-dev) + copy @dev + DEPENDS="libnxml curl-dev openssl-dev zlib-dev" + ;; + esac }