wok-6.x annotate aterm/receipt @ rev 19089
cross/arm: fix build for aterm flex lame ppp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 30 20:15:47 2016 +0200 (2016-04-30) |
parents | 5d53e8ccbc8d |
children | 7f39549720b8 |
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" |
allan316@1350 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@1350 | 10 WEB_SITE="http://aterm.sourceforge.net" |
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 |
allan316@1350 | 18 # Rules to configure and make the package. |
allan316@1350 | 19 compile_rules() |
allan316@1350 | 20 { |
pascal@19089 | 21 case "$ARCH" in |
pascal@19089 | 22 arm*) |
pascal@19089 | 23 export PATH=/cross/arm/tools/arm-slitaz-linux-gnueabi/bin:$PATH |
pascal@19089 | 24 esac |
pankso@16081 | 25 ./configure $CONFIGURE_ARGS && |
pankso@16081 | 26 make && make install |
allan316@1350 | 27 } |
allan316@1350 | 28 |
allan316@1350 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@1350 | 30 genpkg_rules() |
allan316@1350 | 31 { |
allan316@1350 | 32 mkdir -p $fs/usr |
pascal@15379 | 33 cp -a $install/usr/bin $fs/usr |
allan316@1350 | 34 } |