wok-current annotate links-dfb/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
pankso@16151 | 1 # SliTaz package receipt. |
pankso@16151 | 2 |
pankso@16151 | 3 PACKAGE="links-dfb" |
Hans-G?nter@24857 | 4 VERSION="2.25" |
pankso@16151 | 5 CATEGORY="network" |
pankso@16151 | 6 SHORT_DESC="Light and fast web browser using Ncurses, X or DirectFB." |
pankso@16151 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16151 | 8 LICENSE="GPL2" |
Hans-G?nter@21362 | 9 WEB_SITE="http://links.twibright.com/" |
Hans-G?nter@21362 | 10 |
pankso@16151 | 11 SOURCE="links" |
pankso@16151 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@16151 | 13 WGET_URL="http://links.twibright.com/download/$TARBALL" |
Hans-G?nter@21362 | 14 |
pankso@16151 | 15 PROVIDE="links" |
Hans-G?nter@23135 | 16 DEPENDS="directfb jpeg libgomp libpng ncurses openssl tiff zlib" |
Hans-G?nter@23135 | 17 BUILD_DEPENDS="directfb-dev jpeg-dev libpng-dev ncurses-dev openssl-dev |
Hans-G?nter@23135 | 18 tiff-dev zlib-dev " |
Hans-G?nter@21362 | 19 |
Hans-G?nter@21362 | 20 HOST_ARCH="i486 arm" |
pankso@16151 | 21 |
pascal@24447 | 22 # What is the latest version available today? |
pascal@24447 | 23 current_version() |
pascal@24447 | 24 { |
pascal@24447 | 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 26 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 27 } |
pascal@24447 | 28 |
pankso@16151 | 29 # Rules to configure and make the package. |
pankso@16151 | 30 compile_rules() |
pankso@16151 | 31 { |
pascal@16165 | 32 sed -i 's/\*last_val/last_val/' dip.c |
Hans-G?nter@21362 | 33 |
Hans-G?nter@21362 | 34 ./configure \ |
Hans-G?nter@21362 | 35 --prefix=/usr \ |
Hans-G?nter@21362 | 36 --sysconfdir=/etc \ |
Hans-G?nter@21362 | 37 --mandir=/usr/share/man \ |
Hans-G?nter@21362 | 38 --with-directfb \ |
Hans-G?nter@21362 | 39 --without-bzip2 \ |
Hans-G?nter@21362 | 40 --enable-graphics \ |
pankso@16151 | 41 $CONFIGURE_ARGS && |
Hans-G?nter@24857 | 42 make && |
Hans-G?nter@24857 | 43 make install DESTDIR=$DESTDIR |
pankso@16151 | 44 } |
pankso@16151 | 45 |
pankso@16151 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16151 | 47 genpkg_rules() |
pankso@16151 | 48 { |
pankso@16151 | 49 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21362 | 50 |
Hans-G?nter@21362 | 51 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21362 | 52 cp $src/graphics/links.xpm $fs/usr/share/pixmaps |
pankso@16151 | 53 } |