wok-next diff clisp/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | d6378d455338 |
children | d5aab818505e |
line diff
1.1 --- a/clisp/receipt Thu May 10 21:12:00 2018 +0300 1.2 +++ b/clisp/receipt Sun May 27 12:56:13 2018 +0300 1.3 @@ -1,41 +1,35 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="clisp" 1.8 -VERSION="2.49" 1.9 +VERSION="2.50" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="GNU ANSI common lisp implementation." 1.12 +SHORT_DESC="GNU ANSI Common Lisp implementation" 1.13 MAINTAINER="paul@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://clisp.sourceforge.net/" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 +WEB_SITE="https://clisp.sourceforge.io/" 1.19 1.20 -DEPENDS="readline ncurses" 1.21 -BUILD_DEPENDS="readline-dev libsigsegv libffcall" 1.22 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.23 +WGET_URL="https://gitlab.com/gnu-clisp/clisp/-/archive/clisp-$VERSION/clisp-clisp-$VERSION.tar.bz2" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - # CFLAGS/CXXFLAGS/MAKEFLAGS screw the build process. 1.29 - unset CFLAGS CXXFLAGS MAKEFLAGS 1.30 - export CFLAGS="-falign-functions=4" 1.31 +BUILD_DEPENDS="libunistring-dev gettext libffcall readline-dev libsigsegv-dev" 1.32 1.33 +compile_rules() { 1.34 + FORCE_UNSAFE_CONFIGURE=1 \ 1.35 ./configure \ 1.36 - --with-libsigsegv \ 1.37 - --cbc build && 1.38 - 1.39 - # Be careful - unusual build rules! 1.40 - cd build && 1.41 - make DESTDIR=$DESTDIR install 1.42 + --with-ffcall \ 1.43 + --with-readline \ 1.44 + build && 1.45 + cd build && 1.46 + ./makemake \ 1.47 + --with-ffcall \ 1.48 + --with-readline \ 1.49 + --with-dynamic-ffi \ 1.50 + > Makefile && 1.51 + make && 1.52 + make DESTDIR=$install install 1.53 } 1.54 1.55 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 -genpkg_rules() 1.57 -{ 1.58 - mkdir -p $fs/usr/share 1.59 - cp -a $install/usr/bin $fs/usr 1.60 - cp -a $install/usr/lib $fs/usr 1.61 - cp -a $install/usr/share $fs/usr 1.62 - # remove stuff 1.63 - rm -rf $fs/usr/share/man 1.64 +genpkg_rules() { 1.65 + copy @std @dev 1.66 + DEPENDS="libsigsegv libunistring ncurses readline" 1.67 }