HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] How to create a slackware tgz



On Sat, 27 Jul 2002 19:32:49 +0200 (MEST), Carsten Breuer
<CarstenBreuerH323@textwork.de> wrote:

>What i have to do now is to make a slackware package (tgz)
>to install it on the gateway. "make install" ist not the way.
>I have seen that there are options like make package, but this
>seems only be valid for solaris.
>Must i really copy all files by hand or ist there a script out there
>to doing this? If there is now script to doing so i can create one 
I don't know how a slackware tgz is built, however if you just want a way to
make installation on other machines easier, you can look at what is done for
the rpm, that is install in a temp dir

make install -e \
    BIN=$RPM_BUILD_ROOT%{_bindir} \
    SBIN=$RPM_BUILD_ROOT%{_sbindir} \
    LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
    LIBDATA=$RPM_BUILD_ROOT%{_sysconfdir}/hylafax \
    LIBEXEC=$RPM_BUILD_ROOT%{_sbindir} \
    SPOOL=$RPM_BUILD_ROOT%{faxspool} \
    MAN=$RPM_BUILD_ROOT%{_mandir} \
    INSTALL_ROOT=$RPM_BUILD_ROOT

so you could do
make install \
	BIN=/tmp/hylafax-root/usr/bin
...
...

cd /tmp/hylafax-root
tar zcf hylafax.tgz .

-- 
giulioo@pobox.com

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions