Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
Co-authored-by: Mykola Marzhan <[email protected]>
  • Loading branch information
TakoB222 and delgod authored Jan 22, 2024
1 parent bec4d9a commit 2ff00bd
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,19 @@ parts:
>> $CRAFT_PRIME/usr/share/rocks/dpkg.query
# PostgreSQL extensions
pushd "${CRAFT_PRIME}/usr/share/postgresql/14/extension"
ln -f postgis-3.control postgis.control
ln -f address_standardizer-3.control address_standardizer.control
ln -f address_standardizer_data_us-3.control \
address_standardizer_data_us.control
ln -f postgis_raster-3.control postgis_raster.control
ln -f postgis_tiger_geocoder-3.control \
postgis_tiger_geocoder.control
ln -f postgis_topology-3.control postgis_topology.control
ln -f postgis_topology-3.control postgis_topology.control
ln -f postgis-3.control postgis.control
ln -f address_standardizer-3.control address_standardizer.control
ln -f address_standardizer_data_us-3.control \
address_standardizer_data_us.control
ln -f postgis_raster-3.control postgis_raster.control
ln -f postgis_tiger_geocoder-3.control \
postgis_tiger_geocoder.control
ln -f postgis_topology-3.control postgis_topology.control
ln -f postgis_topology-3.control postgis_topology.control
popd
# Required for postgis_raster and pltcl PostgreSQL extensions
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CRAFT_PRIME/usr/lib/ \
$CRAFT_ARCH_TRIPLET/blas:$CRAFT_PRIME/usr/lib/ \
$CRAFT_ARCH_TRIPLET/lapack
$CRAFT_ARCH_TRIPLET/blas:$CRAFT_PRIME/usr/lib/ \
$CRAFT_ARCH_TRIPLET/lapack
export TCL_LIBRARY=$CRAFT_PRIME/usr/share/tcltk/tcl8.6

0 comments on commit 2ff00bd

Please sign in to comment.