iNinjas
The quieter you become the more you are able to hear
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
iNinjas
»
Development
»
Development Support
»
Porting
»
I've ported something how do I package it?
« previous
next »
Print
Pages: [
1
]
Author
Topic: I've ported something how do I package it? (Read 1260 times)
Ginger
Dev Team Member
Hero Member
Posts: 610
Reputation: 6
Computers: Forgot model but Dell Inspirion Tower (6gb ram, Quad core, 1tb hdd, 1gb graphics)
iDevices: iPod Touch 4G 8GB And iPod Nano 1G 1Gb
I've ported something how do I package it?
«
on:
September 10, 2011, 03:15:41 pm »
I've done ./configure and make and make install but how do I package it? I know how to make debs and control files etc... But I'm not sure how to package it
Logged
A3MIRAL
Leader
Hero Member
Posts: 2899
Reputation: 105
A3MIRAL -- Reporting for Duty
Badges:
Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: I've ported something how do I package it?
«
Reply #1 on:
September 10, 2011, 03:56:28 pm »
dpkg-deb -b /path/to/deb Deb_NAME
the deb name must have no spaces.
for us, its com.author_name.deb_name.iphoneos-arm.deb
Logged
My website
My Twitter
Ginger
Dev Team Member
Hero Member
Posts: 610
Reputation: 6
Computers: Forgot model but Dell Inspirion Tower (6gb ram, Quad core, 1tb hdd, 1gb graphics)
iDevices: iPod Touch 4G 8GB And iPod Nano 1G 1Gb
Re: I've ported something how do I package it?
«
Reply #2 on:
September 10, 2011, 04:01:05 pm »
When I type in make package I get no rule to make package
Logged
C0deH4cker
Hero Member
Posts: 2849
Reputation: 129
I am leaving iNinjas. Contact me via email.
Badges:
iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: I've ported something how do I package it?
«
Reply #3 on:
September 10, 2011, 04:07:49 pm »
cd /path/to/program
mkdir /var/root/debs/PROGRAMNAME
make install prefix=/var/root/debs/PROGRAMNAME/
cd /var/root/debs
dpkg -b PROGRAMNAME
dpkg-name PROGRAMNAME.deb
Logged
Trcx528
Haxor
Hero Member
Posts: 4502
Reputation: 166
Google it!
Badges:
Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
iDevices: None
Re: I've ported something how do I package it?
«
Reply #4 on:
September 10, 2011, 04:22:15 pm »
Just a note about this one:
dpkg -b PROGRAMNAME
change it to:
dpkg -b PROGRAMNAME myfile.deb
because otherwise it gets packaged with a file called /.deb and then it causes conflictes with other packages.
Logged
How to add iNinjas Repo
The Rules of iNinjas
Join us on irc!
Need a client? Use the
webchat
.
Email me at:
Trcx528@gmail.com
Google Talk:
Trcx528@gmail.com
Follow Me On Twitter
Don't like seeing ads? Click
here
to register!
C0deH4cker
Hero Member
Posts: 2849
Reputation: 129
I am leaving iNinjas. Contact me via email.
Badges:
iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: I've ported something how do I package it?
«
Reply #5 on:
September 10, 2011, 04:26:18 pm »
It doesnt do that for me...
Logged
Ginger
Dev Team Member
Hero Member
Posts: 610
Reputation: 6
Computers: Forgot model but Dell Inspirion Tower (6gb ram, Quad core, 1tb hdd, 1gb graphics)
iDevices: iPod Touch 4G 8GB And iPod Nano 1G 1Gb
Re: I've ported something how do I package it?
«
Reply #6 on:
September 10, 2011, 04:27:05 pm »
Nothin goes into /var/root/debs/programname
Logged
C0deH4cker
Hero Member
Posts: 2849
Reputation: 129
I am leaving iNinjas. Contact me via email.
Badges:
iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: I've ported something how do I package it?
«
Reply #7 on:
September 10, 2011, 06:51:39 pm »
Did you make the directory?
Also, if that doesnt work, post the Makefile (link to it).
Logged
Ginger
Dev Team Member
Hero Member
Posts: 610
Reputation: 6
Computers: Forgot model but Dell Inspirion Tower (6gb ram, Quad core, 1tb hdd, 1gb graphics)
iDevices: iPod Touch 4G 8GB And iPod Nano 1G 1Gb
Re: I've ported something how do I package it?
«
Reply #8 on:
September 11, 2011, 02:59:51 am »
http://pastie.org/2517169
Logged
Print
Pages: [
1
]
« previous
next »
iNinjas
»
Development
»
Development Support
»
Porting
»
I've ported something how do I package it?