wok annotate poedit/receipt @ rev 25618

Update get-pcem-roms
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 28 14:28:52 2023 +0000 (16 months ago)
parents 0262035dc1e7
children
rev   line source
pankso@41 1 # SliTaz package receipt.
pankso@41 2
pankso@41 3 PACKAGE="poedit"
al@18525 4 VERSION="1.8.6"
al@19175 5 CATEGORY="localization"
al@18525 6 SHORT_DESC="A cross-platform gettext catalogs editing tool"
pankso@41 7 MAINTAINER="pankso@slitaz.org"
pascal@15375 8 LICENSE="MIT"
pascal@20679 9 WEB_SITE="https://poedit.net/"
pascal@15375 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18525 11 WGET_URL="https://github.com/vslavik/$PACKAGE/archive/v$VERSION-oss.tar.gz"
pascal@15375 12
pascal@22396 13 DEPENDS="wxWidgets lucene++ gtkspell gcc83-lib-base gettext-tools"
al@18525 14 BUILD_DEPENDS="automake gettext asciidoc libxslt xmlto util-linux-getopt \
pascal@22396 15 docbook-xsl gcc83 wxWidgets-dev icu-dev gtkspell-dev \
al@18525 16 lucene++-dev db-dev libdb libdb-cxx expat-dev"
al@18526 17 SUGGESTED="aspell"
pankso@41 18
pascal@25601 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25604 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-oss||;q'
pascal@24055 24 }
pascal@24055 25
pankso@41 26 # Rules to configure and make the package.
pankso@41 27 compile_rules()
pankso@41 28 {
pascal@19924 29 sed -i 's/Env(0)/Env(0u)/;s/env2(0)/env2(0u)/' src/tm/dump_legacy_tm.cpp
pascal@22396 30 export CXX=/usr/bin/i486-slitaz-linux-g++-83
al@18525 31 #export CXXFLAGS="$CFLAGS -std=gnu++11"
al@18525 32 ./bootstrap &&
al@16885 33 ./configure \
al@16885 34 --prefix=/usr \
al@18525 35 --sysconfdir=/etc \
al@16885 36 $CONFIGURE_ARGS &&
pascal@1465 37 make &&
pascal@15375 38 make DESTDIR=$DESTDIR install
pankso@41 39 }
pankso@41 40
pankso@41 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@41 42 genpkg_rules()
pankso@41 43 {
al@18525 44 cp -a $install/* $fs
al@18525 45 rm -r $fs/usr/share/locale $fs/usr/share/man
pankso@41 46 }