wok-tiny view fbvnc-auth/receipt @ rev 187

Add bootlife (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 04 18:58:39 2024 +0000 (4 months ago)
parents a28c45a86936
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fbvnc-auth"
4 VERSION="1.0.2"
5 CATEGORY="network"
6 GROUP="network"
7 SHORT_DESC="VNC client in frame buffer with authentication."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://github.com/zohead/fbvnc"
12 WGET_URL="git|git://github.com/zohead/fbvnc.git"
13 [ -n "$TARGET" ] || TARGET="i486"
14 DEPENDS="busybox-net"
15 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET bzip2 git"
16 DEPENDS="fbvnc-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i "s/^CC.*/CC = uclibc-$TARGET-gcc/;s/^LDFLAGS.*/& -s/" Makefile
22 make
23 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp $src/fbvnc $fs/usr/bin
31 }
33 post_install()
34 {
35 sed -i 's|:fbvnc|:/usr/bin/fbvnc|' $1/etc/init.d/local.sh
36 }