Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 14468:d805d3de4546

add tidy; up bc 1.06.95, tidy receipt; add compface* & xbm2xface; add cacerts [ looking current BLFS book (2013-04-27) ]
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 01 01:06:46 2013 +0000 (18 months ago ago)
parents 3f4d46548cfb
children 0ff1a16dba1e
files bc/receipt bc/stuff/bc.desktop cacerts/description.txt cacerts/receipt cacerts/stuff/make-ca.sh cacerts/stuff/make-cert.pl cacerts/stuff/remove-expired-certs.sh compface-dev/receipt compface/description.txt compface/receipt compface/stuff/makefile-use-destdir.patch tidy-dev/receipt tidy/receipt xbm2xface/receipt
line diff
     1.1 --- a/bc/receipt	Mon Apr 29 22:16:01 2013 +0200
     1.2 +++ b/bc/receipt	Wed May 01 01:06:46 2013 +0000
     1.3 @@ -1,29 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="bc"
     1.7 -VERSION="1.06"
     1.8 +VERSION="1.06.95"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Bc is a cmdline calculator."
    1.11 +SHORT_DESC="Bc is a cmdline calculator"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +LICENSE="GPL2 LGPL2.1"
    1.15  WEB_SITE="http://www.gnu.org/software/bc/"
    1.16 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18 +WGET_URL="http://alpha.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.19  TAGS="calculator"
    1.20  
    1.21 -DEPENDS=""
    1.22 -BUILD_DEPENDS="flex"
    1.23 +DEPENDS="ncurses readline"
    1.24 +BUILD_DEPENDS="flex readline-dev texinfo"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -    ./configure $CONFIGURE_ARGS && make &&
    1.31 -    make DESTDIR=$DESTDIR install
    1.32 +	./configure \
    1.33 +		--with-readline \
    1.34 +		$CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -    mkdir -p $fs/usr/bin
    1.43 -    cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.44 +	mkdir -p $fs/usr/bin
    1.45 +	cp -a $install/usr/bin/* $fs/usr/bin
    1.46  }
     2.1 --- a/bc/stuff/bc.desktop	Mon Apr 29 22:16:01 2013 +0200
     2.2 +++ b/bc/stuff/bc.desktop	Wed May 01 01:06:46 2013 +0000
     2.3 @@ -11,4 +11,4 @@
     2.4  Exec=bc
     2.5  Terminal=true
     2.6  Icon=accessories-calculator
     2.7 -Categories=Utility;
     2.8 +Categories=Utility;Calculator;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/cacerts/description.txt	Wed May 01 01:06:46 2013 +0000
     3.3 @@ -0,0 +1,6 @@
     3.4 +The Public Key Inrastructure is used for many security issues in a Linux system.
     3.5 +In order for a certificate to be trusted, it must be signed by a trusted agent
     3.6 +called a Certificate Authority (CA). The certificates loaded by this section
     3.7 +are from the list on the Mozilla version control system and formats it into
     3.8 +a form used by OpenSSL-1.0.1e. The certificates can also be used by other
     3.9 +applications either directly of indirectly through openssl.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/cacerts/receipt	Wed May 01 01:06:46 2013 +0000
     4.3 @@ -0,0 +1,37 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="cacerts"
     4.7 +VERSION="1.87"
     4.8 +CATEGORY="security"
     4.9 +SHORT_DESC="Certificate Authority Certificates"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="MPL2"
    4.12 +WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html"
    4.13 +TARBALL="$PACKAGE-$VERSION.txt"
    4.14 +WGET_URL="http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1"
    4.15 +
    4.16 +DEPENDS="openssl"
    4.17 +BUILD_DEPENDS="openssl"
    4.18 +
    4.19 +# Rules to configure and make the package.
    4.20 +compile_rules()
    4.21 +{
    4.22 +	mv -f *.txt certdata.txt &&
    4.23 +	cp -a $stuff/* $src &&
    4.24 +	./make-ca.sh &&
    4.25 +	./remove-expired-certs.sh $src/certs
    4.26 +}
    4.27 +
    4.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.29 +genpkg_rules()
    4.30 +{
    4.31 +	mkdir -p $fs/etc/ssl/certs
    4.32 +	cp -a $src/certs/*.pem $fs/etc/ssl/certs
    4.33 +	cp -a $src/ca-bundle.crt $fs/etc/ssl
    4.34 +}
    4.35 +
    4.36 +post_install()
    4.37 +{
    4.38 +	echo "Rehash certificates:"
    4.39 +	c_rehash
    4.40 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/cacerts/stuff/make-ca.sh	Wed May 01 01:06:46 2013 +0000
     5.3 @@ -0,0 +1,96 @@
     5.4 +#!/bin/sh
     5.5 +# Begin make-ca.sh
     5.6 +# Script to populate OpenSSL's CApath from a bundle of PEM formatted CAs
     5.7 +#
     5.8 +# The file certdata.txt must exist in the local directory
     5.9 +# Version number is obtained from the version of the data.
    5.10 +#
    5.11 +# Authors: DJ Lucas
    5.12 +#          Bruce Dubbs
    5.13 +#
    5.14 +# Version 20120211
    5.15 +
    5.16 +certdata="certdata.txt"
    5.17 +
    5.18 +if [ ! -r $certdata ]; then
    5.19 +  echo "$certdata must be in the local directory"
    5.20 +  exit 1
    5.21 +fi
    5.22 +
    5.23 +REVISION=$(grep CVS_ID $certdata | cut -f4 -d'$')
    5.24 +
    5.25 +if [ -z "${REVISION}" ]; then
    5.26 +  echo "$certfile has no 'Revision' in CVS_ID"
    5.27 +  exit 1
    5.28 +fi
    5.29 +
    5.30 +VERSION=$(echo $REVISION | cut -f2 -d" ")
    5.31 +
    5.32 +TEMPDIR=$(mktemp -d)
    5.33 +TRUSTATTRIBUTES="CKA_TRUST_SERVER_AUTH"
    5.34 +BUNDLE="ca-bundle.crt"
    5.35 +CONVERTSCRIPT="./make-cert.pl"
    5.36 +SSLDIR="${DESTDIR}/etc/ssl"
    5.37 +
    5.38 +mkdir "${TEMPDIR}/certs"
    5.39 +
    5.40 +# Get a list of staring lines for each cert
    5.41 +CERTBEGINLIST=$(grep -n "^# Certificate" "${certdata}" | cut -d ":" -f1)
    5.42 +
    5.43 +# Get a list of ending lines for each cert
    5.44 +CERTENDLIST=`grep -n "^CKA_TRUST_STEP_UP_APPROVED" "${certdata}" | cut -d ":" -f 1`
    5.45 +
    5.46 +# Start a loop
    5.47 +for certbegin in ${CERTBEGINLIST}; do
    5.48 +  for certend in ${CERTENDLIST}; do
    5.49 +    if test "${certend}" -gt "${certbegin}"; then
    5.50 +      break
    5.51 +    fi
    5.52 +  done
    5.53 +
    5.54 +  # Dump to a temp file with the name of the file as the beginning line number
    5.55 +  sed -n "${certbegin},${certend}p" "${certdata}" > "${TEMPDIR}/certs/${certbegin}.tmp"
    5.56 +done
    5.57 +
    5.58 +unset CERTBEGINLIST CERTDATA CERTENDLIST certebegin certend
    5.59 +
    5.60 +mkdir -p certs
    5.61 +touch certs/dummy
    5.62 +rm certs/*      # Make sure the directory is clean
    5.63 +
    5.64 +for tempfile in ${TEMPDIR}/certs/*.tmp; do
    5.65 +  # Make sure that the cert is trusted...
    5.66 +  grep "CKA_TRUST_SERVER_AUTH" "${tempfile}" | \
    5.67 +    egrep "TRUST_UNKNOWN|NOT_TRUSTED" > /dev/null
    5.68 +
    5.69 +  if test "${?}" = "0"; then
    5.70 +    # Throw a meaningful error and remove the file
    5.71 +    cp "${tempfile}" tempfile.cer
    5.72 +    perl ${CONVERTSCRIPT} > tempfile.crt
    5.73 +    keyhash=$(openssl x509 -noout -in tempfile.crt -hash)
    5.74 +    echo "Certificate ${keyhash} is not trusted!  Removing..."
    5.75 +    rm -f tempfile.cer tempfile.crt "${tempfile}"
    5.76 +    continue
    5.77 +  fi
    5.78 +
    5.79 +  # If execution made it to here in the loop, the temp cert is trusted
    5.80 +  # Find the cert data and generate a cert file for it
    5.81 +
    5.82 +  cp "${tempfile}" tempfile.cer
    5.83 +  perl ${CONVERTSCRIPT} > tempfile.crt
    5.84 +  keyhash=$(openssl x509 -noout -in tempfile.crt -hash)
    5.85 +  mv tempfile.crt "certs/${keyhash}.pem"
    5.86 +  rm -f tempfile.cer "${tempfile}"
    5.87 +  echo "Created ${keyhash}.pem"
    5.88 +done
    5.89 +
    5.90 +# Remove blacklisted files
    5.91 +# MD5 Collision Proof of Concept CA
    5.92 +if test -f certs/8f111d69.pem; then
    5.93 +  echo "Certificate 8f111d69 is not trusted!  Removing..."
    5.94 +  rm -f certs/8f111d69.pem
    5.95 +fi
    5.96 +
    5.97 +# Finally, generate the bundle and clean up.
    5.98 +cat certs/*.pem >  ${BUNDLE}
    5.99 +rm -r "${TEMPDIR}"
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/cacerts/stuff/make-cert.pl	Wed May 01 01:06:46 2013 +0000
     6.3 @@ -0,0 +1,49 @@
     6.4 +#!/usr/bin/perl -w
     6.5 +
     6.6 +# Used to generate PEM encoded files from Mozilla certdata.txt.
     6.7 +# Run as ./mkcrt.pl > certificate.crt
     6.8 +#
     6.9 +# Parts of this script courtesy of RedHat (mkcabundle.pl)
    6.10 +#
    6.11 +# This script modified for use with single file data (tempfile.cer) extracted
    6.12 +# from certdata.txt, taken from the latest version in the Mozilla NSS source.
    6.13 +# mozilla/security/nss/lib/ckfw/builtins/certdata.txt
    6.14 +#
    6.15 +# Authors: DJ Lucas
    6.16 +#          Bruce Dubbs
    6.17 +#
    6.18 +# Version 20120211
    6.19 +
    6.20 +my $certdata = './tempfile.cer';
    6.21 +
    6.22 +open( IN, "cat $certdata|" )
    6.23 +    || die "could not open $certdata";
    6.24 +
    6.25 +my $incert = 0;
    6.26 +
    6.27 +while ( <IN> )
    6.28 +{
    6.29 +    if ( /^CKA_VALUE MULTILINE_OCTAL/ )
    6.30 +    {
    6.31 +        $incert = 1;
    6.32 +        open( OUT, "|openssl x509 -text -inform DER -fingerprint" )
    6.33 +            || die "could not pipe to openssl x509";
    6.34 +    }
    6.35 +
    6.36 +    elsif ( /^END/ && $incert )
    6.37 +    {
    6.38 +        close( OUT );
    6.39 +        $incert = 0;
    6.40 +        print "\n\n";
    6.41 +    }
    6.42 +
    6.43 +    elsif ($incert)
    6.44 +    {
    6.45 +        my @bs = split( /\\/ );
    6.46 +        foreach my $b (@bs)
    6.47 +        {
    6.48 +            chomp $b;
    6.49 +            printf( OUT "%c", oct($b) ) unless $b eq '';
    6.50 +        }
    6.51 +    }
    6.52 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/cacerts/stuff/remove-expired-certs.sh	Wed May 01 01:06:46 2013 +0000
     7.3 @@ -0,0 +1,53 @@
     7.4 +#!/bin/sh
     7.5 +# Begin /bin/remove-expired-certs.sh
     7.6 +#
     7.7 +# Version 20120211
     7.8 +
     7.9 +# Make sure the date is parsed correctly on all systems
    7.10 +mydate()
    7.11 +{
    7.12 +  local y=$( echo $1 | cut -d" " -f4 )
    7.13 +  local M=$( echo $1 | cut -d" " -f1 )
    7.14 +  local d=$( echo $1 | cut -d" " -f2 )
    7.15 +  local m
    7.16 +
    7.17 +  if [ ${d} -lt 10 ]; then d="0${d}"; fi
    7.18 +
    7.19 +  case $M in
    7.20 +    Jan) m="01";;
    7.21 +    Feb) m="02";;
    7.22 +    Mar) m="03";;
    7.23 +    Apr) m="04";;
    7.24 +    May) m="05";;
    7.25 +    Jun) m="06";;
    7.26 +    Jul) m="07";;
    7.27 +    Aug) m="08";;
    7.28 +    Sep) m="09";;
    7.29 +    Oct) m="10";;
    7.30 +    Nov) m="11";;
    7.31 +    Dec) m="12";;
    7.32 +  esac
    7.33 +
    7.34 +  certdate="${y}${m}${d}"
    7.35 +}
    7.36 +
    7.37 +OPENSSL=/usr/bin/openssl
    7.38 +DIR=$DESTDIR/etc/ssl/certs
    7.39 +
    7.40 +if [ $# -gt 0 ]; then
    7.41 +  DIR="$1"
    7.42 +fi
    7.43 +
    7.44 +certs=$( find ${DIR} -type f -name "*.pem" -o -name "*.crt" )
    7.45 +today=$( date +%Y%m%d )
    7.46 +
    7.47 +for cert in $certs; do
    7.48 +  notafter=$( $OPENSSL x509 -enddate -in "${cert}" -noout )
    7.49 +  date=$( echo ${notafter} |  sed 's/^notAfter=//' )
    7.50 +  mydate "$date"
    7.51 +
    7.52 +  if [ ${certdate} -lt ${today} ]; then
    7.53 +     echo "${cert} expired on ${certdate}! Removing..."
    7.54 +     rm -f "${cert}"
    7.55 +  fi
    7.56 +done
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/compface-dev/receipt	Wed May 01 01:06:46 2013 +0000
     8.3 @@ -0,0 +1,20 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="compface-dev"
     8.7 +VERSION="1.5.2"
     8.8 +CATEGORY="development"
     8.9 +SHORT_DESC="Development files for compface"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="MIT"
    8.12 +WEB_SITE="http://freecode.com/projects/compface"
    8.13 +
    8.14 +DEPENDS="compface"
    8.15 +WANTED="compface"
    8.16 +
    8.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.18 +genpkg_rules()
    8.19 +{
    8.20 +	mkdir -p $fs/usr
    8.21 +	cp -a $install/usr/include $fs/usr
    8.22 +	cp -a $install/usr/lib $fs/usr
    8.23 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/compface/description.txt	Wed May 01 01:06:46 2013 +0000
     9.3 @@ -0,0 +1,2 @@
     9.4 +Compface provides utilities and a library to convert from/to X-Face format, a
     9.5 +48x48 bitmap format used to carry thumbnails of email authors in a mail header.
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/compface/receipt	Wed May 01 01:06:46 2013 +0000
    10.3 @@ -0,0 +1,29 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="compface"
    10.7 +VERSION="1.5.2"
    10.8 +CATEGORY="utilities"
    10.9 +SHORT_DESC="Utils & libs to convert from/to X-Face format"
   10.10 +MAINTAINER="al.bobylev@gmail.com"
   10.11 +LICENSE="MIT"
   10.12 +WEB_SITE="http://freecode.com/projects/compface"
   10.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.14 +WGET_URL="http://ftp.xemacs.org/pub/xemacs/aux/$TARBALL"
   10.15 +
   10.16 +DEPENDS="glibc-base"
   10.17 +
   10.18 +# Rules to configure and make the package.
   10.19 +compile_rules()
   10.20 +{
   10.21 +	patch < $stuff/makefile-use-destdir.patch &&
   10.22 +	./configure $CONFIGURE_ARGS &&
   10.23 +	make &&
   10.24 +	make install
   10.25 +}
   10.26 +
   10.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.28 +genpkg_rules()
   10.29 +{
   10.30 +	mkdir -p $fs/usr
   10.31 +	cp -a $install/usr/bin $fs/usr
   10.32 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/compface/stuff/makefile-use-destdir.patch	Wed May 01 01:06:46 2013 +0000
    11.3 @@ -0,0 +1,31 @@
    11.4 +--- Makefile.in
    11.5 ++++ Makefile.in
    11.6 +@@ -74,19 +74,15 @@
    11.7 + 		$(RM) -rf `cat .fname` .fname
    11.8 + 
    11.9 + install: 	$(NAMEEXE) $(UNNAMEEXE) $(LIBNAME)
   11.10 +-		$(INSTALL_PROGRAM) -d $(BINDIR) $(LIBDIR) $(MAN1DIR) $(MAN3DIR) $(INCLUDEDIR)
   11.11 +-		$(INSTALL_PROGRAM) $(srcdir)/$(NAMEEXE) $(EXECUTABLE) 
   11.12 +-		-chmod 0755 $(EXECUTABLE)
   11.13 +-		-strip $(EXECUTABLE)
   11.14 +-		$(INSTALL_PROGRAM) $(srcdir)/$(UNNAMEEXE) $(UNEXECUTABLE)
   11.15 +-		-chmod 0755 $(UNEXECUTABLE)
   11.16 +-		-strip $(UNEXECUTABLE)
   11.17 +-		$(INSTALL_DATA) $(srcdir)/$(NAME).1 $(MAN1DIR)/$(NAME).1
   11.18 +-		cd $(MAN1DIR) && $(RM) ./$(UNNAME).1 && $(LN_S) $(NAME).1 $(UNNAME).1
   11.19 +-		$(INSTALL_DATA) $(srcdir)/$(NAME).3 $(MAN3DIR)/$(NAME).3
   11.20 +-		cd $(MAN3DIR) && $(RM) ./$(UNNAME).3 && $(LN_S) $(NAME).3 $(UNNAME).3
   11.21 +-		for hdr in $(INSTALLHEADERS); do $(INSTALL_DATA) $(srcdir)/$${hdr} $(INCLUDEDIR)/$${hdr}; done
   11.22 +-		$(INSTALL_DATA) $(srcdir)/$(LIBNAME) $(LIBRARY)
   11.23 ++		$(INSTALL_PROGRAM) -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(MAN1DIR) $(DESTDIR)$(MAN3DIR) $(DESTDIR)$(INCLUDEDIR)
   11.24 ++		$(INSTALL_PROGRAM) -m755 $(srcdir)/$(NAMEEXE) $(DESTDIR)$(EXECUTABLE) 
   11.25 ++		$(INSTALL_PROGRAM) -m755 $(srcdir)/$(UNNAMEEXE) $(DESTDIR)$(UNEXECUTABLE)
   11.26 ++		$(INSTALL_DATA) $(srcdir)/$(NAME).1 $(DESTDIR)$(MAN1DIR)/$(NAME).1
   11.27 ++		cd $(DESTDIR)$(MAN1DIR) && $(RM) ./$(UNNAME).1 && $(LN_S) $(NAME).1 $(UNNAME).1
   11.28 ++		$(INSTALL_DATA) $(srcdir)/$(NAME).3 $(DESTDIR)$(MAN3DIR)/$(NAME).3
   11.29 ++		cd $(DESTDIR)$(MAN3DIR) && $(RM) ./$(UNNAME).3 && $(LN_S) $(NAME).3 $(UNNAME).3
   11.30 ++		for hdr in $(INSTALLHEADERS); do $(INSTALL_DATA) $(srcdir)/$${hdr} $(DESTDIR)$(INCLUDEDIR)/$${hdr}; done
   11.31 ++		$(INSTALL_DATA) $(srcdir)/$(LIBNAME) $(DESTDIR)$(LIBRARY)
   11.32 + 
   11.33 + shar :
   11.34 + 		shar.script $(OTHERS) $(HDRS) $(SOURCES) > $(NAME).sh
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/tidy-dev/receipt	Wed May 01 01:06:46 2013 +0000
    12.3 @@ -0,0 +1,20 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="tidy-dev"
    12.7 +VERSION="cvs_20101110"
    12.8 +CATEGORY="development"
    12.9 +SHORT_DESC="Development files for HTML Tidy"
   12.10 +MAINTAINER="al.bobylev@gmail.com"
   12.11 +LICENSE="MIT"
   12.12 +WEB_SITE="http://tidy.sourceforge.net/"
   12.13 +
   12.14 +DEPENDS="tidy"
   12.15 +WANTED="tidy"
   12.16 +
   12.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 +genpkg_rules()
   12.19 +{
   12.20 +	mkdir -p $fs/usr/lib
   12.21 +	cp -a $install/usr/include $fs/usr
   12.22 +	cp -a $install/usr/lib/*.la $fs/usr/lib
   12.23 +}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/tidy/receipt	Wed May 01 01:06:46 2013 +0000
    13.3 @@ -0,0 +1,34 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="tidy"
    13.7 +VERSION="cvs_20101110"
    13.8 +CATEGORY="development"
    13.9 +SHORT_DESC="HTML Tidy"
   13.10 +MAINTAINER="al.bobylev@gmail.com"
   13.11 +LICENSE="MIT"
   13.12 +WEB_SITE="http://tidy.sourceforge.net/"
   13.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
   13.14 +WGET_URL="http://anduin.linuxfromscratch.org/sources/BLFS/svn/t/$TARBALL"
   13.15 +
   13.16 +DEPENDS="glibc-base"
   13.17 +
   13.18 +# Rules to configure and make the package.
   13.19 +compile_rules()
   13.20 +{
   13.21 +	./configure \
   13.22 +		--disable-debug \
   13.23 +		--disable-static \
   13.24 +		--enable-access \
   13.25 +		--enable-utf16 \
   13.26 +		--enable-asian &&
   13.27 +	make &&
   13.28 +	make install
   13.29 +}
   13.30 +
   13.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.32 +genpkg_rules()
   13.33 +{
   13.34 +	mkdir -p $fs/usr/lib
   13.35 +	cp -a $install/usr/bin $fs/usr
   13.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
   13.37 +}
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/xbm2xface/receipt	Wed May 01 01:06:46 2013 +0000
    14.3 @@ -0,0 +1,19 @@
    14.4 +# SliTaz package receipt.
    14.5 +
    14.6 +PACKAGE="xbm2xface"
    14.7 +VERSION="1.5.2"
    14.8 +CATEGORY="utilities"
    14.9 +SHORT_DESC="Compface utility xbm2xface"
   14.10 +MAINTAINER="al.bobylev@gmail.com"
   14.11 +LICENSE="MIT"
   14.12 +WEB_SITE="http://freecode.com/projects/compface"
   14.13 +
   14.14 +DEPENDS="compface perl"
   14.15 +WANTED="compface"
   14.16 +
   14.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 +genpkg_rules()
   14.19 +{
   14.20 +	mkdir -p $fs/usr/bin
   14.21 +	install -Dm755 $src/xbm2xface.pl $fs/usr/bin
   14.22 +}