# SliTaz package receipt. PACKAGE="libsdl-ttf" SOURCE="SDL_ttf" VERSION="2.0.10" CATEGORY="x-window" SHORT_DESC="SDL ttf support." MAINTAINER="pankso@slitaz.org" DEPENDS="libsdl freetype zlib" BUILD_DEPENDS="libsdl-dev freetype-dev" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/" WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }