wok-current annotate scim-tables/receipt @ rev 25046
Up glusterfs (10.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 12:04:57 2022 +0000 (2022-06-04) |
parents | 667a6ebad331 |
children |
rev | line source |
---|---|
rocky@3549 | 1 # SliTaz package receipt. |
rocky@3549 | 2 |
rocky@3549 | 3 PACKAGE="scim-tables" |
Hans-G?nter@21217 | 4 VERSION="0.5.14.1" |
rocky@3549 | 5 CATEGORY="meta" |
rocky@3549 | 6 SHORT_DESC="SCIM Generic Table Input Method module meta package." |
rocky@3549 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15132 | 8 LICENSE="GPL2" |
pascal@22398 | 9 WEB_SITE="https://www.scim-im.org/" |
Hans-G?nter@21217 | 10 |
rocky@3549 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3551 | 12 WGET_URL="$SF_MIRROR/scim/$TARBALL" |
Hans-G?nter@21217 | 13 |
rocky@3549 | 14 LOCALE="" |
Hans-G?nter@21217 | 15 DEPENDS="scim scim-tables-additional scim-tables-base \ |
Hans-G?nter@21217 | 16 scim-tables-ja scim-tables-ko scim-tables-zh" |
Hans-G?nter@21218 | 17 BUILD_DEPENDS="automake libtool scim-dev expat-dev gtk+-dev" |
pascal@15132 | 18 |
pascal@24348 | 19 # What is the latest version available today? |
pascal@24348 | 20 current_version() |
pascal@24348 | 21 { |
pascal@24348 | 22 wget -O - https://sourceforge.net/projects/scim/files/scim-tables/ 2>/dev/null | \ |
pascal@24348 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 24 sed '/scope="row/!d;s|.*/scim-tables-||;s|.tar.*||;q' |
pascal@24348 | 25 } |
pascal@24348 | 26 |
rocky@3549 | 27 # Rules to configure and make the package. |
rocky@3549 | 28 compile_rules() |
rocky@3549 | 29 { |
Hans-G?nter@21217 | 30 ./bootstrap && |
Hans-G?nter@21217 | 31 ./configure \ |
Hans-G?nter@21217 | 32 --prefix=/usr \ |
Hans-G?nter@21217 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21217 | 34 --disable-static \ |
Hans-G?nter@21217 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21217 | 36 make -j 1 && |
Hans-G?nter@21217 | 37 make DESTDIR=$DESTDIR install |
rocky@3549 | 38 } |
rocky@3549 | 39 |
rocky@3549 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3549 | 41 genpkg_rules() |
rocky@3549 | 42 { |
Hans-G?nter@21217 | 43 mkdir -p $fs/var |
rocky@3549 | 44 } |