You are not logged in.

#1 2011-04-06 00:51:55

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Porting Packages

I would like to know more of what makes an archlinux package just that... archlinux. I figure the best way is to just jump in and try to port a program into archlinux to find the differences between linux programs.

My question is if I have the source code of a program that was made for an OS like debian and CentOS.. how would I even start my path to making it compatible with Arch?

Last edited by otacon (2011-04-06 01:00:08)


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#2 2011-04-06 00:54:38

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Porting Packages

You would start by searching for information rather than simply asking a question here. The words you're looking for are PKGBUILD and makepkg.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-04-06 01:39:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,623

Re: Porting Packages

ngoonee wrote:

You would start by searching for information rather than simply asking a question here. The words you're looking for are PKGBUILD and makepkg.

Let me embellish -- don't search just this forum, search the wiki. 

Do a sudo pacman -S abs

It will pull down the PKGBUILDs for the entire tree and put them in /var/abs 
You can use them to build anything available in pacman on your own.  Start by standing on the shoulders or giants -- study any of the PKGBUILDs in abs


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB