wok-next annotate lzo/receipt @ rev 20116

gimp: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 17:57:51 2017 +0100 (2017-10-30)
parents 35a20e111081
children 0e7893ac206d
rev   line source
al@19755 1 # SliTaz package receipt v2.
erjo@252 2
erjo@252 3 PACKAGE="lzo"
al@19755 4 VERSION="2.10"
erjo@252 5 CATEGORY="system-tools"
erjo@252 6 SHORT_DESC="Data compression library"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
al@19607 9 WEB_SITE="http://www.oberhumer.com/opensource/lzo/"
al@19607 10 HOST_ARCH="i486 arm"
al@19607 11
erjo@252 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19607 13 WGET_URL="${WEB_SITE}download/$TARBALL"
erjo@252 14
al@19755 15 SPLIT="lzo-dev"
al@19755 16
erjo@252 17 # Rules to configure and make the package.
erjo@252 18 compile_rules()
erjo@252 19 {
slaxemulator@10154 20 ./configure \
pankso@16381 21 --enable-shared \
al@19607 22 --disable-static \
al@19607 23 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
pankso@16381 24 $CONFIGURE_ARGS &&
al@19607 25 make && make install
erjo@252 26 }
erjo@252 27
erjo@252 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@252 29 genpkg_rules()
erjo@252 30 {
al@19755 31 case $PACKAGE in
al@19755 32 lzo) copy @std;;
al@19755 33 *-dev) copy @dev;;
al@19755 34 esac
erjo@252 35 }