]> git.pld-linux.org Git - packages/bsdmake.git/commitdiff
- initial, NFY (TODO: dot.mk files)
authorspeedy <speedy@pld-linux.org>
Thu, 26 May 2005 21:50:40 +0000 (21:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bsdmake.spec -> 1.1

bsdmake.spec [new file with mode: 0644]

diff --git a/bsdmake.spec b/bsdmake.spec
new file mode 100644 (file)
index 0000000..56eef3f
--- /dev/null
@@ -0,0 +1,43 @@
+Summary:       BSD make program.
+Name:          bsdmake
+Version:       11
+Release:       0.1
+License:       BSD
+Group:         Libraries
+Source0:       http://www.opensource.apple.com/darwinsource/tarballs/other/%{name}-%{version}.tar.gz
+# Source0-md5: c2c2fe0c1f28bead4827ced0ef1cccee
+URL:           http://www.opensource.apple.com/darwinsource/10.3.9/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BSD make program.
+
+%prep
+%setup -q 
+
+%build
+%{__cc} -DDEFSHELL=1 -Dlint -I. -c *.c
+cd lst.lib; %{__cc} -I.. -Dlint -c *.c
+cd ..
+%{__cc} *.o lst.lib/*.o -o bsdmake
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_datadir}/mk
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
+install bsdmake $RPM_BUILD_ROOT%{_bindir}
+install make.1 $RPM_BUILD_ROOT%{_mandir}/man1/bsdmake.1
+cp -rf mk/*  $RPM_BUILD_ROOT%{_datadir}/mk
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc mk/bsd.README
+%attr(755,root,root) %{_bindir}/bsdmake
+%dir %{_datadir}/mk
+%{_datadir}/mk/*.mk
This page took 0.100214 seconds and 4 git commands to generate.