wok-next diff perl-sgmlspm/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents d5aab818505e
children
line diff
     1.1 --- a/perl-sgmlspm/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/perl-sgmlspm/receipt	Tue Sep 01 10:09:15 2020 +0100
     1.3 @@ -1,33 +1,29 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="SGMLSpm"
     1.7  PACKAGE="perl-sgmlspm"
     1.8  VERSION="1.1"
     1.9 +#AUTHOR=""
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="SGMLSpm - parsing the output from James Clark's SGMLS and NSGMLS \
    1.12  parsers"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="GPL"
    1.15 -WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/general/perl-modules.html#perl-sgmlspm"
    1.16 +WEB_SITE="http://www.linuxfromscratch.org/blfs/view/svn/general/perl-modules.html#perl-sgmlspm" # !!!
    1.17  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/perl-modules.html#perl-sgmlspm"
    1.18 -REPOLOGY="perl:sgmlspm"
    1.19 +HOST_ARCH="any"
    1.20 +REPOLOGY="${PACKAGE/-/:}"
    1.21  
    1.22 -TARBALL="SGMLSpm-$VERSION.tar.gz"
    1.23 -WGET_URL="http://anduin.linuxfromscratch.org/BLFS/perl-modules/$TARBALL"
    1.24 +TARBALL="$ORIGIN-$VERSION.tar.gz"
    1.25 +WGET_URL="http://anduin.linuxfromscratch.org/BLFS/perl-modules/$TARBALL" # !!!
    1.26  
    1.27 -BUILD_DEPENDS="perl"
    1.28 +DEPENDS_std="perl"
    1.29 +BUILD_DEPENDS="$DEPENDS_std"
    1.30  
    1.31  compile_rules() {
    1.32  	chmod 644 MYMETA.yml
    1.33  
    1.34 -	perl Makefile.PL &&
    1.35 -	make &&
    1.36 -	make DESTDIR=$install install || return 1
    1.37 +	cook_perl || return 1
    1.38  
    1.39  	ln -sv sgmlspl.pl $install/usr/bin/sgmlspl
    1.40 -	chmod -R u+w $install
    1.41  }
    1.42 -
    1.43 -genpkg_rules() {
    1.44 -	copy @std
    1.45 -	DEPENDS="perl"
    1.46 -}