wok-current annotate libuninameslist/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | 60bae8a22f66 |
children | 0b18869b897c |
rev | line source |
---|---|
al@17914 | 1 # SliTaz package receipt. |
al@17914 | 2 |
al@17914 | 3 PACKAGE="libuninameslist" |
Hans-G?nter@23113 | 4 VERSION="20190701" |
al@17914 | 5 CATEGORY="misc" |
Hans-G?nter@21324 | 6 SHORT_DESC="A Library of Unicode names and annotation data." |
al@17914 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17914 | 8 LICENSE="other" |
al@17914 | 9 WEB_SITE="https://github.com/fontforge/libuninameslist" |
Hans-G?nter@21324 | 10 |
al@17914 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@17914 | 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
al@17914 | 13 |
al@17914 | 14 DEPENDS="" |
Hans-G?nter@23113 | 15 BUILD_DEPENDS="autoconf automake bash cacerts libtool" |
al@17914 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
al@17914 | 23 # Rules to configure and make the package. |
al@17914 | 24 compile_rules() |
al@17914 | 25 { |
Hans-G?nter@21324 | 26 autoreconf -i && |
Hans-G?nter@21324 | 27 automake && |
Hans-G?nter@21324 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21324 | 29 make && |
Hans-G?nter@21324 | 30 make install |
al@17914 | 31 } |
al@17914 | 32 |
al@17914 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17914 | 34 genpkg_rules() |
al@17914 | 35 { |
al@17914 | 36 mkdir -p $fs/usr/lib |
Hans-G?nter@23113 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17914 | 38 } |