You are not logged in.

#1 2018-04-07 15:20:24

mr.se7en
Member
Registered: 2018-04-06
Posts: 1

How Is A Program Compiled Into A Folder Like usr/bin in tar.gz

when i view package for example a archlinux package(tar.gz) i see that the package is put into folders like usr/bin. what are the scripts that compile the program into those folders.

Offline

#2 2018-04-07 15:49:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: How Is A Program Compiled Into A Folder Like usr/bin in tar.gz

Arch uses makepkg to build packages. This "installs" the build files into a fakeroot directory ($pkgdir), and then creates a tarball containing this directory. What gets "installed" to the $pkgdir folder depends on the upstream project and the package maintainer.

See https://wiki.archlinux.org/index.php/Creating_packages


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB