-
Notifications
You must be signed in to change notification settings - Fork 61
/
gsl.package
34 lines (28 loc) · 933 Bytes
/
gsl.package
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
################################################################################
## GSL ##
################################################################################
VERSION=release-2-6
NAME=gsl
EXTRACTSTO=${NAME}-${VERSION}
SOURCE=https://git.savannah.gnu.org/git/
PACKING=git
BUILDCHAIN=autotools
BUILDDIR=${BUILD_PATH}/${NAME}-${VERSION}
INSTALL_PATH=${INSTALL_PATH}/${NAME}-${VERSION}
CONFOPTS="--enable-maintainer-mode"
package_specific_setup () {
# We need to do a specific bootstrap before running the autotools build chain
cd ${UNPACK_PATH}/${EXTRACTSTO}
./autogen.sh
}
package_specific_register () {
export GSL_DIR=${INSTALL_PATH}
}
package_specific_conf () {
# Generate configuration file
CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
rm -f $CONFIG_FILE
echo "
export GSL_DIR=${INSTALL_PATH}
" >> $CONFIG_FILE
}