ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] scons
Date: Mon, 23 Mar 2009 10:47:04 +0300
Message-ID: <b966c1e40903230047s22dae328s1c219e66a19d0b64@mail.gmail.com> (raw)
In-Reply-To: <921f6bb40903221529l2aaefd50i7edd1611f67b6b6d@mail.gmail.com>

23 марта 2009 г. 1:29 пользователь Evgeny Sinelnikov написал:
> 22 марта 2009 г. 13:34 пользователь Taras Ablamsky написал:
>> Всем привет.
>>
>> Господа, а у кого-нибудь есть пакеты при сборке которых используется scons?
>> киньте примером спека, пожалуйста.
>>
>
> У меня всё выглядит просто:
> http://sisyphus.ru/srpm/Sisyphus/libnss-role/spec
> [...]
> %prep
> %setup -q
>
> %build
> scons
>
> %install
> scons install DESTDIR=%buildroot LIBDIR=%_libdir LIBSYSDIR=/%_lib
> [...]
>
> Но, в общем случае, даже поддержки DESTDIR ожидать не приходиться, не
> говоря уже о lib64 для LIBDIR. Всё зависит от конкретного случая.

И у меня есть http://sisyphus.ru/srpm/Sisyphus/libopensync/spec

%build
cmake -D CMAKE_INSTALL_PREFIX:PATH=%_prefix \
-D OPENSYNC_LIBEXEC_DIR=%_libexecdir/opensync-1.0 \
%if %{_lib} == lib64
        -D LIB_SUFFIX=64 \
%endif
-D CMAKE_SKIP_RPATH:BOOL=TRUE .

%make_build

%install
make install DESTDIR=%buildroot

-- 
Alexey Shabalin

  reply	other threads:[~2009-03-23  7:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-22 10:34 Taras Ablamsky
2009-03-22 22:29 ` Evgeny Sinelnikov
2009-03-23  7:47   ` Alexey Shabalin [this message]
2009-03-23  8:18     ` Andrey Rahmatullin
2009-03-23 14:20       ` Alexey Shabalin
2009-03-23 15:03         ` [devel] cmons Michael Shigorin
2009-03-24  9:54           ` Vitaly Lipatov
2009-03-23  8:02   ` [devel] scons Dmitriy M. Maslennikov
2009-03-23 22:51   ` Taras Ablamsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b966c1e40903230047s22dae328s1c219e66a19d0b64@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git