wok rev 12479

Add sg3_utils
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:15:50 2012 +0200 (2012-04-23)
parents 5b8601199e3a
children d35ad056f90e
files libsgutils2/receipt sg3_utils-dev/receipt sg3_utils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsgutils2/receipt	Mon Apr 23 16:15:50 2012 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsgutils2"
     1.7 +VERSION="1.29"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="The sg_utils library."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://sg.danny.cz/sg/"
    1.12 +WANTED="sg3_utils"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.19 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/sg3_utils-dev/receipt	Mon Apr 23 16:15:50 2012 +0200
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="sg3_utils-dev"
     2.7 +VERSION="1.29"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="The sg_utils devel files."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WEB_SITE="http://sg.danny.cz/sg/"
    2.12 +WANTED="sg3_utils"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	mkdir -p $fs/usr/lib
    2.18 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.19 +	cp -a $install/usr/include $fs/usr
    2.20 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/sg3_utils/receipt	Mon Apr 23 16:15:50 2012 +0200
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="sg3_utils"
     3.7 +VERSION="1.29"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Low level utilities for devices that use a SCSI command set."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tgz"
    3.12 +WEB_SITE="http://sg.danny.cz/sg/"
    3.13 +WGET_URL="http://sg.danny.cz/sg/p/$TARBALL"
    3.14 +
    3.15 +DEPENDS="libsgutils2"
    3.16 +BUILD_DEPENDS=""
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	cd $src
    3.22 +	./configure \
    3.23 +		$CONFIGURE_ARGS &&
    3.24 +	make && make install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr/lib
    3.31 +	cp -a $install/usr/bin $fs/usr
    3.32 +	[ -x "/usr/bin/cook" ] && cook libsgutils2
    3.33 +}