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

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