wok-6.x annotate nqc/receipt @ rev 24049

Up openvpn (2.5.2), openssh (8.6p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 10 20:32:02 2021 +0000 (2021-05-10)
parents 4b64f58fe9fa
children 370da83187ab
rev   line source
rcx@3924 1 # SliTaz package receipt.
rcx@3924 2
rcx@3924 3 PACKAGE="nqc"
pascal@23065 4 VERSION="3.1.r6"
pascal@23065 5 PATCHLEVEL="4"
rcx@3924 6 CATEGORY="development"
rcx@3991 7 SHORT_DESC="Compiler for the Not Quite C programming language."
rcx@3924 8 MAINTAINER="rcx@zoominternet.net"
pascal@15584 9 LICENSE="MPL"
pascal@23065 10 TARBALL="$PACKAGE-$VERSION-$PATCHLEVEL.bz2"
rcx@3924 11 WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
rcx@3924 12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
rcx@3924 13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
jozee@4969 14 TAGS="compiler language"
rcx@3924 15
pascal@15584 16 DEPENDS="glibc-base gcc-lib-base"
pascal@15584 17 BUILD_DEPENDS="flex"
pascal@15584 18
rcx@3924 19 # Rules to configure and make the package.
rcx@3924 20 compile_rules()
rcx@3924 21 {
pascal@23065 22 ln -s $PACKAGE-$VERSION ../$PACKAGE-$VERSION-$PATCHLEVEL
pascal@12796 23 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
gokhlayeh@8863 24 make -j1 TOOLPREFIX="$TOOLPREFIX" \
rcx@3924 25 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
rcx@3924 26 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
rcx@3924 27 DEFAULT_PORT_NAME='"usb"' &&
pascal@19292 28 make PREFIX=/usr MANDIR=/usr/share/man/man1 install
rcx@3924 29 }
rcx@3924 30
rcx@3924 31 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3924 32 genpkg_rules()
rcx@3924 33 {
rcx@3924 34 mkdir -p $fs/usr
pascal@15584 35 cp -a $install/usr/bin $fs/usr
rcx@3924 36 }