Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37558986
en ru br
ALT Linux repos
S:20220214-alt1
4.0: 20081111-alt0.M40.1

Group :: Development/Tools
RPM: mk-files

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: mk-files
Version: 20191111
Release: alt2

Summary: Support files for bmake, the NetBSD make(1) tool

License: BSD
Group: Development/Tools
Url: ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: ftp://ftp.NetBSD.org/pub/NetBSD/misc/sjg/mk-%version.tar

BuildArch: noarch

BuildRequires: rpm-build-python3

#Requires: bmake


Conflicts: pkgsrc-mk-files

%description
The mk-files package provides some bmake macros derived from the NetBSD
bsd.*.mk macros.  These macros allow the creation of simple Makefiles to
build all kinds of targets, including, for example, C/C++ programs and/or
shared libraries.

%prep
%setup -n mk
%__subst 's|cp_f=-f|cp_f=-pf|' install-mk
%__subst "s|/usr/bin/env python\$|/usr/bin/env python3|" *.py

%install
install -m 755 -d %buildroot%_datadir/mk
env FORCE_BSD_MK=%buildroot/nonexistent \
   SYS_MK_DIR=%buildroot/nonexistent \
   sh install-mk -v -m 644 %buildroot%_datadir/mk

%files
%doc ChangeLog README
%_datadir/mk/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin