wok-6.x annotate perl-ole-Storage_Lite/receipt @ rev 21778
linld: fix strdup (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 14:55:02 2019 +0200 (2019-07-11) |
parents | 5a7625107001 |
children | 3e9b01ea2f0a |
rev | line source |
---|---|
pascal@1606 | 1 # SliTaz package receipt. |
pascal@1606 | 2 |
pascal@1606 | 3 PACKAGE="perl-ole-Storage_Lite" |
pascal@1606 | 4 VERSION="0.17" |
pascal@1606 | 5 CATEGORY="development" |
pascal@1606 | 6 SHORT_DESC="OLE::Storage_Lite module is a Perl extension." |
pascal@1606 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1606 | 9 DEPENDS="perl" |
pascal@1606 | 10 BUILD_DEPENDS="perl" |
pascal@1606 | 11 SOURCE="OLE-Storage_Lite" |
pascal@1606 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1606 | 13 WEB_SITE="http://cpan.org/" |
pascal@1606 | 14 WGET_URL="http://cpan.org/authors/id/J/JM/JMCNAMARA/$TARBALL" |
pascal@1606 | 15 |
pascal@1606 | 16 # Rules to configure and make the package. |
pascal@1606 | 17 compile_rules() |
pascal@1606 | 18 { |
pascal@1606 | 19 cd $src |
pascal@1606 | 20 perl Makefile.PL |
pascal@1606 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1606 | 23 } |
pascal@1606 | 24 |
pascal@1606 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1606 | 26 genpkg_rules() |
pascal@1606 | 27 { |
pascal@1606 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1606 | 30 } |
pascal@1606 | 31 |