wok-next view giblib/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }