wok rev 16967

Add liblouis and liblouis-dev.
author Yuri Pourre <yuripourre@gmail.com>
date Thu Jul 31 18:56:58 2014 -0300 (2014-07-31)
parents c2376ae3c9ad
children 3e4d8dd8e394
files liblouis-dev/receipt liblouis/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblouis-dev/receipt	Thu Jul 31 18:56:58 2014 -0300
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="liblouis-dev"
     1.7 +VERSION="2.5.2-3"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="Open-source braille translator and back-translator."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +WEB_SITE="https://code.google.com/p/liblouis/"
    1.13 +WANTED="liblouis"
    1.14 +DEPENDS="liblouis"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.20 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $install/usr/include/* $fs/usr/include
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/liblouis/receipt	Thu Jul 31 18:56:58 2014 -0300
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="liblouis"
     2.7 +VERSION="2.5.2-3"
     2.8 +CATEGORY="utilities"
     2.9 +LICENSE="GPL3"
    2.10 +SHORT_DESC="Open-source braille translator and back-translator."
    2.11 +MAINTAINER="yuripourre@gmail.com"
    2.12 +TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz"
    2.13 +WEB_SITE="https://code.google.com/p/liblouis/"
    2.14 +WGET_URL="http://liblouis.googlecode.com/files/$TARBALL"
    2.15 +
    2.16 +DEPENDS="glibc"
    2.17 +BUILD_DEPENDS="python-dev"
    2.18 +SUGGESTED="help2man"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure                    \
    2.24 +		--prefix=/usr          \
    2.25 +		--disable-static       \
    2.26 +		$CONFIGURE_ARGS &&
    2.27 +	make &&
    2.28 +	make DESTDIR=$DESTDIR install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +	cp -a $install/usr/bin $fs/usr
    2.36 +	cp -a $install/usr/share $fs/usr
    2.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.38 +}