/usr/src/$pkgname-$pkgver doubts

If you have any suggestions or ideas about improving Salix, here's the place to post them.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: /usr/src/$pkgname-$pkgver doubts

Post by gapan »

Nothing needs to be compiled in /usr/src. But as others already pointed out its usual to do so in many systems. /usr/src is the place to put source files. And it's a far better choice that /usr/doc, which should be used, unsurprisingly, for documentation. Slackware packages don't include any build scripts in the package. The fact that Salix packages do, is a convenience, not a requirement. A convenience which introduces no incompatibility whatsoever.
Image
Image
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Re: /usr/src/$pkgname-$pkgver doubts

Post by pwatk »

lmello wrote:
damNageHack wrote:Okay, I think of compiling the kernel under /usr/src. This makes the most sense to me cause of the dependency (headers), but I can not imagine any other package which *needs* to be build unter /usr/src directly.
I agree.
I didn't say anything *needs* to be built under /usr/src directly :roll:
gapan wrote:Nothing needs to be compiled in /usr/src. But as others already pointed out its usual to do so in many systems. /usr/src is the place to put source files. And it's a far better choice that /usr/doc, which should be used, unsurprisingly, for documentation. Slackware packages don't include any build scripts in the package. The fact that Salix packages do, is a convenience, not a requirement. A convenience which introduces no incompatibility whatsoever.
I agree.
Image
Post Reply