wok-6.x annotate o3read/receipt @ rev 20212

Force host arch to i486
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 12:51:10 2018 +0100 (2018-02-24)
parents 42380dbaadb7
children 241fb98cab1c
rev   line source
milka@1134 1 # SliTaz package receipt.
milka@1134 2
milka@1134 3 PACKAGE="o3read"
milka@1134 4 VERSION="0.0.4"
milka@1134 5 CATEGORY="utilities"
milka@1134 6 SHORT_DESC="Standalone converter for OpenOffice.org writer and calc formats"
milka@1134 7 MAINTAINER="milka@konstelacioj.info"
pascal@15590 8 LICENSE="GPL2"
milka@1134 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
milka@1134 10 WEB_SITE="http://siag.nu/o3read/"
milka@1134 11 WGET_URL="http://siag.nu/pub/o3read/$PACKAGE-$VERSION.tar.gz"
jozee@4970 12 TAGS="office"
milka@1134 13
pascal@15590 14 DEPENDS=""
pascal@15590 15
milka@1134 16 # Rules to configure and make the package.
milka@1134 17 compile_rules()
milka@1134 18 {
pascal@20212 19 sed -i 's|uname -m|echo i486|' Makefile
pascal@19293 20 sed -i 's|/man/|/share&|' Makefile
pascal@15590 21 make install PREFIX=$DESTDIR/usr
milka@1134 22 }
milka@1134 23
milka@1134 24 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1134 25 genpkg_rules()
milka@1134 26 {
milka@1134 27 mkdir -p $fs/usr
pascal@15590 28 cp -a $install/usr/bin $fs/usr
milka@1134 29 }
milka@1134 30