wok-next annotate libnetfilter_cthelper/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0a667524ce79 |
children | df20b2110f7e |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
pascal@17286 | 2 |
pascal@17286 | 3 PACKAGE="libnetfilter_cthelper" |
pascal@17286 | 4 VERSION="1.0.0" |
pascal@17286 | 5 CATEGORY="network" |
al@19957 | 6 SHORT_DESC="API to the user-space helper infrastructure" |
pascal@17286 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17286 | 8 LICENSE="GPL2" |
al@19957 | 9 WEB_SITE="http://www.netfilter.org/projects/libnetfilter_cthelper/" |
al@19957 | 10 |
pascal@17286 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19957 | 12 WGET_URL="http://www.netfilter.org/projects/libnetfilter_cthelper/files/$TARBALL" |
pascal@17286 | 13 |
al@19957 | 14 BUILD_DEPENDS="libmnl-dev" |
al@19957 | 15 SPLIT="libnetfilter_cthelper-dev" |
pascal@17286 | 16 |
al@19957 | 17 compile_rules() { |
al@20595 | 18 ./configure $CONFIGURE_ARGS && |
al@20595 | 19 fix libtool && |
al@20595 | 20 make && |
al@20595 | 21 make install |
pascal@17286 | 22 } |
pascal@17286 | 23 |
al@19957 | 24 genpkg_rules() { |
al@19957 | 25 case $PACKAGE in |
al@19957 | 26 libnetfilter_cthelper) |
al@19957 | 27 copy @std |
al@19957 | 28 DEPENDS="libmnl" |
al@19957 | 29 ;; |
al@19957 | 30 *-dev) |
al@19957 | 31 copy @dev |
al@19957 | 32 DEPENDS="libnetfilter_cthelper libmnl-dev" |
al@19957 | 33 ;; |
al@19957 | 34 esac |
pascal@17286 | 35 } |