wok-next view giblib/receipt @ rev 20803

I. nagios update: 3.5.0 (March 15, 2013) -> 3.5.1 (2013-08-30) II. typo
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 13 06:48:53 2018 +0000 (2018-06-13)
parents 4396aed7eb01
children f99935f1778a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="giblib"
4 VERSION="1.2.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Giblib graphic library"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="MIT"
9 WEB_SITE="http://linuxbrit.co.uk/feh/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
14 BUILD_DEPENDS="gfortran imlib2-dev imlib2 xorg-xproto freetype-dev \
15 xorg-libXext-dev"
16 SPLIT="giblib-dev"
18 compile_rules() {
19 case "$ARCH" in
20 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 sed -i 's|/doc|/share&|' Makefile*
24 ./configure $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 giblib)
33 copy @std
34 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
35 xorg-libXext"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }