# HG changeset patch # User Aleksej Bobylev # Date 1495806011 -10800 # Node ID 2c48a1f40bb6414efa7b10b96d968ae3bd2e1a59 # Parent a531be46683378a42dd4fd0092ad65144dcb07d2 Some receipts v2: apr, apr-util, aspell, at-spi2-core, at-spi2-atk, atk, atkmm, cairomm, colord, glibmm, libsigc++, libxslt. diff -r a531be466833 -r 2c48a1f40bb6 apr-dbd-mysql/receipt --- a/apr-dbd-mysql/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-dbd-mysql" -VERSION="1.5.4" -CATEGORY="libdevel" -SHORT_DESC="APR Library Utilities (MySQL DBD driver)" -MAINTAINER="erjo@slitaz.org" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org/" - -WANTED="apr-util" -DEPENDS="apr-util libcrypto libmysqlclient libssl zlib" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *mysql*.so -} diff -r a531be466833 -r 2c48a1f40bb6 apr-dbd-odbc/receipt --- a/apr-dbd-odbc/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-dbd-odbc" -VERSION="1.5.4" -CATEGORY="libdevel" -SHORT_DESC="APR Library Utilities (ODBC DBD driver)" -MAINTAINER="erjo@slitaz.org" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org" - -WANTED="apr-util" -DEPENDS="apr-util libunixODBC" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *odbc*.so -} diff -r a531be466833 -r 2c48a1f40bb6 apr-dbd-pgsql/receipt --- a/apr-dbd-pgsql/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-dbd-pgsql" -VERSION="1.5.4" -CATEGORY="development" -SHORT_DESC="APR Library Utilities (PostgreSQL DBD driver)" -MAINTAINER="erjo@slitaz.org" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org" - -WANTED="apr-util" -DEPENDS="apr-util libpostgresqlclient" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *pgsql*.so -} diff -r a531be466833 -r 2c48a1f40bb6 apr-dbd-sqlite/receipt --- a/apr-dbd-sqlite/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-dbd-sqlite" -VERSION="1.5.4" -CATEGORY="libdevel" -SHORT_DESC="APRuntime Library Utilities (SQLite DBD driver)" -MAINTAINER="erjo@slitaz.org" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org" - -WANTED="apr-util" -DEPENDS="apr-util libsqlite" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *sqlite*.so -} diff -r a531be466833 -r 2c48a1f40bb6 apr-dev/receipt --- a/apr-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-dev" -VERSION="1.5.2" -CATEGORY="development" -SHORT_DESC="Apache Portable Runtime Library (development files)" -MAINTAINER="lehswe@gmail.com" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org/" - -WANTED="apr" -DEPENDS="apr glibc-dev util-linux-uuid-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_folders bin apr-1 - cook_copy_files *.h *.la *.pc -} diff -r a531be466833 -r 2c48a1f40bb6 apr-util-dev/receipt --- a/apr-util-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="apr-util-dev" -VERSION="1.5.4" -CATEGORY="development" -SHORT_DESC="APR Library Utilities (development files)" -MAINTAINER="lehswe@gmail.com" -LICENSE="Apache" -WEB_SITE="http://apr.apache.org" - -WANTED="apr-util" -DEPENDS="apr-util apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files apu-1-config *.h *.la *.pc -} diff -r a531be466833 -r 2c48a1f40bb6 apr-util/receipt --- a/apr-util/receipt Fri May 26 16:25:55 2017 +0300 +++ b/apr-util/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="apr-util" VERSION="1.5.4" @@ -11,10 +11,10 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://archive.apache.org/dist/apr/$TARBALL" -DEPENDS="apr expat ncurses readline zlib" BUILD_DEPENDS="apr-dev openssl-dev gdbm-dev postgresql-dev sqlite-dev \ unixODBC-dev expat-dev mysql-dev" -SPLIT="apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite apr-util-dev" +SPLIT="apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql apr-dbd-sqlite apr-crypto \ +apr-dbm-gdbm apr-util-dev" # Rules to configure and make the package. compile_rules() @@ -34,5 +34,45 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files libaprutil-1.so* aprutil.exp + case $PACKAGE in + apr-util) + DEPENDS="apr expat ncurses readline zlib" + copy libaprutil-1.so* aprutil.exp + ;; + apr-dbd-mysql) + DEPENDS="apr-util libcrypto libmysqlclient libssl zlib" + CAT="libdevel|MySQL DBD driver" + copy *mysql*.so + ;; + apr-dbd-odbc) + DEPENDS="apr-util libunixODBC" + CAT="libdevel|ODBC DBD driver" + copy *odbc*.so + ;; + apr-dbd-pgsql) + DEPENDS="apr-util libpostgresqlclient" + CAT="libdevel|PostgreSQL DBD driver" + copy *pgsql*.so + ;; + apr-dbd-sqlite) + DEPENDS="apr-util libsqlite" + CAT="libdevel|SQLite DBD driver" + copy *sqlite*.so + ;; + apr-crypto) + DEPENDS="apr-util libcrypto libssl" + CAT="libdevel|OpenSSL crypto plugin" + copy *crypto*.so + ;; + apr-dbm-gdbm) + DEPENDS="apr-util gdbm" + CAT="libdevel|GDBM plugin" + copy *dbm*.so + ;; + apr-util-dev) + DEPENDS="apr-util apr-dbd-mysql apr-dbd-odbc apr-dbd-pgsql \ + apr-dbd-sqlite" + copy @dev + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 apr/receipt --- a/apr/receipt Fri May 26 16:25:55 2017 +0300 +++ b/apr/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="apr" VERSION="1.5.2" @@ -12,14 +12,12 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://archive.apache.org/dist/apr/$TARBALL" -DEPENDS="util-linux-uuid" BUILD_DEPENDS="util-linux-uuid-dev" +SPLIT="apr-dev" # Rules to configure and make the package. compile_rules() { - while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series - ./configure \ --prefix=/usr \ --disable-static \ @@ -34,5 +32,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* *.exp + case $PACKAGE in + apr) + copy *.so* *.exp + DEPENDS="util-linux-uuid" + ;; + apr-dev) + copy @dev build/ + DEPENDS="apr glibc-dev util-linux-uuid-dev" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 aspell-dev/receipt --- a/aspell-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="aspell-dev" -VERSION="0.60.6.1" -CATEGORY="development" -SHORT_DESC="GNU spell checker (development files)" -MAINTAINER="paul@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="http://aspell.net/" -HOST_ARCH="i486 arm" - -WANTED="aspell" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *.h *.la pspell-config -} diff -r a531be466833 -r 2c48a1f40bb6 aspell/receipt --- a/aspell/receipt Fri May 26 16:25:55 2017 +0300 +++ b/aspell/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="aspell" VERSION="0.60.6.1" CATEGORY="system-tools" -SHORT_DESC="GNU spell checker." +SHORT_DESC="GNU spell checker" MAINTAINER="paul@slitaz.org" LICENSE="LGPL2" WEB_SITE="http://aspell.net/" @@ -13,28 +13,27 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$GNU_MIRROR/aspell/$TARBALL" -DEPENDS="ncurses" BUILD_DEPENDS="perl gettext ncurses-dev" +SPLIT="aspell-dev" # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install - install -v -m755 -d $install/usr/share/doc/aspell-$VERSION/aspell.html && - install -v -m755 -d $install/usr/share/doc/aspell-$VERSION/aspell-dev.html && - install -v -m644 manual/aspell.html/* \ - $install/usr/share/doc/aspell-$VERSION/aspell.html && - install -v -m644 manual/aspell-dev.html/* \ - $install/usr/share/doc/aspell-$VERSION/aspell-dev.html + ln -svfn aspell-0.60 $install/usr/lib/aspell + docdir="$install/usr/share/doc/aspell-$VERSION" + install -v -m755 -d $docdir/aspell.html && + install -v -m755 -d $docdir/aspell-dev.html && + install -v -m644 manual/aspell.html/* $docdir/aspell.html && + install -v -m644 manual/aspell-dev.html/* $docdir/aspell-dev.html } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_folders bin - find $fs -name '*-config' -delete - cook_copy_files *.so* *.amf *filter.info *.cmap *.cset *.kbd *.amf spell ispell - - ln -svfn aspell-0.60 $fs/usr/lib/aspell + case $PACKAGE in + aspell) copy @std; DEPENDS="ncurses" ;; + aspell-dev) copy @dev ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 at-spi2-atk-dev/receipt --- a/at-spi2-atk-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="at-spi2-atk-dev" -VERSION="2.20.1" -CATEGORY="development" -LICENSE="GPL3" -SHORT_DESC="Bridges ATK to At-Spi2 D-Bus service (development files)" -MAINTAINER="yuripourre@gmail.com" -WEB_SITE="https://www.gnome.org/" - -WANTED="at-spi2-atk" -DEPENDS="at-spi2-atk gobject-introspection-dev at-spi2-core-dev glib-dev \ -atk-dev libffi-dev xorg-libX11-dev libxcb-dev xorg-libXau-dev \ -xorg-libXdmcp-dev dbus-dev pcre-dev" - -genpkg_rules() -{ - copy @dev -} diff -r a531be466833 -r 2c48a1f40bb6 at-spi2-atk/receipt --- a/at-spi2-atk/receipt Fri May 26 16:25:55 2017 +0300 +++ b/at-spi2-atk/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="at-spi2-atk" VERSION="2.20.1" @@ -11,9 +11,8 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="at-spi2-core atk dbus glib libffi libxcb pcre xorg-libX11 xorg-libXau \ -xorg-libXdmcp" BUILD_DEPENDS="dbus-dev glib-dev atk-dev at-spi2-core-dev" +SPLIT="at-spi2-atk-dev" # Rules to configure and make the package. compile_rules() @@ -23,5 +22,17 @@ genpkg_rules() { - copy @std + case $PACKAGE in + at-spi2-atk) + copy @std + DEPENDS="at-spi2-core atk dbus glib libffi libxcb pcre xorg-libX11 \ + xorg-libXau xorg-libXdmcp" + ;; + at-spi2-atk-dev) + copy @dev + DEPENDS="at-spi2-atk gobject-introspection-dev at-spi2-core-dev \ + glib-dev atk-dev libffi-dev xorg-libX11-dev libxcb-dev \ + xorg-libXau-dev xorg-libXdmcp-dev dbus-dev pcre-dev" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 at-spi2-core-dev/receipt --- a/at-spi2-core-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="at-spi2-core-dev" -VERSION="2.20.2" -CATEGORY="development" -LICENSE="GPL3" -SHORT_DESC="Service Provider Interface for the Assistive Technologies (development files)" -MAINTAINER="al.bobylev@gmail.com" -WEB_SITE="https://www.gnome.org/" - -WANTED="at-spi2-core" -DEPENDS="at-spi2-core dbus-dev glib-dev gobject-introspection-dev libffi-dev \ -xorg-libX11-dev libxcb-dev xorg-libXau-dev xorg-libXdmcp-dev pcre-dev" - -genpkg_rules() -{ - cook_copy_files *.h *.pc *.la *.c *.typelib *.gir -} diff -r a531be466833 -r 2c48a1f40bb6 at-spi2-core/receipt --- a/at-spi2-core/receipt Fri May 26 16:25:55 2017 +0300 +++ b/at-spi2-core/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="at-spi2-core" VERSION="2.20.2" @@ -11,10 +11,9 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="dbus glib libffi libgio libxcb pcre xorg-libX11 xorg-libXau \ -xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst zlib" BUILD_DEPENDS="intltool dbus-dev xorg-libX11-dev xorg-libXtst-dev \ gobject-introspection-dev" +SPLIT="at-spi2-core-dev" # Rules to configure and make the package. compile_rules() @@ -28,6 +27,17 @@ genpkg_rules() { - cook_copy_folders etc libexec dbus-1 defaults - cook_copy_files *.so* + case $PACKAGE in + at-spi2-core) + copy @std + DEPENDS="dbus glib libffi libgio libxcb pcre xorg-libX11 \ + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXtst zlib" + ;; + at-spi2-core-dev) + copy @dev + DEPENDS="at-spi2-core dbus-dev glib-dev gobject-introspection-dev \ + libffi-dev xorg-libX11-dev libxcb-dev xorg-libXau-dev \ + xorg-libXdmcp-dev pcre-dev" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 atk-dev/receipt --- a/atk-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="atk-dev" -VERSION="2.20.0" -CATEGORY="development" -SHORT_DESC="Accessibility toolkit devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="GPL2" -WEB_SITE="https://www.gnome.org/" -HOST_ARCH="i486 arm" - -WANTED="atk" -DEPENDS="atk pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *.h *.la *.pc *.typelib *.gir -} diff -r a531be466833 -r 2c48a1f40bb6 atk/receipt --- a/atk/receipt Fri May 26 16:25:55 2017 +0300 +++ b/atk/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="atk" VERSION="2.20.0" CATEGORY="x-window" -SHORT_DESC="Accessibility toolkit." +SHORT_DESC="Accessibility toolkit" MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.gnome.org/" @@ -13,15 +13,9 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib" BUILD_DEPENDS="glib-dev gettext gobject-introspection-dev" BUILD_DEPENDS_arm="libgio-dev glib-dev" - -# Handle cross compilation -case "$ARCH" in - arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm ;; -esac - +SPLIT="atk-dev" # Rules to configure and make the package. compile_rules() @@ -32,5 +26,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* + case $PACKAGE in + atk) + copy @std + DEPENDS="glib" + ;; + atk-dev) + copy @dev + DEPENDS="atk pkg-config" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 atkmm-dev/receipt --- a/atkmm-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="atkmm-dev" -VERSION="2.24.2" -CATEGORY="development" -SHORT_DESC="devel files for atkmm" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="https://www.gnome.org/" - -WANTED="atkmm" -DEPENDS="atkmm pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/lib/atkmm* $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/include $fs/usr -} - diff -r a531be466833 -r 2c48a1f40bb6 atkmm/receipt --- a/atkmm/receipt Fri May 26 16:25:55 2017 +0300 +++ b/atkmm/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="atkmm" VERSION="2.24.2" CATEGORY="x-window" -SHORT_DESC="C++ interface for the popular Accessibility toolkit." +SHORT_DESC="C++ interface for the popular Accessibility toolkit" MAINTAINER="slaxemulator@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://www.gnome.org/" @@ -11,8 +11,8 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="atk glib glibmm libsigc++" BUILD_DEPENDS="atk-dev glibmm-dev" +SPLIT="atkmm-dev" # Rules to configure and make the package. compile_rules() @@ -25,5 +25,14 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* + case $PACKAGE in + atkmm) + copy @std + DEPENDS="atk glib glibmm libsigc++" + ;; + atkmm-dev) + copy @dev + DEPENDS="atkmm pkg-config" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 cairomm-dev/receipt --- a/cairomm-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="cairomm-dev" -VERSION="1.12.0" -CATEGORY="development" -SHORT_DESC="C++ interface to Cairo (development files)" -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2" -WEB_SITE="https://www.cairographics.org/" - -WANTED="cairomm" -DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev glib-dev \ -harfbuzz-dev liblzma-dev libpng-dev libsigc++-dev libxcb-dev libxml2-dev \ -pcre-dev pixman-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \ -xorg-libXext-dev xorg-libXrender-dev zlib-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *.h *.la *.pc -} diff -r a531be466833 -r 2c48a1f40bb6 cairomm/description.cairomm-dev.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cairomm/description.cairomm-dev.txt Fri May 26 16:40:11 2017 +0300 @@ -0,0 +1,2 @@ +cairomm is a C++ wrapper for the cairo graphics library. This package contains +development files. diff -r a531be466833 -r 2c48a1f40bb6 cairomm/receipt --- a/cairomm/receipt Fri May 26 16:25:55 2017 +0300 +++ b/cairomm/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="cairomm" VERSION="1.12.0" @@ -11,9 +11,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://cairographics.org/releases/$TARBALL" -DEPENDS="cairo freetype libpng libsigc++ xorg-libX11 xorg-libXext \ -xorg-libXrender zlib" BUILD_DEPENDS="cairo-dev libsigc++-dev" +SPLIT="cairomm-dev" # Rules to configure and make the package. compile_rules() @@ -26,5 +25,19 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* + case $PACKAGE in + cairomm) + copy @std + DEPENDS="cairo freetype libpng libsigc++ xorg-libX11 xorg-libXext \ + xorg-libXrender zlib" + ;; + cairomm-dev) + copy @dev + DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev \ + glib-dev harfbuzz-dev liblzma-dev libpng-dev libsigc++-dev \ + libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \ + xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ + xorg-libXrender-dev zlib-dev" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 colord-dev/receipt --- a/colord-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="colord-dev" -VERSION="1.2.12" -CATEGORY="development" -SHORT_DESC="System activated daemon that maps devices to color profiles (development files)" -MAINTAINER="al.bobylev@gmail.com" -LICENSE="GPL2" -WEB_SITE="https://www.freedesktop.org/software/colord/" - -WANTED="colord" -DEPENDS="colord eudev-dev glib-dev glibc-dev lcms2-dev libffi-dev libgio-dev \ -libgudev-dev libgusb-dev libusb-dev pcre-dev zlib-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *.h *.la *.pc *.typelib *.gir *.vapi -} diff -r a531be466833 -r 2c48a1f40bb6 colord/receipt --- a/colord/receipt Fri May 26 16:25:55 2017 +0300 +++ b/colord/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="colord" VERSION="1.2.12" @@ -11,10 +11,9 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://www.freedesktop.org/software/colord/releases/$TARBALL" -DEPENDS="eudev glib lcms2 libffi libgio libgudev libgusb libsqlite libusb pcre \ -polkit zlib" BUILD_DEPENDS="libgio-dev gobject-introspection-dev gtk-doc intltool libxslt \ libgusb-dev lcms2-dev sqlite-dev libgudev-dev polkit-dev dbus-dev vala" +SPLIT="colord-dev" # Rules to configure and make the package. compile_rules() @@ -36,7 +35,16 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_folders bin libexec var - cook_copy_files *.conf *.rules *.so* *.icc *.cmf *.svg *.sp *.ti1 *.xml \ - *.service *.policy + case $PACKAGE in + colord) + copy @std + DEPENDS="eudev glib lcms2 libffi libgio libgudev libgusb libsqlite \ + libusb pcre polkit zlib" + ;; + colord-dev) + copy @dev + DEPENDS="colord eudev-dev glib-dev glibc-dev lcms2-dev libffi-dev \ + libgio-dev libgudev-dev libgusb-dev libusb-dev pcre-dev zlib-dev" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 glibmm-dev/receipt --- a/glibmm-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="glibmm-dev" -VERSION="2.48.1" -CATEGORY="development" -SHORT_DESC="Callback Framework for C++ devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://www.gtkmm.org/" - -WANTED="glibmm" -DEPENDS="glibmm libgiomm-dev libsigc++-dev glib-dev pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_folders glibmm-2.4 - cook_copy_files libglibmm*.la glibmm-2.4.pc -} diff -r a531be466833 -r 2c48a1f40bb6 glibmm/receipt --- a/glibmm/receipt Fri May 26 16:25:55 2017 +0300 +++ b/glibmm/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="glibmm" VERSION="2.48.1" CATEGORY="x-window" -SHORT_DESC="C++ interface for the popular GUI library GTK+." +SHORT_DESC="C++ interface for GTK+" MAINTAINER="pankso@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="http://www.gtkmm.org/" @@ -11,7 +11,6 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" -DEPENDS="glib libsigc++ gcc-lib-base glibc-base" BUILD_DEPENDS="glib-dev libsigc++-dev" SPLIT="libgiomm libgiomm-dev glibmm-dev" @@ -26,5 +25,24 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files libglibmm*.so* + case $PACKAGE in + glibmm) + copy libglibmm*.so* + DEPENDS="glib libsigc++ gcc-lib-base glibc-base" + ;; + glibmm-dev) + copy glibmm-2.4/ libglibmm*.la glibmm-2.4.pc + DEPENDS="glibmm libgiomm-dev libsigc++-dev glib-dev pkg-config" + ;; + libgiomm) + copy libgiomm*.so* + DEPENDS="glib glibmm libgio libsigc++" + CAT="x-window|GIO Framework" + ;; + libgiomm-dev) + copy giomm-2.4/ libgiomm*.la giomm-2.4.pc + DEPENDS="libgiomm pkg-config" + CAT="development|GIO Framework development files" + ;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 libgiomm-dev/receipt --- a/libgiomm-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgiomm-dev" -VERSION="2.48.1" -CATEGORY="development" -SHORT_DESC="GIO Framework for C++ devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://www.gtkmm.org/" - -WANTED="glibmm" -DEPENDS="libgiomm pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_folders giomm-2.4 - cook_copy_files libgiomm*.la giomm-2.4.pc -} diff -r a531be466833 -r 2c48a1f40bb6 libgiomm/receipt --- a/libgiomm/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libgiomm" -VERSION="2.48.1" -CATEGORY="x-window" -SHORT_DESC="GIO Framework for C++." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://www.gtkmm.org/" - -WANTED="glibmm" -DEPENDS="glib glibmm libgio libsigc++" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files libgiomm*.so* -} diff -r a531be466833 -r 2c48a1f40bb6 libsigc++-dev/receipt --- a/libsigc++-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libsigc++-dev" -VERSION="2.8.0" -CATEGORY="development" -SHORT_DESC="Callback Framework for C++ devel files." -MAINTAINER="pankso@slitaz.org" -LICENSE="LGPL2.1" -WEB_SITE="http://libsigc.sourceforge.net/" -HOST_ARCH="i486 arm" - -WANTED="libsigc++" -DEPENDS="libsigc++ pkg-config" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files *.h *.la *.pc -} diff -r a531be466833 -r 2c48a1f40bb6 libsigc++/receipt --- a/libsigc++/receipt Fri May 26 16:25:55 2017 +0300 +++ b/libsigc++/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libsigc++" VERSION="2.8.0" @@ -13,6 +13,7 @@ WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" BUILD_DEPENDS="m4 perl" +SPLIT="libsigc++-dev" # Rules to configure and make the package. compile_rules() @@ -23,5 +24,8 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* + case $PACKAGE in + libsigc++) copy @std;; + libsigc++-dev) copy @dev;; + esac } diff -r a531be466833 -r 2c48a1f40bb6 libxslt-dev/receipt --- a/libxslt-dev/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libxslt-dev" -VERSION="1.1.29" -CATEGORY="development" -SHORT_DESC="XSLT devel files support for libxml2." -MAINTAINER="pankso@slitaz.org" -LICENSE="MIT" -WEB_SITE="http://xmlsoft.org/" -HOST_ARCH="i486 arm" - -WANTED="libxslt" -DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_files xslt-config *.h libxslt.la libexslt.la *.sh *.pc *.m4 -} diff -r a531be466833 -r 2c48a1f40bb6 libxslt-python/receipt --- a/libxslt-python/receipt Fri May 26 16:25:55 2017 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="libxslt-python" -VERSION="1.1.29" -CATEGORY="development" -SHORT_DESC="python module for libxslt" -MAINTAINER="slaxemulator@gmail.com" -LICENSE="MIT" -WANTED="libxslt" -WEB_SITE="http://xmlsoft.org/" - -DEPENDS="libxslt python" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cook_copy_folders python* -} diff -r a531be466833 -r 2c48a1f40bb6 libxslt/receipt --- a/libxslt/receipt Fri May 26 16:25:55 2017 +0300 +++ b/libxslt/receipt Fri May 26 16:40:11 2017 +0300 @@ -1,9 +1,9 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="libxslt" VERSION="1.1.29" CATEGORY="system-tools" -SHORT_DESC="XSLT support for libxml2." +SHORT_DESC="XSLT support for libxml2" MAINTAINER="pankso@slitaz.org" LICENSE="MIT" WEB_SITE="http://www.xmlsoft.org/XSLT/" @@ -12,14 +12,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://xmlsoft.org/sources/$TARBALL" -DEPENDS="libgcrypt libgpg-error libxml2 zlib" BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev zlib-dev python-dev" -SPLIT="libxslt-python" - -# Handle cross compilation -case "$ARCH" in - arm) BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev libxml2-dev" ;; -esac +BUILD_DEPENDS_arm="libgcrypt-dev libgpg-error-dev libxml2-dev" +SPLIT="libxslt-python libxslt-dev" # Rules to configure and make the package. compile_rules() @@ -34,5 +29,20 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files xsltproc libxslt.so* libexslt.so* + case $PACKAGE in + libxslt) + copy xsltproc libxslt.so* libexslt.so* + DEPENDS="libgcrypt libgpg-error libxml2 zlib" + ;; + libxslt-python) + copy python*/ + find $fs -name '*.la' -delete + DEPENDS="libxslt python" + CAT="development|python module" + ;; + libxslt-dev) + copy @dev xsltConf.sh + DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev" + ;; + esac }