wok-current view xorg-makedepend/receipt @ rev 25618

Use default gcc 6.3 for libgphoto2
author Stanislas Leduc <shann@slitaz.org>
date Sun Sep 03 19:59:46 2023 +0000 (14 months ago)
parents b36f8f3e6086
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-makedepend"
4 VERSION="1.0.6"
5 CATEGORY="development"
6 SHORT_DESC="Create dependencies in makefiles."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="makedepend"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/util/$TARBALL"
15 DEPENDS="glibc-base xorg-xproto"
16 BUILD_DEPENDS="xorg-xproto"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/licenses
40 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
41 cp -a $install/usr/bin $fs/usr
42 }