# HG changeset patch # User Eric Joseph-Alexandre # Date 1208650749 -7200 # Node ID 6a9428a463237a5ea2826aa9f38d84ce4fe1042c # Parent 73595cae4a672134d29733b0ca19b183641407e3 Add: lsdvd, libdvdread, lidvdread-dev, libdvdcss, libdvdcss-dev, usbutils, smartmontools, dmidecode, ddrecue, dd_recue, lsscsi diff -r 73595cae4a67 -r 6a9428a46323 dd_rescue/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dd_rescue/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="dd_rescue" +VERSION="1.14" +CATEGORY="system-tools" +SHORT_DESC="Block device copy tools." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.garloff.de/kurt/linux/ddrescue/" +WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + src=$PACKAGE + cd $src + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + src=$PACKAGE + mkdir -p $fs/usr/bin + cp -a $src/dd_rescue $fs/usr/bin +} + +clean_wok() +{ + rm -rf $WOK/$PACKAGE/$PACKAGE +} + diff -r 73595cae4a67 -r 6a9428a46323 ddrescue/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ddrescue/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="ddrescue" +VERSION="1.8" +CATEGORY="system-tools" +SHORT_DESC="Data recovery tool." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/ddrescue/ddrescue.html" +WGET_URL="http://ftp.gnu.org/gnu/ddrescue/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} + diff -r 73595cae4a67 -r 6a9428a46323 dmidecode/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dmidecode/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="dmidecode" +VERSION="2.9" +CATEGORY="system-tools" +SHORT_DESC="SMBIOS/DMI reports." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.nongnu.org/dmidecode/" +WGET_URL="http://download.savannah.gnu.org/releases/dmidecode/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/sbin + cp -a $_pkg/usr/local/sbin/* $fs/usr/sbin +} + diff -r 73595cae4a67 -r 6a9428a46323 libdvdcss-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdvdcss-dev/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt." + +PACKAGE="libdvdcss-dev" +VERSION="1.2.9" +CATEGORY="system-tools" +SHORT_DESC="Read DVDs dev files." +MAINTAINER="Erjo " +DEPENDS="libdvdcss" +WANTED="libdvdcss" +TARBALL="libdvdcss-1.2.9.tar.gz" +WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" + +genpkg_rules() +{ + mkdir -p $fs/usr + + # Copying include dir if existes + if [ -d "$_pkg/usr/include" ]; then + cp -a $_pkg/usr/include $fs/usr + fi + + # Copying pkgconfig dir if existes + if [ -d "$_pkg/usr/lib/pkgconfig" ]; then + test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/ + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib + fi + + # Copying static libs if existes + if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then + test -d $fs/usr/lib || mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + fi +} diff -r 73595cae4a67 -r 6a9428a46323 libdvdcss/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdvdcss/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libdvdcss" +VERSION="1.2.9" +CATEGORY="system-tools" +SHORT_DESC="Accessing DVDs like a block device." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.videolan.org/developers/libdvdcss.html" +WGET_URL="http://download.videolan.org/pub/videolan/libdvdcss/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} + diff -r 73595cae4a67 -r 6a9428a46323 libdvdread-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdvdread-dev/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt." + +PACKAGE="libdvdread-dev" +VERSION="0.9.7" +CATEGORY="system-tools" +SHORT_DESC="Librairy for reading DVDs dev files." +MAINTAINER="Erjo " +WANTED="libdvdread" +DEPENDS="libdvdread" +TARBALL="libdvdread-0.9.7.tar.gz" +WEB_SITE="http://www.dtek.chalmers.se/groups/dvd/" + +genpkg_rules() +{ + mkdir -p $fs/usr + + # Copying include dir if existes + if [ -d "$_pkg/usr/include" ]; then + cp -a $_pkg/usr/include $fs/usr + fi + + # Copying pkgconfig dir if existes + if [ -d "$_pkg/usr/lib/pkgconfig" ]; then + test -d $_pkg/usr/lib/ || mkdir -p $_pkg/usr/lib/ + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/usr/lib + fi + + # Copying static libs if existes + if ( find $_pkg/usr/lib -name "*.*a" > /dev/null ); then + test -d $fs/usr/lib || mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + fi +} diff -r 73595cae4a67 -r 6a9428a46323 libdvdread/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libdvdread/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libdvdread" +VERSION="0.9.7" +CATEGORY="system-tools" +SHORT_DESC="Librairy for reading DVDs" +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.dtek.chalmers.se/groups/dvd/" +WGET_URL="http://www.dtek.chalmers.se/groups/dvd/dist/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} + diff -r 73595cae4a67 -r 6a9428a46323 lsdvd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsdvd/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="lsdvd" +VERSION="0.16" +CATEGORY="system-tools" +SHORT_DESC="A console application that displays the content of a DVD." +MAINTAINER="Erjo " +DEPENDS="libdvdread" +BUILD_DEPENDS="libdvdread-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://untrepid.com/acidrip/lsdvd.html" +WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/lsdvd/$TARBALL + http://puzzle.dl.sourceforge.net/sourceforge/lsdvd/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -p1 -i ../stuff/lsdvd-0.16-configure.patch + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} + diff -r 73595cae4a67 -r 6a9428a46323 lsdvd/stuff/lsdvd-0.16-configure.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsdvd/stuff/lsdvd-0.16-configure.patch Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,43 @@ +--- lsdvd-0.16-ori/configure Mon Dec 12 21:22:45 2005 ++++ lsdvd-0.16/configure Sat Apr 19 17:20:11 2008 +@@ -2887,8 +2887,9 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include + #include +- #include ++ + int + main () + { +--- lsdvd-0.16-ori/configure.in Mon Dec 12 21:11:01 2005 ++++ lsdvd-0.16/configure.in Sat Apr 19 17:19:36 2008 +@@ -10,8 +10,8 @@ + + AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!])) + AC_MSG_CHECKING([for dvdread/ifo_read.h]) +-AC_TRY_COMPILE([#include +- #include ], , ++AC_TRY_COMPILE([#include ++ #include ], , + AC_MSG_RESULT([yes]), + AC_MSG_RESULT([no]) + AC_MSG_ERROR([Header files for dvdread not found])) +--- lsdvd-0.16-ori/lsdvd.c Thu Mar 2 14:48:11 2006 ++++ lsdvd-0.16/lsdvd.c Sat Apr 19 17:26:06 2008 +@@ -13,13 +13,13 @@ + * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros, + * output info structures in form of a Perl module, by Henk Vergonet. + */ +-#include + #include + #include + #include + #include + #include + #include ++#include + #include "lsdvd.h" + #include "ocode.h" + diff -r 73595cae4a67 -r 6a9428a46323 lsscsi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lsscsi/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="lsscsi" +VERSION="0.19" +CATEGORY="system-tools" +SHORT_DESC="Lists information about SCSI devices." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tgz" +WEB_SITE="http://sg.torque.net/scsi/lsscsi.html" +WGET_URL="http://sg.torque.net/scsi/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $src/$PACKAGE $fs/usr +} + diff -r 73595cae4a67 -r 6a9428a46323 smartmontools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/smartmontools/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="smartmontools" +VERSION="5.38" +CATEGORY="system-tools" +SHORT_DESC="Monitors disk and tape health via S.M.A.R.T." +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://smartmontools.sourceforge.net/" +WGET_URL="http://garr.dl.sourceforge.net/sourceforge/smartmontools/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --sysconfdir=/etc $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc/init.d + cp -a $_pkg/usr/sbin $fs/usr + cp $_pkg/etc/smartd.conf $fs/etc/smartd.conf + install -g root -o root -m 755 stuff/etc/init.d/smartd $fs/etc/init.d + +} + diff -r 73595cae4a67 -r 6a9428a46323 smartmontools/stuff/etc/init.d/smartd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/smartmontools/stuff/etc/init.d/smartd Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,56 @@ +#!/bin/sh +# /etc/init.d/smartd : Start, stop and restart Smartmontools (SMART) daemon on SliTaz, at +# boot time or with the command line. +# +# To start SMART monitoring at boot time, just put smartd in the $RUN_DAEMONS +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf +# +. /etc/init.d/rc.functions +. /etc/daemons.conf + +NAME=smartd +DESC="Smartmontools (SMART) Daemon" +DAEMON=/usr/sbin/smartd + +PIDFILE=/var/run/smartd.pid +OPTIONS="-p $PIDFILE" + +case "$1" in + start) + if [ -f $PIDFILE ] ; then + echo "$NAME already running." + exit 1 + fi + echo -n "Starting $DESC: $NAME... " + $DAEMON $OPTIONS + status + ;; + stop) + if [ ! -f $PIDFILE ] ; then + echo "$NAME is not running." + exit 1 + fi + echo -n "Stopping $DESC: $NAME... " + kill `cat $PIDFILE` + status + ;; + restart) + if [ ! -f $PIDFILE ] ; then + echo "$NAME is not running." + exit 1 + fi + echo -n "Restarting $DESC: $NAME... " + kill `cat $PIDFILE` + sleep 2 + $DAEMON $OPTIONS + status + ;; + *) + echo "" + echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" + echo "" + exit 1 + ;; +esac + +exit 0 diff -r 73595cae4a67 -r 6a9428a46323 usbutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usbutils/receipt Sun Apr 20 02:19:09 2008 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="usbutils" +VERSION="0.73" +CATEGORY="system-tools" +SHORT_DESC="Displaying information about USB." +MAINTAINER="Erjo " +DEPENDS="" +BUILD_DEPENDS="libusb-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://linux-usb.sourceforge.net/" +WGET_URL="http://dfn.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL + http://surfnet.dl.sourceforge.net/sourceforge/linux-usb/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/sbin $fs/usr + cp -a $_pkg/usr/share/*.gz $fs/usr/share + strip -s $fs/usr/sbin/* +} +