[arch-general] Build from source question.
Good day. I'm going to compile all needed packages for archlinux. There are many source mirrors at the net not only URLs from PKGBUILD. Usually it is "distfiles" dir from gentoo or freebsd. It contains sources for their ports. I want use this sources. How can I to make makepkg to look for source in my LAN mirrirs to get it first from there and only then from PKGBUILD's url ? For example in CRUX pkgmk.conf there is PKGMK_SOURCE_MIRRORS=(...) wich point to list of such mirrors. I looking for the same in archlinux. -- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
2008/12/16 Anton <warm@stack.ru>:
Good day.
I'm going to compile all needed packages for archlinux. There are many source mirrors at the net not only URLs from PKGBUILD. Usually it is "distfiles" dir from gentoo or freebsd. It contains sources for their ports. I want use this sources.
How can I to make makepkg to look for source in my LAN mirrirs to get it first from there and only then from PKGBUILD's url ?
For example in CRUX pkgmk.conf there is PKGMK_SOURCE_MIRRORS=(...) wich point to list of such mirrors. I looking for the same in archlinux.
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
Hello, you can use SRCDEST="/path/to/folder" option in makepkg.conf. makepkg looks into this directory first and if there are no sources, it will download them there. regards Lukas "stativ" Jirkovsky
On Tue, 16 Dec 2008 22:28:55 +0600 Lukáš Jirkovský <l.jirkovsky@gmail.com> wrote:
2008/12/16 Anton <warm@stack.ru>:
Good day.
I'm going to compile all needed packages for archlinux. There are many source mirrors at the net not only URLs from PKGBUILD. Usually it is "distfiles" dir from gentoo or freebsd. It contains sources for their ports. I want use this sources.
How can I to make makepkg to look for source in my LAN mirrirs to get it first from there and only then from PKGBUILD's url ?
For example in CRUX pkgmk.conf there is PKGMK_SOURCE_MIRRORS=(...) wich point to list of such mirrors. I looking for the same in archlinux.
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
Hello, you can use SRCDEST="/path/to/folder" option in makepkg.conf. makepkg looks into this directory first and if there are no sources, it will download them there.
This is not exactly what I looking for. In this case I should manually download sources to the SRCDEST from my local mirrirs but I want automatic try to download the sources to SRCDEST from my list of URLs where source can be found or not. If source tar ball can not be found at URLs from the list then source should be downloaded from its true home page or location specified in PKGBUILD. CRUX's pkgmk can do this, can makepkg ?
regards Lukas "stativ" Jirkovsky
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
Anton wrote:
On Tue, 16 Dec 2008 22:28:55 +0600 Lukáš Jirkovský <l.jirkovsky@gmail.com> wrote:
2008/12/16 Anton <warm@stack.ru>:
Good day.
I'm going to compile all needed packages for archlinux. There are many source mirrors at the net not only URLs from PKGBUILD. Usually it is "distfiles" dir from gentoo or freebsd. It contains sources for their ports. I want use this sources.
How can I to make makepkg to look for source in my LAN mirrirs to get it first from there and only then from PKGBUILD's url ?
For example in CRUX pkgmk.conf there is PKGMK_SOURCE_MIRRORS=(...) wich point to list of such mirrors. I looking for the same in archlinux.
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
Hello, you can use SRCDEST="/path/to/folder" option in makepkg.conf. makepkg looks into this directory first and if there are no sources, it will download them there.
This is not exactly what I looking for. In this case I should manually download sources to the SRCDEST from my local mirrirs but I want automatic try to download the sources to SRCDEST from my list of URLs where source can be found or not. If source tar ball can not be found at URLs from the list then source should be downloaded from its true home page or location specified in PKGBUILD. CRUX's pkgmk can do this, can makepkg ?
makepkg can not do this. Allan
Le Wed, 17 Dec 2008 12:49:48 +1000, Allan McRae <allan@archlinux.org> a écrit :
makepkg can not do this.
This is not completely true to me, you could do this in Bash directly in the Build() part of the PKGBUILD. It would not be so KISS though. -- catwell
participants (4)
-
Allan McRae
-
Anton
-
Lukáš Jirkovský
-
Pierre Chapuis