wok-6.x annotate iprange/receipt @ rev 21758
Update icevm & obex-data-server websites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 26 17:24:54 2019 +0200 (2019-06-26) |
parents | d79fd0c7512f |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20038 | 1 # SliTaz package receipt. |
pascal@20038 | 2 |
pascal@20038 | 3 PACKAGE="iprange" |
Hans-G?nter@21058 | 4 VERSION="1.0.4" |
pascal@20038 | 5 CATEGORY="security" |
Hans-G?nter@21058 | 6 SHORT_DESC="Manage IP ranges." |
pascal@20038 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20038 | 8 LICENSE="GPL2" |
Hans-G?nter@21058 | 9 WEB_SITE="https://github.com/firehol/iprange" |
Hans-G?nter@21058 | 10 |
pascal@20038 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20038 | 12 WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL" |
pascal@20038 | 13 |
pascal@20038 | 14 # Rules to configure and make the package. |
pascal@20038 | 15 compile_rules() |
pascal@20038 | 16 { |
Hans-G?nter@21058 | 17 ./configure \ |
Hans-G?nter@21058 | 18 --prefix=/usr \ |
pascal@20038 | 19 $CONFIGURE_ARGS && |
Hans-G?nter@21058 | 20 make -j 1 && |
pascal@20038 | 21 make DESTDIR=$DESTDIR install |
pascal@20038 | 22 } |
pascal@20038 | 23 |
pascal@20038 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20038 | 25 genpkg_rules() |
pascal@20038 | 26 { |
Hans-G?nter@21058 | 27 mkdir -p $install/usr/share/doc |
Hans-G?nter@21058 | 28 mkdir -p $fs/usr |
Hans-G?nter@21058 | 29 cp $src/README* $install/usr/share/doc |
Hans-G?nter@21058 | 30 cp -a $install/usr/bin $fs/usr |
pascal@20038 | 31 } |