wok-next view iniparser/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 | de49f29b101e |
children | 315a1dc02606 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iniparser"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Free stand-alone ini file parsing library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://ndevilla.free.fr/iniparser/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ndevilla/iniparser/archive/v$VERSION.tar.gz"
14 SPLIT="iniparser-dev"
16 compile_rules() {
17 make || return 1
19 mkdir -p $install/usr/lib $install/usr/include
20 cp -a *.so* $install/usr/lib
21 cp *.*a $install/usr/lib
22 cp src/*.h $install/usr/include
23 cook_pick_docs html/ AUTHORS README.md LICENSE FAQ*
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 iniparser)
29 copy @std
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }