You are not logged in.

#1 2008-08-08 10:06:42

mc
Member
Registered: 2008-08-08
Posts: 11

How does one set package options like in freeBSD?

Hi,
In freeBSD one get a ncurses screen to choose what options one wants for a package. Can I have some way to choose the options when I use yaourt?
Thanks

Offline

#2 2008-08-08 13:42:12

FreakGuard
Member
Registered: 2008-04-27
Posts: 83

Re: How does one set package options like in freeBSD?

afaik no
If you want to use USE-flags, check the abs (or get gentoo)


In each heart, as pure it may be, there is a place of deepest and darkest abyss.
(by Apollo from archlinux.de, translated by a friend of mine who writes http://www.drunkduck.com/Captain_Communism/ )

Offline

#3 2008-08-08 18:04:14

mc
Member
Registered: 2008-08-08
Posts: 11

Re: How does one set package options like in freeBSD?

ok how excatly do I do this?

Offline

#4 2008-08-08 18:11:50

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: How does one set package options like in freeBSD?

Offline

#5 2008-08-08 20:17:14

mc
Member
Registered: 2008-08-08
Posts: 11

Re: How does one set package options like in freeBSD?

No no....like additional options for a program...like in vim I'd like to select the option of the inbuilt python interpreter or something like that. These kinda things are shown on a ncurses interface for freebsd and I guess one uses USE flags for gentoo. But how does one do it for the Arch Build System. And is there any way I can use yaourt in the process?

makepkg.conf only seems to have compiler flags not additional options for compiling a specific program.

Last edited by mc (2008-08-08 20:18:07)

Offline

#6 2008-08-08 20:38:21

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: How does one set package options like in freeBSD?

If you want to compile a package with different compile time options, you can do the following:

1. Use ABS to aquire the PKGBUILD
2. Modify the PKGBUILD to your liking
3. Build with makepkg
4. Install with pacman
5. Profit!

I don't know of some other Interface to do this. Be it textbased cursesbased or whatever.

Offline

#7 2008-08-09 07:42:43

mc
Member
Registered: 2008-08-08
Posts: 11

Re: How does one set package options like in freeBSD?

ok the wiki says the following about ABS:-

The Arch Build System (ABS for short) is used to

    * Make new packages from source, of software for which no packages are yet available (See The Arch package making HOW-TO - with guidelines)
    * Customize existing packages to fit your needs (enabling or disabling options, patching)
    * Rebuild your entire system using your compiler flags, "a la FreeBSD"
    * Cleanly build and install your own custom kernel. (See Kernel Compilation)
    * Get kernel modules working with your custom kernel.

Now how exactly do I customize my package?...I just cited the USE flags and the freebsd ncurses interface as an example.

Offline

#8 2008-08-09 07:49:54

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: How does one set package options like in freeBSD?

See step 2 in Garns comment right above yours.  There is nothing equivalent to USE flags in Arch.  You modify the PKGBUILD yourself.  You might also want to install srcpac and look at its man page

Offline

Board footer

Powered by FluxBB