wok-next view giblib/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents d5aab818505e
children
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="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://freshmeat.sourceforge.net/projects/giblib"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
14 BUILD_DEPENDS="gfortran imlib2-dev imlib2 xorgproto freetype-dev \
15 libxext-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i 's|/doc|/share&|' Makefile*
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 giblib)
30 copy @std
31 DEPENDS="imlib2 freetype libx11 libxau libxdmcp \
32 libxext"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }