slitaz-base-files rev 152

Sorry Christian I had a libpkg.sh ready to commit (libtaz.sh is in /lib since it is used in boot process, other libs must go in /usr/lib to be FSH compliant)
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 11 16:06:07 2012 +0200 (2012-05-11)
parents f22c79a37a74
children 23374e58f8e3 c1136f46d89d
files doc/libpkg.txt rootfs/lib/libspk.sh rootfs/usr/lib/slitaz/httphelper rootfs/usr/lib/slitaz/libpkg.sh
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc/libpkg.txt	Fri May 11 16:06:07 2012 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +
     1.5 +SYNOPSIS
     1.6 +	. /usr/lib/slitaz/libpkg.sh
     1.7 +	function
     1.8 +
     1.9 +DESCRIPTION
    1.10 +	Libpkg provide base functions to handle SliTaz Packages archives and
    1.11 +	receipt. It is used by Spk, the Cookutils and all tools dealing with
    1.12 +	packages and receipts.
    1.13 +
    1.14 +FUNCTIONS
    1.15 +	unset_receipt
    1.16 +
    1.17 +OPTIONS
    1.18 +
    1.19 +AUTHOR
    1.20 +	Written by Christophe Lincoln and Christian Mesh
    1.21 +
     2.1 --- a/rootfs/lib/libspk.sh	Fri May 11 09:58:16 2012 -0500
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,4 +0,0 @@
     2.4 -#!/bin/sh
     2.5 -# LibSpk - SliTaz Package Managment Library
     2.6 -#
     2.7 -# Authors : See the AUTHORS filesi
     3.1 --- a/rootfs/usr/lib/slitaz/httphelper	Fri May 11 09:58:16 2012 -0500
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,1 +0,0 @@
     3.4 -httphelper.sh
     3.5 \ No newline at end of file
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/rootfs/usr/lib/slitaz/libpkg.sh	Fri May 11 16:06:07 2012 +0200
     4.3 @@ -0,0 +1,15 @@
     4.4 +#!/bin/sh
     4.5 +#
     4.6 +# SliTaz Packages base functions used by packages manager, cook and
     4.7 +# all tools dealing with packages and receipts.
     4.8 +#
     4.9 +# Documentation: man libpkg or /usr/share/doc/slitaz/libpkg.txt
    4.10 +#
    4.11 +# Copyright (C) 2012 SliTaz GNU/Linux - BSD License
    4.12 +#
    4.13 +
    4.14 +# Unset all receipt variables.
    4.15 +unset_receipt() {
    4.16 +	unset PACKAGE VERSION EXTRAVERSION SHORT_DESC HOST_ARCH TARBALL \
    4.17 +		DEPENDS BUILD_DEPENDS WANTED WGET_URL PROVIDE CROSS_BUG
    4.18 +}