mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
478 B
21 lines
478 B
13 years ago
|
#!/usr/bin/make -f
|
||
|
%:
|
||
|
dh $@
|
||
|
|
||
|
|
||
|
override_dh_auto_configure:
|
||
|
./autogen.sh
|
||
|
wget -O ADL_SDK/adl.zip http://download2-developer.amd.com/amd/GPU/zip/ADL_SDK_4.0.zip;
|
||
|
unzip ADL_SDK/adl.zip include/* -d ADL_SDK/;
|
||
|
mv ADL_SDK/include/* ADL_SDK/;
|
||
|
rm -rf ADL_SDK/adl.zip ADL_SDK/include/;
|
||
|
dh_auto_configure -- --enable-ztex --enable-bitforce --enable-icarus
|
||
|
|
||
|
|
||
|
override_dh_auto_install:
|
||
|
$(MAKE) DESTDIR=$$(pwd)/debian/cgminer install
|
||
|
|
||
|
|
||
|
override_dh_shlibdeps:
|
||
|
dh_shlibdeps -Xcgminer
|