wok-current view aterm/receipt @ rev 24604
updated glm (0.9.9.7 -> 0.9.9.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 16:22:49 2022 +0100 (2022-03-02) |
parents | 11b5e93cb5f2 |
children | b0069c845544 |
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="http://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 }