wok-current annotate pam_krb5/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | bd7510903310 |
children |
rev | line source |
---|---|
pascal@2452 | 1 # SliTaz package receipt. |
pascal@2452 | 2 |
pascal@2452 | 3 PACKAGE="pam_krb5" |
Hans-G?nter@23272 | 4 VERSION="4.8" |
pascal@2452 | 5 CATEGORY="system-tools" |
pascal@2452 | 6 SHORT_DESC="Kerberos v5 PAM module." |
pascal@2452 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL" |
Hans-G?nter@23272 | 9 WEB_SITE="https://www.eyrie.org/~eagle/software/pam-krb5/" |
Hans-G?nter@23272 | 10 |
pascal@2452 | 11 SOURCE="pam-krb5" |
pascal@13001 | 12 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@24976 | 13 WGET_URL="https://archives.eyrie.org/software/ARCHIVE/pam-krb5/$TARBALL" |
pascal@15375 | 14 |
Hans-G?nter@23272 | 15 DEPENDS="libcomerr libcomerr3 libkrb5 pam" |
Hans-G?nter@23272 | 16 BUILD_DEPENDS="krb5-dev pam-dev" |
pascal@2452 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@24453 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pascal@2452 | 25 # Rules to configure and make the package. |
pascal@2452 | 26 compile_rules() |
pascal@2452 | 27 { |
Hans-G?nter@23272 | 28 ./configure \ |
Hans-G?nter@23272 | 29 --prefix=/usr \ |
Hans-G?nter@23272 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@23272 | 31 --sysconfdir=/etc \ |
Hans-G?nter@23272 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@23272 | 33 $CONFIGURE_ARGS && |
pascal@2452 | 34 make && |
pascal@13001 | 35 make DESTDIR=$DESTDIR install |
pascal@2452 | 36 } |
pascal@2452 | 37 |
pascal@2452 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2452 | 39 genpkg_rules() |
pascal@2452 | 40 { |
Hans-G?nter@23272 | 41 cp -a $install/lib $fs |
pascal@2452 | 42 } |