wok-6.x annotate erlang/receipt @ rev 21745
updated qrencode and qrencode-dev (3.1.1 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 14 16:00:17 2019 +0100 (2019-06-14) |
parents | 65d1668b0834 |
children | 3e7ded8526ee |
rev | line source |
---|---|
pascal@2134 | 1 # SliTaz package receipt. |
pascal@2134 | 2 |
pascal@2134 | 3 PACKAGE="erlang" |
Hans-G?nter@20875 | 4 VERSION="21.2.5" |
pascal@2134 | 5 CATEGORY="development" |
pascal@2134 | 6 SHORT_DESC="Erlang programming language." |
pascal@2134 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@20875 | 8 LICENSE="Erlang Public Licence" |
pascal@2134 | 9 WEB_SITE="http://$PACKAGE.org/" |
Hans-G?nter@20875 | 10 |
Hans-G?nter@20875 | 11 SOURCE="OTP" |
Hans-G?nter@20875 | 12 TARBALL="${SOURCE}-$VERSION.tar.gz" |
Hans-G?nter@20875 | 13 WGET_URL="https://github.com/$PACKAGE/otp/archive/$TARBALL" |
pankso@10656 | 14 |
pankso@10656 | 15 DEPENDS="ncurses openssl libunixODBC" |
pascal@21198 | 16 BUILD_DEPENDS="autoconf perl ncurses-dev openssl-dev unixODBC-dev icedtea6-jdk \ |
pascal@21198 | 17 wxWidgets-dev gcc+gcj" |
pascal@2134 | 18 |
pascal@2134 | 19 # Rules to configure and make the package. |
pascal@2134 | 20 compile_rules() |
pascal@2134 | 21 { |
pascal@17673 | 22 export LDFLAGS="$LDFLAGS -ltinfo" |
pankso@10656 | 23 export LANG=C |
pankso@10656 | 24 |
Hans-G?nter@20875 | 25 # sed -i 's|./Install|sh -x Install|' Makefile* |
pankso@10656 | 26 |
Hans-G?nter@20875 | 27 ./otp_build autoconf && |
pankso@10656 | 28 ./configure \ |
pankso@10656 | 29 --prefix=/usr \ |
pankso@10656 | 30 --sysconfdir=/etc \ |
pankso@10656 | 31 --mandir=/usr/share/man \ |
pankso@10656 | 32 --infodir=/usr/share/info \ |
pankso@10656 | 33 $CONFIGURE_ARGS && |
pascal@6410 | 34 make -j 1 && |
slaxemulator@8453 | 35 make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1 |
pankso@10656 | 36 |
slaxemulator@9533 | 37 for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \ |
slaxemulator@9533 | 38 $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start |
pascal@2137 | 39 do |
pascal@2136 | 40 sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i |
pascal@2136 | 41 done |
slaxemulator@9533 | 42 for file in $(ls $DESTDIR/usr/bin); do |
slaxemulator@9533 | 43 ln -sf /usr/lib/erlang/bin/$file $DESTDIR/usr/bin/$file || return 1 |
pascal@2136 | 44 done |
pascal@2134 | 45 } |
pascal@2134 | 46 |
pascal@2134 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2134 | 48 genpkg_rules() |
pascal@2134 | 49 { |
pascal@15588 | 50 cp -a $install/usr $fs |
pascal@2134 | 51 } |