wok-current view linuxconsoletools/receipt @ rev 24374

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 17:11:25 2022 +0000 (2022-02-05)
parents 57751fccb26f
children 65d7d867e0c1
line source
1 # SliTaz package receipt.
3 PACKAGE="linuxconsoletools"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Configure joysticks, or connect legacy input devices."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/linuxconsole/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL"
14 DEPENDS="gcc83-lib-base libsdl2"
15 BUILD_DEPENDS="gcc83 libsdl2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export PREFIX=/usr
22 make \
23 CC=gcc-83 \
24 CXX=g++-83 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/joystick $fs/usr/share
35 }