Hello,
With "make package-recursive" command in port directory, I can create port's package. Package includes files, directories those belong to port dist file ( custom-port.tar.gz - MASTER_SITE=http://.../ PORT:custom-port).
I have extra configuration files and dist file doesn't include those configuration files.
But I want to attach them to tbz package and I want to use them in pkg-install file.
For instance:
pkg-install:
Is there a way to attach and use MY_CUSTOM_SCRIPT_DIR in package file? (MY_CUSTOM_SCRIPT_DIR should be located in port directory not in dist file)
Thanks,
Best regards
With "make package-recursive" command in port directory, I can create port's package. Package includes files, directories those belong to port dist file ( custom-port.tar.gz - MASTER_SITE=http://.../ PORT:custom-port).
I have extra configuration files and dist file doesn't include those configuration files.
But I want to attach them to tbz package and I want to use them in pkg-install file.
For instance:
pkg-install:
Code:
#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
#============================================================
# POST-INSTALL
#============================================================
cp -pfr $MY_CUSTOM_SCRIPT_DIR/daemon-control-service-1-path /service/
cp -pfr $MY_CUSTOM_SCRIPT_DIR/daemon-control-service-2-path /service/
Is there a way to attach and use MY_CUSTOM_SCRIPT_DIR in package file? (MY_CUSTOM_SCRIPT_DIR should be located in port directory not in dist file)
Thanks,
Best regards