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

hardware-ibm-6272: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 30 10:57:54 2017 +0200 (2017-09-30)
parents
children a28c45a86936
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 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET bzip2 git"
14 DEPENDS="fbvnc-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i "s/^CC.*/CC = uclibc-$TARGET-gcc/;s/^LDFLAGS.*/& -s/" Makefile
20 make
21 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp $src/fbvnc $fs/usr/bin
29 }
31 post_install()
32 {
33 sed -i 's|:fbvnc|:/usr/bin/fbvnc|' $1/etc/init.d/local.sh
34 }