wok-6.x annotate clex/receipt @ rev 23626

created recipe for ruby-native-package-installer
author Hans-G?nter Theisgen
date Thu Apr 16 07:59:09 2020 +0100 (2020-04-16)
parents b8182717ebb1
children bb4b904c1a95
rev   line source
pankso@7 1 # SliTaz package receipt.
pankso@7 2
pankso@7 3 PACKAGE="clex"
Hans-G?nter@20792 4 VERSION="4.6.patch9"
pankso@202 5 CATEGORY="system-tools"
Hans-G?nter@20792 6 TAGS="file-manager"
pankso@7 7 SHORT_DESC="Text mode file manager."
pankso@7 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@20792 10 WEB_SITE="http://www.clex.sk/"
Hans-G?nter@20792 11
pankso@7 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@7 13 WGET_URL="http://www.clex.sk/download/$TARBALL"
pankso@7 14
pankso@15797 15 DEPENDS="ncursesw"
pankso@15797 16 BUILD_DEPENDS="ncursesw-dev"
Hans-G?nter@20792 17 HOST_ARCH="i486 arm"
pankso@9780 18
pankso@7 19 # Rules to configure and make the package.
pankso@7 20 compile_rules()
pankso@7 21 {
pankso@12922 22 case "$ARCH" in
pankso@12922 23 arm)
pankso@12922 24 sed -i s'|#include <limits.h>|#define SSIZE_MAX 0x7fffffff|' \
pankso@12922 25 src/util.c ;;
pankso@12922 26 esac
Hans-G?nter@20792 27
pankso@12922 28 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@20792 29 make &&
Hans-G?nter@20792 30 make install
pankso@7 31 }
pankso@7 32
pankso@7 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@7 34 genpkg_rules()
pankso@7 35 {
pankso@890 36 mkdir -p $fs/etc $fs/usr/bin
pankso@12922 37 cp -a $install/usr/bin/* $fs/usr/bin
pankso@9697 38 cp -a $stuff/skel $fs/etc
pankso@7 39 }