wok-next annotate libsdl-ttf/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents df20b2110f7e
children
rev   line source
al@19965 1 # SliTaz package receipt v2.
pankso@1188 2
pankso@1188 3 PACKAGE="libsdl-ttf"
al@19965 4 VERSION="2.0.11" # version 1.2.2 the last from 1.2 series, but it need freetype1
pankso@1188 5 CATEGORY="x-window"
al@19965 6 SHORT_DESC="SDL ttf support"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
al@19965 9 WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
al@20883 10 REPOLOGY="sdl-ttf"
pankso@1188 11
al@19965 12 TARBALL="SDL_ttf-$VERSION.tar.gz"
al@19965 13 WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
al@19965 14
pascal@14718 15 BUILD_DEPENDS="libsdl-dev freetype-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@14718 17
al@19965 18 compile_rules() {
al@20595 19 ./configure $CONFIGURE_ARGS &&
al@20595 20 fix libtool &&
al@20595 21 make &&
al@20595 22 make install
pankso@1188 23 }
pankso@1188 24
al@19965 25 genpkg_rules() {
al@19965 26 case $PACKAGE in
al@19965 27 libsdl-ttf)
al@19965 28 copy @std
al@20749 29 DEPENDS="freetype libsdl"
al@19965 30 ;;
al@19965 31 *-dev)
al@19965 32 copy @dev
al@20749 33 DEPENDS="libsdl-ttf libsdl-dev"
al@19965 34 ;;
al@19965 35 esac
pankso@1188 36 }