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