wok-current rev 1863

Add: amsn, tls.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Dec 16 01:38:26 2008 +0100 (2008-12-16)
parents e1a93cb40c5b
children 5adbdc6db7d1
files amsn/receipt tls/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/amsn/receipt	Tue Dec 16 01:38:26 2008 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="amsn"
     1.7 +VERSION="0.97.2"
     1.8 +CATEGORY="networking"
     1.9 +SHORT_DESC="Alvaro's Messenger"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="tk8.5 tk8.5 tls"
    1.12 +BUILD_DEPENDS="tcl8.5-dev tk8.5-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://amsn-project.net/"
    1.15 +WGET_URL="http://mirror.pimentvert.com/sources/amsn/$TARBALL"
    1.16 +
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure --prefix=/usr \
    1.23 +	 --with-tcl=/usr/lib $CONFIGURE_ARGS && \
    1.24 +	make -j4 && \
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $_pkg/usr/bin $fs/usr
    1.33 +	cp -a $_pkg/usr/share $fs/usr
    1.34 +}
    1.35 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tls/receipt	Tue Dec 16 01:38:26 2008 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="tls"
     2.7 +VERSION="1.5.0"
     2.8 +CATEGORY="nnetworking"
     2.9 +SHORT_DESC="OpenSSL Tcl extension."
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +DEPENDS=""
    2.12 +BUILD_DEPENS="openssl-dev"
    2.13 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    2.14 +WEB_SITE="http://tls.sourceforge.net/"
    2.15 +WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	test -d ${PACKAGE}-${VERSION} || \
    2.21 +	  mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION}
    2.22 +	
    2.23 +	cd $src
    2.24 +	./configure --prefix=/usr \
    2.25 +	  --with-ssl-dir=/usr \
    2.26 +	  --disable-symboles && \														
    2.27 +	make  
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/lib/tls1.50
    2.34 +	cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50
    2.35 +	cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50
    2.36 +	cp -a $src/tls.tcl $fs/usr/lib/tls1.50
    2.37 +	
    2.38 +	sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl
    2.39 +}