Репозиторий Sisyphus
Последнее обновление: 29 ноября 2020 | Пакетов: 17750 | Посещений: 19718357
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: pmake

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: pmake
Version: 1.45
Release: alt4
Serial: 1

Source: http://ftp.debian.org/debian/pool/main/p/%name/%{name}_%version-11.tar.bz2
Source1: mkdep.tar
Source2: lorder.tar

Patch1: mkdep-alt-tmp.patch
Patch2: lorder-alt-tmp.patch
Patch3: %name-1.45-alt-bsd.own.mk.patch
Patch4: %name-1.45-alt-bsd.lib.mk.patch
Patch5: %name-1.45-alt-bsd.prog.mk.patch

Summary: The BSD 4.4 version of make
License: BSD
Group: Development/Other

Obsoletes: %name-customs
Requires: mktemp >= 1:1.3.1

# Automatically added by buildreq on Sat May 17 2003

BuildRequires: groff-base groff-ps

PMake is a program for creating other programs, or anything else
you can think of for it to do.  The basic idea behind PMake is
that, for any given system, be it a program or a document or
whatever, there will be some files that depend on the state of
other files (on when they were last modified).  PMake takes
these dependencies, which you must specify, and uses them to
build whatever it is you want it to build.

PMake is a particular version (BSD 4.4) of make.  PMake supports
some additional syntax which is not in the standard make program.
Some Berkeley programs have Makefiles written for PMake.

%setup -q
%__rm -f mkdep*
%setup -qDT -a1 -a2

%patch1 -p0
%patch2 -p0
%patch3 -p1
%patch4 -p1
%patch5 -p1

find -type f -print0 |
xargs -r0 %__grep -FZl /usr/share/mk -- |
xargs -r0 %__subst -p 's,/usr/share/mk,%_datadir/%name/mk,g' --

make -f Makefile.boot \
CC=gcc \
MACHINE=%_target_vendor \
MACHINE_ARCH=%_target_cpu \

%__rm -rf doc
%__mkdir_p doc
groff -Tascii -ms PSD.doc/tutorial.ms >doc/tutorial.asc
groff -Tps -ms PSD.doc/tutorial.ms >doc/tutorial.ps
%__install -p -m644 debian/changelog doc/
bzip2 -9 doc/*
%__install -p -m644 debian/copyright doc/

%__install -pD -m755 bmake $RPM_BUILD_ROOT%_bindir/%name
%__install -pD -m644 make.1 $RPM_BUILD_ROOT%_man1dir/%name.1

%__install -pD -m755 mkdep/mkdep.gcc.sh $RPM_BUILD_ROOT%_bindir/mkdep
%__install -p -m644 mkdep/mkdep.1 $RPM_BUILD_ROOT%_man1dir/

%__install -pD -m755 lorder/lorder.sh $RPM_BUILD_ROOT%_bindir/lorder
%__install -p -m644 lorder/lorder.1 $RPM_BUILD_ROOT%_man1dir/

for f in mk/*; do
%__install -pD -m644 "$f" $RPM_BUILD_ROOT%_datadir/%name/"$f"

%doc doc/*


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin