wok-next view pkg-config/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 | 90a5eb560fd6 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pkg-config"
4 VERSION="0.29.2"
5 CATEGORY="development"
6 SHORT_DESC="Free desktop packages manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/pkg-config/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/pkg-config.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://pkg-config.freedesktop.org/releases/$TARBALL"
15 BUILD_DEPENDS_arm=" "
16 BUILD_DEPENDS="gcc libtool perl"
18 compile_rules() {
19 case "$ARCH" in
20 arm)
21 ./configure \
22 --program-prefix=$TOOLPREFIX \
23 --build=i486-slitaz-linux \
24 --host=arm-slitaz-linux-gnueabi \
25 --cache-file=arm-linux.cache ;;
26 *)
27 ./configure \
28 --with-internal-glib \
29 --disable-host-tool \
30 $CONFIGURE_ARGS
31 ;;
32 esac &&
33 fix libtool &&
34 make &&
35 make install || return 1
37 cd $install/usr/bin
38 mv pkg-config ${TOOLPREFIX}pkg-config
39 ln -s ${TOOLPREFIX}pkg-config pkg-config
40 }
42 genpkg_rules() {
43 copy @std @dev
44 DEPENDS="glibc-base"
45 TAGS="LFS"
46 }