Normally there is a list of dependencies somewhere in the software you want to package, most times you can use xbps-query to find the -devel package.
If you dont know the dependencie name but you know the header files you can use `xlocate` from `xtools` package to search for these header files in packages.

Am Mittwoch, 21. Oktober 2015 17:03:11 UTC+2 schrieb polkovnik chechen:
so when you are building a new package where are you find the dependencies (for new package-source)

21 Ekim 2015 Çarşamba 16:32:30 UTC+3 tarihinde polkovnik chechen yazdı:
i wonder how xbps is looking for dependencies.how the system is working.what are the diffrences from arch,ubuntu or others.ex where do you know a package's dependencies?when are you building a package how do you know?