wok-next view giblib/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
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 }