wok-current diff liblouis/receipt @ rev 17437

slitaz-boot-scripts: install required slitaz-arm-configs in ARM case
author Richard Dunbar <mojo@slitaz.org>
date Sun Dec 07 19:35:57 2014 -0500 (2014-12-07)
parents
children eeba7ab1dffe
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblouis/receipt	Sun Dec 07 19:35:57 2014 -0500
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="liblouis"
     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 +TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz"
    1.13 +WEB_SITE="https://code.google.com/p/liblouis/"
    1.14 +WGET_URL="http://liblouis.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +DEPENDS="glibc"
    1.17 +BUILD_DEPENDS="python-dev"
    1.18 +SUGGESTED="help2man"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure                    \
    1.24 +		--prefix=/usr          \
    1.25 +		--disable-static       \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/share $fs/usr
    1.37 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +}