I've attached the ebuild I'm using in my local overlay for btrfs-progs. Updates include: 1) Patch Makefile to allow $(bindir) override (see attached patch) 2) Use emake install instead of manually installing bin files. This allows changes to the underlying structure to be easily incorporated, such as the recent addition of manpages 3) Add IUSE=python and check for python before adding python scripts
Created attachment 182702 [details] Suggested ebuild This is the ebuild mentioned above in the description.
Created attachment 182703 [details, diff] This is the patch mentioned above in the description. This is the patch mentioned above in the description.
Thanks very much! I will take a look at these.
Would love to see some of these changes make it into the release ebuilds, default depending on matplotlib (which likes to bring lots of X with it) for a single debugging script is rather harsh.
Fixed in the live ebuild as well as 0.18: * Added new use flag: debug-utils, which controls installation of debug-tree and show-blocks - this allows us, by default, not to depend on matplotlib (I agree that it's silly to pull all this stuff in by default) Note that I did not add the two other suggestions: * USE python is not required, since python is part of the system set * We do not want to allow random changes in file system structure (i.e. using /usr/local rather than /usr) - different for prefix portage of course