wok annotate links/receipt @ rev 25451
Add bluez-gatttool
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Sep 15 07:47:22 2022 +0000 (2022-09-15) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="links" |
Hans-G?nter@24857 | 4 VERSION="2.25" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@21362 | 6 TAGS="web-browser" |
samuel_trassare@12047 | 7 SHORT_DESC="Light and fast web browser using Ncurses or Xlib." |
pankso@26 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@21362 | 10 WEB_SITE="http://links.twibright.com/" |
Hans-G?nter@21362 | 11 |
pascal@15002 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15002 | 13 WGET_URL="http://links.twibright.com/download/$TARBALL" |
pascal@15002 | 14 |
pankso@16097 | 15 SUGGESTED="gpm" |
Hans-G?nter@24857 | 16 DEPENDS="bzlib jpeg libcrypto libgomp liblzma libpng libssl libxcb ncurses |
Hans-G?nter@23135 | 17 tiff xorg-libX11 xorg-libXau xorg-libXdmcp zlib" |
Hans-G?nter@24857 | 18 BUILD_DEPENDS="bzip2-dev gpm-dev jpeg-dev libpng-dev libxcb-dev openssl-dev |
Hans-G?nter@24857 | 19 tiff-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xz-dev |
Hans-G?nter@23135 | 20 zlib-dev" |
Hans-G?nter@21362 | 21 |
Hans-G?nter@21362 | 22 HOST_ARCH="i486 arm" |
pankso@16097 | 23 |
pankso@16097 | 24 # Handle cross compilation |
pankso@16097 | 25 case "$ARCH" in |
pankso@16097 | 26 arm*) |
pankso@16097 | 27 VERSION="2.7" |
pankso@16097 | 28 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16097 | 29 WGET_URL="http://links.twibright.com/download/$TARBALL" ;; |
pankso@16097 | 30 esac |
pankso@16097 | 31 |
pankso@16097 | 32 # Handle SliTaz arch |
pankso@16097 | 33 case "$SLITAZ_ARCH" in |
pankso@16097 | 34 arm*) VERSION="2.7" ;; |
pankso@16097 | 35 esac |
pankso@26 | 36 |
pascal@24447 | 37 # What is the latest version available today? |
pascal@24447 | 38 current_version() |
pascal@24447 | 39 { |
pascal@24447 | 40 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 41 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 42 } |
pascal@24447 | 43 |
pankso@26 | 44 # Rules to configure and make the package. |
pankso@26 | 45 compile_rules() |
pankso@26 | 46 { |
Hans-G?nter@21362 | 47 ./configure \ |
Hans-G?nter@21362 | 48 --prefix=/usr \ |
Hans-G?nter@21362 | 49 --sysconfdir=/etc \ |
Hans-G?nter@21362 | 50 --enable-graphics \ |
Hans-G?nter@21362 | 51 --without-directfb \ |
pascal@2475 | 52 $CONFIGURE_ARGS && |
Hans-G?nter@24857 | 53 make && |
Hans-G?nter@24857 | 54 make install DESTDIR=$DESTDIR |
pankso@26 | 55 } |
pankso@26 | 56 |
pankso@26 | 57 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 58 genpkg_rules() |
pankso@26 | 59 { |
Hans-G?nter@21362 | 60 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21362 | 61 mkdir -p $fs/usr/share/webhome |
Hans-G?nter@21362 | 62 |
Hans-G?nter@21362 | 63 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21362 | 64 cp $src/graphics/links.xpm $fs/usr/share/pixmaps |
Hans-G?nter@21362 | 65 cp $stuff/links.html $fs/usr/share/webhome |
pankso@26 | 66 } |