Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
name = tcl
major_ver = 8.6
version = %{major_ver}.13
-release = 1
+release = 1.1
thisapp = tcl%{version}
groups = Development/Languages
zlib-devel
end
+ DIR_APP = %{DIR_SRC}/%{thisapp}/unix
+
# tcl fails to detect that it needs to link agains libm
LDFLAGS += -lm
--enable-threads \
--enable-64bit
- build
- cd unix && %{configure}
-
- make %{PARALLELISMFLAGS}
- end
-
- install
- cd unix && make install install-private-headers INSTALL_ROOT=%{BUILDROOT}
+ make_install_targets += \
+ install-private-headers INSTALL_ROOT=%{BUILDROOT}
+ install_cmds
ln -svf tclsh%{major_ver} %{BUILDROOT}/usr/bin/tclsh
# for linking with -lib%{name}