wok-6.x annotate libtasn1/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (18 months ago) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pankso@4358 | 1 # SliTaz package receipt. |
pankso@4358 | 2 |
pankso@4358 | 3 PACKAGE="libtasn1" |
Hans-G?nter@24836 | 4 VERSION="4.18.0" |
pankso@4358 | 5 CATEGORY="security" |
pankso@4358 | 6 SHORT_DESC="ASN.1 library." |
pankso@4358 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL3 LGPL2.1" |
Hans-G?nter@21317 | 9 WEB_SITE="https://www.gnu.org/software/libtasn1/" |
Hans-G?nter@21317 | 10 |
pankso@4358 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4358 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21317 | 13 |
Hans-G?nter@23107 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@23107 | 15 BUILD_DEPENDS="gcc83" |
Hans-G?nter@23107 | 16 |
pankso@16250 | 17 HOST_ARCH="i486 arm" |
pankso@4358 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pankso@4358 | 25 # Rules to configure and make the package. |
pankso@4358 | 26 compile_rules() |
pankso@4358 | 27 { |
Hans-G?nter@23107 | 28 ./configure \ |
Hans-G?nter@23107 | 29 CC=gcc-83 \ |
Hans-G?nter@23107 | 30 CXX=g++-83 \ |
pankso@4358 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24836 | 32 make && |
Hans-G?nter@21317 | 33 make install |
pankso@4358 | 34 } |
pankso@4358 | 35 |
pankso@4358 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4358 | 37 genpkg_rules() |
pankso@4358 | 38 { |
Hans-G?nter@24836 | 39 cook_copy_folders bin |
Hans-G?nter@24836 | 40 cook_copy_files *.so* |
pankso@4358 | 41 } |