wok-next view libzip/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 | c4e53a39395a |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libzip"
4 VERSION="1.3.0"
5 CATEGORY="misc"
6 SHORT_DESC="C library for reading, creating, and modifying zip archives"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://nih.at/libzip/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://nih.at/libzip/$TARBALL"
14 BUILD_DEPENDS="zlib-dev coreutils-conditions bzip2-dev perl"
15 SPLIT="libzip-dev"
17 compile_rules() {
18 export MKDIRPROG='mkdir -p'
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libzip)
29 copy @std
30 DEPENDS="bzlib zlib"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="libzip bzip2-dev zlib-dev"
35 ;;
36 esac
37 }