wok annotate poppler-data/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 6135577f4d08 |
children |
rev | line source |
---|---|
rocky@3559 | 1 # SliTaz package receipt. |
rocky@3559 | 2 |
rocky@3559 | 3 PACKAGE="poppler-data" |
samuel_trassare@14148 | 4 VERSION="0.4.6" |
rocky@3559 | 5 CATEGORY="office" |
rocky@3559 | 6 SHORT_DESC="Poppler encoding data." |
rocky@3559 | 7 MAINTAINER="rocky@slitaz.org" |
pascal@15021 | 8 LICENSE="MIT" |
rocky@3559 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20679 | 10 WEB_SITE="https://poppler.freedesktop.org/" |
pascal@20679 | 11 WGET_URL="https://poppler.freedesktop.org/$TARBALL" |
rocky@3559 | 12 |
pascal@24453 | 13 # What is the latest version available today? |
pascal@24453 | 14 current_version() |
pascal@24453 | 15 { |
pascal@24453 | 16 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 18 } |
pascal@24453 | 19 |
rocky@3559 | 20 # Rules to configure and make the package. |
rocky@3559 | 21 compile_rules() |
rocky@3559 | 22 { |
samuel_trassare@14147 | 23 make datadir=/usr/share DESTDIR=$DESTDIR install |
rocky@3559 | 24 } |
rocky@3559 | 25 |
rocky@3559 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3559 | 27 genpkg_rules() |
rocky@3559 | 28 { |
samuel_trassare@14147 | 29 mkdir -p $fs |
samuel_trassare@14147 | 30 cp -a $install/usr $fs/ |
rocky@3559 | 31 } |