wok-6.x annotate slang/receipt @ rev 20874
updated ejabberd again (2.1.6 -> 18.12.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 23 15:04:17 2019 +0100 (2019-02-23) |
parents | 7896f0694ef6 |
children | 5c74e7d74dfc |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
slaxemulator@10198 | 4 VERSION="2.2.4" |
erjo@506 | 5 CATEGORY="development" |
erjo@506 | 6 SHORT_DESC="S-Lang library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@506 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@506 | 10 WEB_SITE="http://www.s-lang.org/index.html" |
pascal@17869 | 11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${VERSION%.*}/$TARBALL |
pascal@17869 | 12 ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL" |
erjo@506 | 13 |
erjo@9950 | 14 DEPENDS="pcre libpng zlib" |
erjo@9950 | 15 |
erjo@506 | 16 # Rules to configure and make the package. |
erjo@506 | 17 compile_rules() |
erjo@506 | 18 { |
erjo@506 | 19 cd $src |
slaxemulator@11035 | 20 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@8541 | 21 make -j1 && \ |
slaxemulator@8541 | 22 make -j1 elf && \ |
slaxemulator@8541 | 23 make -j1 static && |
erjo@9950 | 24 make -j1 DESTDIR=$DESTDIR install install-static |
erjo@506 | 25 } |
erjo@506 | 26 |
erjo@506 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 28 genpkg_rules() |
erjo@506 | 29 { |
erjo@9950 | 30 mkdir -p $fs/usr/lib |
pascal@15002 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15002 | 33 cp -a $install/usr/lib/slang $fs/usr/lib |
erjo@506 | 34 } |
erjo@506 | 35 |