# SliTaz package receipt. PACKAGE="links-dfb" VERSION="2.25" CATEGORY="network" SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://links.twibright.com/" SOURCE="links" TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="http://links.twibright.com/download/$TARBALL" PROVIDE="links" DEPENDS="directfb jpeg libgomp libpng ncurses openssl tiff zlib" BUILD_DEPENDS="directfb-dev jpeg-dev libpng-dev ncurses-dev openssl-dev tiff-dev zlib-dev " HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's/\*last_val/last_val/' dip.c ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --with-directfb \ --without-bzip2 \ --enable-graphics \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps cp -a $install/usr/bin $fs/usr cp $src/graphics/links.xpm $fs/usr/share/pixmaps }