wok view liblouis/receipt @ rev 19065

Take care on root in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 21 09:45:48 2016 +0200 (2016-04-21)
parents
children eeba7ab1dffe
line source
1 # SliTaz package receipt.
3 PACKAGE="liblouis"
4 VERSION="2.5.2-3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Open-source braille translator and back-translator."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-${VERSION:0:5}.tar.gz"
10 WEB_SITE="https://code.google.com/p/liblouis/"
11 WGET_URL="http://liblouis.googlecode.com/files/$TARBALL"
13 DEPENDS="glibc"
14 BUILD_DEPENDS="python-dev"
15 SUGGESTED="help2man"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }