When use makepkg command to make Slackware package, i cd to source code folder(i try makepkg with MPlayer, folder is: /Mydata/test/MPlayer), type
./configure --enable-gui
make
make install --prefix=/Mydata/test/MPlayer/build
(i do it as the tutorial on linuxpackages.net)
then: makepkg mplayer-custom-1.0.tgz
Package made done, i use: installpkg -warn mplayer-custom-1.0.tgz
The test result told me: file and folder of MPlayer will install to Root folder ( / )
And when after real installionwith own package, i cant use: gmplayer to call MPlayer (using bash shell). Then type: /gmplayer
will call MPlayer for me (because i guess MPlayer install to /, so i execute the gmplayer file to call MPlayer)
BTW, also about this thing, i have extra question: when i install a software from source, if i dont want to install it to default folder(usually is: /usr), i change to my installion folder: /opt by type: ./configure --prefix=/opt when compile it, also install done, but cant run it by normal command: gmplayer (fox example), always receive: command not found. I have to type /"path to executable file of software" to call. Why ?
I see some packages include dependencies for me, or include some extra for installion.How to add some additional to my package ? Example: i want to add skins for MPlayer package (by default, if install from source, i have to decompress skin to MPlayer after installion.)
This question is for both commands: makepkg and src2pkg
And i've tried make package with src2pkg, i was successful with Gimp GAP package, but inside my gimp-gap.tgz, i dont see the file: doinst.sh file as many packages which i downloaded. But my own gim-gap.tgz installed well, no problem.
Can you test my gimp-gap package for me ?
Code:
http://www.mediafire.com/?2ayhzk15sz5
When use src2pkg command to create package, how to add comment for my package ? The default comment is: create by src2pkg, i want to change it