SliTaz SliTaz Forum

You are not logged in.

#1 2013-01-12 19:51:24

kitty____
Member
Registered: 2012-12-06
Posts: 36

How to create .tazpkg from compiled sources?

here is a user guide : http://westburian.site40.net/dosbox-internet.htm

here is sources: http://source.dosbox.com/mb6/dosbox-mb6.tar.gz

here is compiled source+binaries (executed "compile; make; make-install"): http://ge.tt/9pTq1HV/

my question:

How to create package.tazpkg from compiled sources? teach me please

thanks for any hint

Offline

#2 2013-01-12 20:59:51

kitty____
Member
Registered: 2012-12-06
Posts: 36

Re: How to create .tazpkg from compiled sources?

I know, i need type "tazpkg pack /dir"; but how to select binaries from compiled sources, and how to undersand(discover) directory-destination of binaries?

Offline

#3 2013-01-12 21:02:37

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: How to create .tazpkg from compiled sources?

wouldn't it be easier to use the slitaz dosbox package:

http://pkgs.slitaz.org/search.sh?package=dosbox&version=s

?

if you are not happy with slitaz package you could rebuild it with your changes using slitaz's tools:

http://doc.slitaz.org/en:cookbook:start

if you really want check [c]tazpkg pack[/c] :

http://hg.slitaz.org/tazpkg/raw-file/tip/doc/tazpkg.en.html

PS we posted together :-)

Offline

#4 2013-01-12 21:32:20

kitty____
Member
Registered: 2012-12-06
Posts: 36

Re: How to create .tazpkg from compiled sources?

this dosbox have many many feautures, and is much better than Slitaz package; so I need to compile, install and, if possible, create package (It possible, I hope)

problem: I can not see, what files installing to system, when run "make install"

maybe, create (how?) fake "/" dir, and "make install" will install to not system, but defined dir?

Offline

#5 2013-01-12 21:44:32

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: How to create .tazpkg from compiled sources?

Work smarter not harder.

Every tazpkg has to have a receipt.

Use the existing dosbox receipt as a template for your custom dosbox tazpkg

Offline

#6 2013-01-12 22:40:23

kitty____
Member
Registered: 2012-12-06
Posts: 36

Re: How to create .tazpkg from compiled sources?

thanks all!

SOLUTION :

   make DESTDIR=$DESTDIR install &&

for example, "make DESTDIR=/home/tux/fakefilesystem install" (after "./configure ; ./make".....)

(solution from receipt of leafpad)

then: "tazpkg pack /home/tux/fakefilesystem/" (not exactly, but something similar)

special thanks mojo: using existing tazpackage receipt as template - good idea big_smile

(after compilation, I'll upload this version dosbox)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]