wok view aterm/receipt @ rev 25469

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 07 09:15:33 2022 +0000 (19 months ago)
parents 3105f866bc3e
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="aterm"
4 VERSION="1.0.1"
5 CATEGORY="misc"
6 SHORT_DESC="terminal emulator"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://aterm.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/aterm/$TARBALL"
12 TAGS="terminal"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-libSM xorg-libXext"
16 BUILD_DEPENDS="xorg-libSM-dev xorg-libXext-dev xorg-libXt-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/aterm/files/aterm/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/aterm/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 case "$ARCH" in
30 arm*)
31 export PATH=/cross/arm/tools/arm-slitaz-linux-gnueabi/bin:$PATH
32 esac
33 ./configure $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }