wok-current annotate yaws/receipt @ rev 23937
qemu: add X86_64 efi bios
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 11:24:50 2020 +0000 (2020-09-12) |
parents | dc3e7722b84e |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
allan316@3844 | 1 # SliTaz package receipt. |
allan316@3844 | 2 |
allan316@3844 | 3 PACKAGE="yaws" |
Hans-G?nter@23788 | 4 VERSION="2.0.7" |
allan316@3844 | 5 CATEGORY="development" |
Hans-G?nter@22321 | 6 TAGS="webserver" |
Hans-G?nter@22321 | 7 SHORT_DESC="Webserver for dynamic content written in Erlang." |
allan316@3844 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15362 | 9 LICENSE="BSD" |
Hans-G?nter@22321 | 10 WEB_SITE="http://yaws.hyber.org" |
Hans-G?nter@22321 | 11 |
allan316@3844 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23788 | 13 WGET_URL="https://github.com/erlyaws/$PACKAGE/archive/$TARBALL" |
allan316@3844 | 14 |
pascal@15598 | 15 DEPENDS="erlang pam pkg-config" |
Hans-G?nter@23788 | 16 BUILD_DEPENDS="autoconf automake erlang gawk libtool pam-dev" |
pascal@15259 | 17 |
allan316@3844 | 18 # Rules to configure and make the package. |
allan316@3844 | 19 compile_rules() |
allan316@3844 | 20 { |
Hans-G?nter@23790 | 21 autoreconf -fi && |
Hans-G?nter@22321 | 22 ./configure \ |
Hans-G?nter@22321 | 23 --prefix=/usr \ |
Hans-G?nter@22321 | 24 --localstatedir=/var \ |
Hans-G?nter@22321 | 25 --sysconfdir=/etc \ |
Hans-G?nter@22321 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@22321 | 27 --mandir=/usr/share/man \ |
allan316@3844 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@22321 | 29 make && |
Hans-G?nter@22321 | 30 make DESTDIR=$DESTDIR install 2>&1 | grep -v yaws.pdf |
allan316@3844 | 31 } |
allan316@3844 | 32 |
allan316@3844 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3844 | 34 genpkg_rules() |
allan316@3844 | 35 { |
allan316@3844 | 36 mkdir -p $fs/usr |
Hans-G?nter@22321 | 37 |
Hans-G?nter@22321 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22321 | 39 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22321 | 40 cp -a $install/etc $fs |
Hans-G?nter@22321 | 41 cp -a $install/var $fs |
allan316@3844 | 42 } |