wok-next rev 19910

Add libjte; up libburn, libcclc, libccls, libctpp2, libdaq, libdes, libdisasm, libisofs.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 13 05:58:05 2017 +0300 (2017-10-13)
parents 2218ac800918
children 989b3e4da12b
files libburn-dev/receipt libburn/receipt libcclc-dev/receipt libcclc/receipt libccls-dev/receipt libccls/receipt libctpp2-dev/receipt libctpp2/receipt libctpp2/stuff/patches/libctpp2.patch libctpp2/stuff/patches/series libdaq-dev/receipt libdaq/receipt libdes-dev/receipt libdes/receipt libdisasm-dev/receipt libdisasm/receipt libisofs-dev/receipt libisofs/receipt libjte/receipt
line diff
     1.1 --- a/libburn-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,23 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libburn-dev"
     1.7 -VERSION="1.0.6"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
    1.10 -MAINTAINER="devl547@gmail.com"
    1.11 -LICENSE="GPL2"
    1.12 -WEB_SITE="http://libburnia-project.org/"
    1.13 -WANTED="libburn"
    1.14 -
    1.15 -DEPENDS="libburn pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.22 -	cp -a $install/usr/include $fs/usr
    1.23 -	cp -a $install/usr/share $fs/usr
    1.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 -}
    1.26 -
     2.1 --- a/libburn/receipt	Thu Oct 12 23:57:00 2017 +0200
     2.2 +++ b/libburn/receipt	Fri Oct 13 05:58:05 2017 +0300
     2.3 @@ -1,29 +1,29 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="libburn"
     2.8 -VERSION="1.0.6"
     2.9 +VERSION="1.4.8"
    2.10  CATEGORY="utilities"
    2.11 -SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
    2.12 +SHORT_DESC="Reading, mastering and writing optical discs"
    2.13  MAINTAINER="devl547@gmail.com"
    2.14  LICENSE="GPL2"
    2.15 -TARBALL="$PACKAGE-$VERSION.pl00.tar.gz"
    2.16 -WEB_SITE="http://libburnia-project.org/"
    2.17 +WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wikis/home"
    2.18 +
    2.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.20  WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
    2.21  
    2.22 +SPLIT="libburn-dev"
    2.23 +
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	cd $src
    2.28 -	#grep -qs 'define u8' libburn/sg-linux.c ||
    2.29 -	#sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' libburn/sg-linux.c
    2.30 -	./configure $CONFIGURE_ARGS &&
    2.31 -	make &&
    2.32 -	make -j1 DESTDIR=$DESTDIR install
    2.33 +	./configure $CONFIGURE_ARGS && make && make install
    2.34  }
    2.35  
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/usr/lib
    2.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.41 +	case $PACKAGE in
    2.42 +		libburn) copy @std;;
    2.43 +		*-dev)   copy @dev;;
    2.44 +	esac
    2.45  }
     3.1 --- a/libcclc-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,21 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="libcclc-dev"
     3.7 -VERSION="0.7.0"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="client library for internet cafe programs"
    3.10 -MAINTAINER="allan316@gmail.com"
    3.11 -LICENSE="BSD"
    3.12 -DEPENDS="libcclc"
    3.13 -WEB_SITE="http://ccl.sourceforge.net"
    3.14 -WANTED="libcclc"
    3.15 -
    3.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 -genpkg_rules()
    3.18 -{
    3.19 -	mkdir -p $fs/usr/lib
    3.20 -	cp -a $install/usr/include $fs/usr
    3.21 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
    3.22 -	cp -a $install/usr/lib/*.la* $fs/usr/lib
    3.23 -}
    3.24 -
     4.1 --- a/libcclc/receipt	Thu Oct 12 23:57:00 2017 +0200
     4.2 +++ b/libcclc/receipt	Fri Oct 13 05:58:05 2017 +0300
     4.3 @@ -1,33 +1,36 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="libcclc"
     4.8  VERSION="0.7.0"
     4.9  CATEGORY="development"
    4.10 -SHORT_DESC="client library for internet cafe programs"
    4.11 +SHORT_DESC="Client library for internet cafe programs"
    4.12  MAINTAINER="allan316@gmail.com"
    4.13  LICENSE="BSD"
    4.14 +WEB_SITE="http://ccl.sourceforge.net/"
    4.15 +
    4.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.17 -WEB_SITE="http://ccl.sourceforge.net"
    4.18 -WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/libcclc/$VERSION/$TARBALL"
    4.19 -#WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    4.20 +WGET_URL="$SF_MIRROR/ccl/$TARBALL"
    4.21  
    4.22 -DEPENDS="openssl sqlite"
    4.23 -BUILD_DEPENDS="openssl-dev sqlite-dev file"
    4.24 +BUILD_DEPENDS="file openssl-dev"
    4.25 +SPLIT="libcclc-dev"
    4.26  
    4.27  # Rules to configure and make the package.
    4.28  compile_rules()
    4.29  {
    4.30 -	./configure \
    4.31 -		--prefix=/usr \
    4.32 -		--infodir=/usr/share/info \
    4.33 -		--mandir=/usr/share/man \
    4.34 -		$CONFIGURE_ARGS &&
    4.35 -	make && make DESTDIR=$DESTDIR install
    4.36 +	./configure $CONFIGURE_ARGS && make && make install
    4.37  }
    4.38  
    4.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.40  genpkg_rules()
    4.41  {
    4.42 -	mkdir -p $fs/usr/lib
    4.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.44 +	case $PACKAGE in
    4.45 +		libcclc)
    4.46 +			copy @std
    4.47 +			DEPENDS="libcrypto libssl"
    4.48 +			;;
    4.49 +		*-dev)
    4.50 +			copy @dev
    4.51 +			DEPENDS="libcclc openssl-dev"
    4.52 +			;;
    4.53 +	esac
    4.54  }
     5.1 --- a/libccls-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,21 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="libccls-dev"
     5.7 -VERSION="0.7.0"
     5.8 -CATEGORY="development"
     5.9 -SHORT_DESC="server library for internet cafe programs"
    5.10 -MAINTAINER="allan316@gmail.com"
    5.11 -LICENSE="BSD"
    5.12 -DEPENDS="libccls"
    5.13 -WEB_SITE="http://ccl.sourceforge.net"
    5.14 -WANTED="libccls"
    5.15 -
    5.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.17 -genpkg_rules()
    5.18 -{
    5.19 -	mkdir -p $fs/usr/lib
    5.20 -	cp -a $install/usr/include $fs/usr
    5.21 -	cp -a $install/usr/lib/*.a* $fs/usr/lib
    5.22 -	cp -a $install/usr/lib/*.la* $fs/usr/lib
    5.23 -}
    5.24 -
     6.1 --- a/libccls/receipt	Thu Oct 12 23:57:00 2017 +0200
     6.2 +++ b/libccls/receipt	Fri Oct 13 05:58:05 2017 +0300
     6.3 @@ -1,35 +1,36 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="libccls"
     6.8  VERSION="0.7.0"
     6.9  CATEGORY="development"
    6.10 -SHORT_DESC="server library for internet cafe programs"
    6.11 +SHORT_DESC="Server library for internet cafe programs"
    6.12  MAINTAINER="allan316@gmail.com"
    6.13  LICENSE="BSD"
    6.14 +WEB_SITE="http://ccl.sourceforge.net"
    6.15 +
    6.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.17 -WEB_SITE="http://ccl.sourceforge.net"
    6.18 -WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/$PACKAGE/$VERSION/$TARBALL"
    6.19 -#WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    6.20 +WGET_URL="$SF_MIRROR/ccl/$TARBALL"
    6.21  
    6.22 -DEPENDS="openssl sqlite glib"
    6.23 -BUILD_DEPENDS="openssl-dev sqlite-dev glib-dev file"
    6.24 +BUILD_DEPENDS="file sqlite3-dev glib-dev openssl-dev"
    6.25 +SPLIT="libccls-dev"
    6.26  
    6.27  # Rules to configure and make the package.
    6.28  compile_rules()
    6.29  {
    6.30 -	cd $src
    6.31 -	./configure \
    6.32 -		--prefix=/usr \
    6.33 -		--infodir=/usr/share/info \
    6.34 -		--mandir=/usr/share/man \
    6.35 -		$CONFIGURE_ARGS &&
    6.36 -	make && make DESTDIR=$DESTDIR install
    6.37 +	./configure $CONFIGURE_ARGS && make && make install
    6.38  }
    6.39  
    6.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.41  genpkg_rules()
    6.42  {
    6.43 -	mkdir -p $fs/usr/lib
    6.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.45 +	case $PACKAGE in
    6.46 +		libccls)
    6.47 +			copy @std
    6.48 +			DEPENDS="glib libcrypto libsqlite3 libssl"
    6.49 +			;;
    6.50 +		*-dev)
    6.51 +			copy @dev
    6.52 +			DEPENDS="libccls glib-dev openssl-dev pcre-dev sqlite3-dev"
    6.53 +			;;
    6.54 +	esac
    6.55  }
    6.56 -
     7.1 --- a/libctpp2-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,20 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="libctpp2-dev"
     7.7 -VERSION="2.7.1"
     7.8 -CATEGORY="development"
     7.9 -SHORT_DESC="Template engine completely written in C++, development files."
    7.10 -MAINTAINER="pascal.bellard@slitaz.org"
    7.11 -LICENSE="BSD"
    7.12 -WEB_SITE="http://ctpp.havoc.ru/en/"
    7.13 -WANTED="libctpp2"
    7.14 -
    7.15 -DEPENDS="libctpp2"
    7.16 -
    7.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.18 -genpkg_rules()
    7.19 -{
    7.20 -	mkdir -p $fs/usr/lib
    7.21 -	cp -a $install/usr/lib/*a $fs/usr/lib/
    7.22 -	cp -a $install/usr/include $fs/usr
    7.23 -}
     8.1 --- a/libctpp2/receipt	Thu Oct 12 23:57:00 2017 +0200
     8.2 +++ b/libctpp2/receipt	Fri Oct 13 05:58:05 2017 +0300
     8.3 @@ -1,33 +1,37 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="libctpp2"
     8.8 -SOURCE="ctpp2"
     8.9 -VERSION="2.7.1"
    8.10 +VERSION="2.8.3"
    8.11  CATEGORY="development"
    8.12 -SHORT_DESC="Template engine completely written in C++."
    8.13 +SHORT_DESC="Template engine completely written in C++"
    8.14  MAINTAINER="pascal.bellard@slitaz.org"
    8.15  LICENSE="BSD"
    8.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    8.17  WEB_SITE="http://ctpp.havoc.ru/en/"
    8.18 +
    8.19 +TARBALL="ctpp2-$VERSION.tar.gz"
    8.20  WGET_URL="http://ctpp.havoc.ru/download/$TARBALL"
    8.21  
    8.22 -DEPENDS="gcc-lib-base"
    8.23  BUILD_DEPENDS="cmake"
    8.24 +SPLIT="libctpp2-dev"
    8.25  
    8.26  # Rules to configure and make the package.
    8.27  compile_rules()
    8.28  {
    8.29  	mkdir build
    8.30 -	cd build &&
    8.31 -	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    8.32 +	cd build
    8.33 +
    8.34 +	cmake \
    8.35 +		-DCMAKE_INSTALL_PREFIX=/usr \
    8.36 +		.. &&
    8.37  	make &&
    8.38 -	make DESTDIR=$DESTDIR install
    8.39 +	make install
    8.40  }
    8.41  
    8.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.43  genpkg_rules()
    8.44  {
    8.45 -	mkdir -p $fs/usr/lib
    8.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    8.47 -	cp -a $install/usr/bin $fs/usr
    8.48 +	case $PACKAGE in
    8.49 +		libctpp2) copy @std;;
    8.50 +		*-dev)    copy @dev;;
    8.51 +	esac
    8.52  }
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libctpp2/stuff/patches/libctpp2.patch	Fri Oct 13 05:58:05 2017 +0300
     9.3 @@ -0,0 +1,21 @@
     9.4 +--- a/src/CTPP2FileSourceLoader.cpp
     9.5 ++++ b/src/CTPP2FileSourceLoader.cpp
     9.6 +@@ -38,6 +38,7 @@
     9.7 + #include <errno.h>
     9.8 + #include <stdio.h>
     9.9 + #include <stdlib.h>
    9.10 ++#include <unistd.h>
    9.11 + 
    9.12 + #ifdef WIN32
    9.13 +     #include <direct.h> /* getcwd */
    9.14 +--- a/CMakeLists.txt
    9.15 ++++ b/CMakeLists.txt
    9.16 +@@ -809,7 +809,7 @@
    9.17 +               man/ctpp2i.1
    9.18 +               man/ctpp2json.1
    9.19 +               man/ctpp2vm.1
    9.20 +-        DESTINATION man/man1
    9.21 ++        DESTINATION share/man/man1
    9.22 +         PERMISSIONS OWNER_READ OWNER_WRITE
    9.23 +                     GROUP_READ
    9.24 +                     WORLD_READ)
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/libctpp2/stuff/patches/series	Fri Oct 13 05:58:05 2017 +0300
    10.3 @@ -0,0 +1,1 @@
    10.4 +libctpp2.patch
    11.1 --- a/libdaq-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,23 +0,0 @@
    11.4 -# SliTaz package receipt.
    11.5 -
    11.6 -PACKAGE="libdaq-dev"
    11.7 -VERSION="0.6.2"
    11.8 -CATEGORY="development"
    11.9 -SHORT_DESC="development files for libdaq"
   11.10 -MAINTAINER="slaxemulator@gmail.com"
   11.11 -LICENSE="GPL2"
   11.12 -WEB_SITE="http://www.snort.org/"
   11.13 -WANTED="libdaq"
   11.14 -
   11.15 -DEPENDS="libdaq"
   11.16 -
   11.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 -genpkg_rules()
   11.19 -{
   11.20 -	mkdir -p $fs/usr/lib/daq
   11.21 -	cp -a $install/usr/bin $fs/usr
   11.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   11.23 -	cp -a $install/usr/lib/daq/*.*a $fs/usr/lib/daq/
   11.24 -	cp -a $install/usr/include $fs/usr
   11.25 -}
   11.26 -
    12.1 --- a/libdaq/receipt	Thu Oct 12 23:57:00 2017 +0200
    12.2 +++ b/libdaq/receipt	Fri Oct 13 05:58:05 2017 +0300
    12.3 @@ -1,32 +1,40 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="libdaq"
    12.8 -VERSION="0.6.2"
    12.9 +VERSION="2.2.1"
   12.10  CATEGORY="network"
   12.11 -SHORT_DESC="Data Acquisition library for packet I/O."
   12.12 +SHORT_DESC="Data Acquisition library for packet I/O"
   12.13  MAINTAINER="slaxemulator@gmail.com"
   12.14  LICENSE="GPL2"
   12.15 +WEB_SITE="https://github.com/Xiche/libdaq"
   12.16 +
   12.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   12.18 -WEB_SITE="http://www.snort.org/"
   12.19 -WGET_URL="http://www.snort.org/downloads/1221"
   12.20 +WGET_URL="https://github.com/Xiche/libdaq/archive/v$VERSION.tar.gz"
   12.21  
   12.22 -DEPENDS="libpcap"
   12.23 -BUILD_DEPENDS="libpcap-dev flex bison wget"
   12.24 +BUILD_DEPENDS="automake libtool flex bison libpcap-dev"
   12.25 +SPLIT="libdaq-dev"
   12.26  
   12.27  # Rules to configure and make the package.
   12.28  compile_rules()
   12.29  {
   12.30 -	cd $src
   12.31 +	./bootstrap &&
   12.32  	./configure \
   12.33  		$CONFIGURE_ARGS &&
   12.34 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
   12.35 +	make -j1 &&
   12.36 +	make install
   12.37  }
   12.38  
   12.39  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.40  genpkg_rules()
   12.41  {
   12.42 -	mkdir -p $fs/usr/lib/daq
   12.43 -	cp -a $install/usr/lib/daq/*.so* $fs/usr/lib/daq
   12.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   12.45 +	case $PACKAGE in
   12.46 +		libdaq)
   12.47 +			copy @std
   12.48 +			DEPENDS="libpcap"
   12.49 +			;;
   12.50 +		*-dev)
   12.51 +			copy @dev
   12.52 +			DEPENDS="libdaq libpcap-dev"
   12.53 +			;;
   12.54 +	esac
   12.55  }
   12.56 -
    13.1 --- a/libdes-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,19 +0,0 @@
    13.4 -# SliTaz package receipt.
    13.5 -
    13.6 -PACKAGE="libdes-dev"
    13.7 -VERSION="4.04b"
    13.8 -CATEGORY="development"
    13.9 -SHORT_DESC="devel files for libdes"
   13.10 -MAINTAINER="slaxemulator@gmail.com"
   13.11 -LICENSE="MIT"
   13.12 -WEB_SITE="http://linux.maruhn.com/sec/libdes.html"
   13.13 -DEPENDS="libdes"
   13.14 -WANTED="libdes"
   13.15 -
   13.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.17 -genpkg_rules()
   13.18 -{
   13.19 -	mkdir -p $fs/usr/lib
   13.20 -	cp -a $install/usr/include $fs/usr
   13.21 -	cp -a $install/usr/lib/*.a $fs/usr/lib
   13.22 -}
    14.1 --- a/libdes/receipt	Thu Oct 12 23:57:00 2017 +0200
    14.2 +++ b/libdes/receipt	Fri Oct 13 05:58:05 2017 +0300
    14.3 @@ -1,28 +1,34 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="libdes"
    14.8  VERSION="4.04b"
    14.9  CATEGORY="security"
   14.10 -SHORT_DESC="library for DES encryption"
   14.11 +SHORT_DESC="Library for DES encryption"
   14.12  MAINTAINER="slaxemulator@gmail.com"
   14.13  LICENSE="MIT"
   14.14  WEB_SITE="http://linux.maruhn.com/sec/libdes.html"
   14.15 +
   14.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   14.17  WGET_URL="ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/$TARBALL"
   14.18  
   14.19 +SPLIT="libdes-dev"
   14.20 +
   14.21  # Rules to configure and make the package.
   14.22  compile_rules()
   14.23  {
   14.24 -	cd $src
   14.25 -	make
   14.26 -	mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/bin $DESTDIR/usr/include \
   14.27 -		 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man3
   14.28 -	make LIBDIR=$DESTDIR/usr/lib BINDIR=$DESTDIR/usr/bin INCDIR=$DESTDIR/usr/include MANDIR=$DESTDIR/usr/share/man install
   14.29 +	sed -i "s|/usr/local/|$install/usr/|; s|/usr/man|/usr/share/man|" Makefile
   14.30 +	for i in lib bin include share/man/man1 share/man/man3; do
   14.31 +		mkdir -p $install/usr/$i
   14.32 +	done
   14.33 +
   14.34 +	make install
   14.35  }
   14.36  
   14.37  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.38  genpkg_rules()
   14.39  {
   14.40 -	mkdir -p $fs/usr
   14.41 -	cp -a $install/usr/bin $fs/usr
   14.42 +	case $PACKAGE in
   14.43 +		libdes) copy @std;;
   14.44 +		*-dev)  copy @dev;;
   14.45 +	esac
   14.46  }
    15.1 --- a/libdisasm-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,20 +0,0 @@
    15.4 -# SliTaz package receipt.
    15.5 -
    15.6 -PACKAGE="libdisasm-dev"
    15.7 -VERSION="0.23"
    15.8 -CATEGORY="development"
    15.9 -SHORT_DESC="x86 Disassembler Library, development files."
   15.10 -MAINTAINER="pascal.bellard@slitaz.org"
   15.11 -LICENSE="Artistic"
   15.12 -WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
   15.13 -WANTED="libdisasm"
   15.14 -
   15.15 -DEPENDS="libdisasm"
   15.16 -
   15.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.18 -genpkg_rules()
   15.19 -{
   15.20 -	mkdir -p $fs/usr/lib
   15.21 -	cp -a $install/usr/include $fs/usr
   15.22 -	cp -a $install/usr/lib/*a $fs/usr/lib
   15.23 -}
    16.1 --- a/libdisasm/receipt	Thu Oct 12 23:57:00 2017 +0200
    16.2 +++ b/libdisasm/receipt	Fri Oct 13 05:58:05 2017 +0300
    16.3 @@ -1,24 +1,24 @@
    16.4 -# SliTaz package receipt.
    16.5 +# SliTaz package receipt v2.
    16.6  
    16.7  PACKAGE="libdisasm"
    16.8  VERSION="0.23"
    16.9  CATEGORY="development"
   16.10 -SHORT_DESC="x86 Disassembler Library."
   16.11 +SHORT_DESC="x86 Disassembler Library"
   16.12  MAINTAINER="pascal.bellard@slitaz.org"
   16.13  LICENSE="Artistic"
   16.14 +WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
   16.15 +
   16.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   16.17 -WEB_SITE="http://bastard.sourceforge.net/libdisasm.html"
   16.18  WGET_URL="$SF_MIRROR/bastard/$TARBALL"
   16.19  
   16.20 -DEPENDS=""
   16.21 -BUILD_DEPENDS=""
   16.22 +BUILD_DEPENDS="gfortran"
   16.23 +SPLIT="libdisasm-dev"
   16.24  
   16.25  # Rules to configure and make the package.
   16.26  compile_rules()
   16.27  {
   16.28 -	./configure "CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \
   16.29 -		--prefix=/usr \
   16.30 -		--mandir=/usr/share/man \
   16.31 +	./configure \
   16.32 +		"CFLAGS=-m32" "CXXFLAGS=-m32" "LDFLAGS=-m32" \
   16.33  		$CONFIGURE_ARGS &&
   16.34  	make &&
   16.35  	make DESTDIR=$DESTDIR install
   16.36 @@ -27,7 +27,8 @@
   16.37  # Rules to gen a SliTaz package suitable for Tazpkg.
   16.38  genpkg_rules()
   16.39  {
   16.40 -	mkdir -p $fs/usr/lib
   16.41 -	cp -a $install/usr/bin $fs/usr
   16.42 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   16.43 +	case $PACKAGE in
   16.44 +		libdisasm) copy @std;;
   16.45 +		*-dev)     copy @dev;;
   16.46 +	esac
   16.47  }
    17.1 --- a/libisofs-dev/receipt	Thu Oct 12 23:57:00 2017 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,22 +0,0 @@
    17.4 -# SliTaz package receipt.
    17.5 -
    17.6 -PACKAGE="libisofs-dev"
    17.7 -VERSION="1.0.8"
    17.8 -CATEGORY="development"
    17.9 -SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
   17.10 -MAINTAINER="devl547@gmail.com"
   17.11 -LICENSE="GPL2"
   17.12 -WEB_SITE="http://libburnia-project.org/"
   17.13 -WANTED="libisofs"
   17.14 -
   17.15 -DEPENDS="libisofs pkg-config"
   17.16 -
   17.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.18 -genpkg_rules()
   17.19 -{
   17.20 -	mkdir -p $fs/usr/lib
   17.21 -	cp -a $install/usr/lib/*a $fs/usr/lib
   17.22 -	cp -a $install/usr/include $fs/usr
   17.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   17.24 -}
   17.25 -
    18.1 --- a/libisofs/receipt	Thu Oct 12 23:57:00 2017 +0200
    18.2 +++ b/libisofs/receipt	Fri Oct 13 05:58:05 2017 +0300
    18.3 @@ -1,26 +1,32 @@
    18.4 -# SliTaz package receipt.
    18.5 +# SliTaz package receipt v2.
    18.6  
    18.7  PACKAGE="libisofs"
    18.8  VERSION="1.0.8"
    18.9  CATEGORY="utilities"
   18.10 -SHORT_DESC="libburnia is a project for reading, mastering  and writing optical discs."
   18.11 +SHORT_DESC="Reading, mastering and writing optical discs"
   18.12  MAINTAINER="devl547@gmail.com"
   18.13  LICENSE="GPL2"
   18.14 +WEB_SITE="https://dev.lovelyhq.com/libburnia/web/wikis/home"
   18.15 +
   18.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   18.17 -WEB_SITE="http://libburnia-project.org/"
   18.18  WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
   18.19  
   18.20 -# Rules to configure and make the package.
   18.21 -compile_rules()
   18.22 -{
   18.23 -	cd $src
   18.24 -	./configure $CONFIGURE_ARGS &&
   18.25 -	make -j1 && make -j1 install
   18.26 +BUILD_DEPENDS="gfortran acl-dev attr-dev zlib-dev libjte-dev"
   18.27 +SPLIT="libisofs-dev"
   18.28 +
   18.29 +compile_rules() {
   18.30 +	./configure $CONFIGURE_ARGS && make && make install
   18.31  }
   18.32  
   18.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.34 -genpkg_rules()
   18.35 -{
   18.36 -	mkdir -p $fs/usr/lib
   18.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   18.38 +genpkg_rules() {
   18.39 +	case $PACKAGE in
   18.40 +		libisofs)
   18.41 +			copy @std
   18.42 +			DEPENDS="acl libjte zlib"
   18.43 +			;;
   18.44 +		*-dev)
   18.45 +			copy @dev
   18.46 +			DEPENDS="libisofs acl-dev attr-dev bzip2-dev libjte-dev zlib-dev"
   18.47 +			;;
   18.48 +	esac
   18.49  }
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/libjte/receipt	Fri Oct 13 05:58:05 2017 +0300
    19.3 @@ -0,0 +1,35 @@
    19.4 +# SliTaz package receipt v2.
    19.5 +
    19.6 +PACKAGE="libjte"
    19.7 +VERSION="1.20"
    19.8 +CATEGORY="utilities"
    19.9 +SHORT_DESC="Jigdo Template Export library"
   19.10 +MAINTAINER="al.bobylev@gmail.com"
   19.11 +LICENSE=""
   19.12 +WEB_SITE="http://www.einval.com/~steve/software/JTE/"
   19.13 +
   19.14 +TARBALL="jigit_$VERSION.orig.tar.gz"
   19.15 +WGET_URL="http://www.einval.com/~steve/software/JTE/download/$TARBALL"
   19.16 +
   19.17 +BUILD_DEPENDS="zlib-dev bzip2-dev"
   19.18 +SPLIT="libjte-dev"
   19.19 +
   19.20 +compile_rules() {
   19.21 +	make &&
   19.22 +	make -C libjte install || return 1
   19.23 +
   19.24 +	cook_pick_manpages *.1 *.8
   19.25 +}
   19.26 +
   19.27 +genpkg_rules() {
   19.28 +	case $PACKAGE in
   19.29 +		libjte)
   19.30 +			copy @std
   19.31 +			DEPENDS="bzlib zlib"
   19.32 +			;;
   19.33 +		*-dev)
   19.34 +			copy @dev
   19.35 +			DEPENDS="libjte bzip2-dev zlib-dev"
   19.36 +			;;
   19.37 +	esac
   19.38 +}