wok diff liblouis/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents
children eeba7ab1dffe
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblouis/receipt	Thu Oct 05 23:51:00 2017 +0300
     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 +}