wok-current annotate gputils/receipt @ rev 25707
Fix miss file need for grub2-efi install (kernel.img, modinfo.sh)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu May 30 20:14:23 2024 +0000 (5 months ago) |
parents | 932cd974e081 |
children |
rev | line source |
---|---|
pascal@13729 | 1 # SliTaz package receipt. |
pascal@13729 | 2 |
pascal@13729 | 3 PACKAGE="gputils" |
Hans-G?nter@24620 | 4 VERSION="1.5.2" |
pascal@13729 | 5 CATEGORY="development" |
pascal@13729 | 6 SHORT_DESC="Tools for the Microchip (TM) PIC microcontrollers." |
pascal@13729 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@20995 | 9 WEB_SITE="https://gputils.sourceforge.io/" |
Hans-G?nter@20995 | 10 |
Hans-G?nter@24620 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13729 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13729 | 13 |
pascal@13729 | 14 DEPENDS="" |
pascal@13729 | 15 BUILD_DEPENDS="" |
pascal@13729 | 16 |
pascal@24403 | 17 # What is the latest version available today? |
pascal@24403 | 18 current_version() |
pascal@24403 | 19 { |
pascal@24403 | 20 wget -O - https://sourceforge.net/projects/gputils/files/gputils/ 2>/dev/null | \ |
pascal@24403 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 22 sed '/scope="row/!d;s|.*/gputils-||;s|.tar.*||;s|-|.|;q' |
pascal@24403 | 23 } |
pascal@24403 | 24 |
pascal@13729 | 25 # Rules to configure and make the package. |
pascal@13729 | 26 compile_rules() |
pascal@13729 | 27 { |
Hans-G?nter@20995 | 28 ./configure \ |
Hans-G?nter@20995 | 29 --prefix=/usr \ |
Hans-G?nter@20995 | 30 --sysconfdir=/etc \ |
Hans-G?nter@20995 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24620 | 32 make && |
Hans-G?nter@20995 | 33 make DESTDIR=$DESTDIR install |
pascal@13729 | 34 } |
pascal@13729 | 35 |
pascal@13729 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13729 | 37 genpkg_rules() |
pascal@13729 | 38 { |
pascal@13729 | 39 cp -a $install/* $fs |
pascal@13729 | 40 } |