wok annotate aterm/receipt @ rev 25430

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